30. EVERYTHING
YOU
NEED
! Single
or
Mulm
Module
MVC
Applicamons
! Sinatra
/
Slim
/
expressjs
like
Micro
Applicamons.
! Dependency
Injecmon/Container
! Universal
Auto-‐Loader
! Events
Management
! ORM
–
MySQL
/
PostgreSQL
(#schema)/
SQLite
! ODM
for
Mongo
31. Template
Engine
Volt
! Volt
is
an
ultra-‐fast
and
designer
friendly
templamng
language
wriNen
in
C
for
PHP.
(TWIG
Extension
only
one
method)
! Volt
is
inspired
by
Jinja
(Python)
40. Phalcon
Kernel(2012~)
! hNps://github.com/phalcon/cphalcon/blob/master/ext/kernel/
README.md
Phalcon
Kernel
is
a
meta-‐framework
on
top
of
the
Zend
API
helping
to
create
PHP
extensions
in
an
easier
way
for
a
PHP
developer.
In
order
to
build
a
fast
and
stable
framework,
we
have
created
the
Phalcon
Kernel.
The
use
of
this
API
helps
us
to
write
C
code
in
a
PHP
style.
We
have
developed
a
number
of
funcmons
to
help
the
programmer
to
write
code
more
interoperable
with
PHP
in
a
easier
way.
Phalcon
Kernel
API
is
based
on
the
Zend
API,
but
we
have
added
more
features
to
facilitate
us
the
work.
Phalcon
is
a
very
large
project,
frameworks
need
to
be
developed
and
improved
every
day,
Phalcon
Kernel
API
helps
us
to
write
C
code
that
is
more
stable
and
familiar
to
PHP
developers.
67. Zephir
! Zephir
-‐
Ze(nd
Engine)
Ph(p)
I(nte)r(mediate)
! A
high
level
language
that
eases
the
creamon
and
maintainability
of
extensions
for
PHP.
! Zephir
extensions
are
exported
to
C
code
that
can
be
compiled
and
opmmized
by
major
C
compilers
such
as
gcc/clang/vc++
74. Zephir
features
! Stamc/Dynamic
typing
! Automamc
memory
management
! Produce
object-‐oriented
libraries
that
can
be
used
in
PHP
! Produce
faster
and
beNer
code
that
can
be
compiled
by
most
important
C-‐compilers:
(gcc,
vc++,
clang)
! The
syntax
of
Zephir
is
inspired
by
C,
PHP,
Rust
and
Javascript.
! Make
the
code
more
debugable
??????
(Without
source
map)
75. Basic
! Organizing
Code
in
Files
and
Namespaces
! Every
file
must
contain
a
class
(and
just
one
class).
! Every
class
must
have
a
namespace
! The
directory
structure
must
match
the
names
of
classes
and
namespaces
used.
(
NOT
Follow
PSR-‐0)
89. Is
Zephir
produc0on-‐ready
! No,
it’s
in
a
very
alpha
stage.
! Phalcon
Kernel
is
producmon-‐ready.
! If
you
review
generated
c
sources,
it’s
producmon-‐ready.
! Keep
Zephir
in
mind.