36. Events
Manager
! Web
GUI
程式中,我們大量使用 Events 。
! DOM
Events
! Events
Manager
-‐
fire
event
,
aHach
listener
! Event
Type
Using
colon
:
as
namespace
separator.
37. DEMO
! Using
Class
Loader
/
Dependency
InjecWon
/
Events
Manager
for
plugin-‐able
applicaWons.
! Linux
Upstart
init
daemon
like
demo
hHp://upstart.ubuntu.com/
(replacement
for
the
venerable
System-‐V
init)
! Shopping-‐Cart
Plugin-‐able
PromoWons
.
38. Micro
Framework
! Simple
and
ResTul
! Frameworks
! RubyàSinatra,
Cuba
! PythonàFlask,
Pyramid
! PHP
àSilex,
Slim
! Java
àNapalm
48. Models
-‐
Criteria
! Similar
To
! Doctrine
QueryBuilder
! Yii
Query
Object
! Provides
a
fluent
API.
49. PHQL
! Similar
To
! Doctrine
DQL
! Hibernate
HQL
! Phalcon
Query
Language
is
a
high
level,
object
oriented
SQL
dialect.
! High
performance,
Phalcon
provides
a
parser
that
uses
the
same
technology
as
SQLite.
(lemon
parser)
hHp://www.sqlite.org/src/doc/trunk/doc/lemon.html