4. WHY AMF
Much faster communication compared to XML (binary)
ActionScript Serialized
Cheap as Free (Open Source Solutions)
Adobe Systems published the AMF binary data protocol specification on December 13,
2007 and announced that it will support the developer community to make this protocol
available for every major server platform.
6. AMFPHP
PROS CONS
Open Source Open Source
Popular Entry Level Solution
Quick Install
Maps VOs
AMFPHP will be a fantastic fit for
beginner to intermediate developers
-Wade Arnold
7. WEBORB (PHP)
PROS CONS
Support Packages Available Ope Not n Source
Management Console “Sales” - Feel
service browser, code generators
Not as “simple” an install
quot;WebORB is WAY cooler than AFMPHPquot;
-Wade Arnold
8. SABREAMF
PROS CONS
Open Source Open Source
Low-Level Library No Automatic VO
Mapping
No Service Browser
9. ZEND AMF
PROS CONS
Open Source New
Adobe Supported! Terrible Official Name
e Zend Framework with the amf
protocol server implementation using
Rapidly Developed the package Zend_Amf and the class
Zend_Amf_Server.
VO Mapping
No Service Browser
(Future universal service
browser)
12. CAIRNGORM CLARIFICATION
Can seem complicated at first
DOES NOT HAVE TO BE HARD
Oen not well presented for new users.
Not only for large projects
Not only for LiveCycle Data Services
Don’t try to compare to server side MVC (Ruby on Rails,
CakePHP, etc)
13. CAIRNGORM
A lightweight, prescriptive framework for some of the
challenges consistent with the Flex RIAs we have
encountered
Using a small number of relevant design patterns, where the
moving whole is slightly greater than the sum of its static
parts
A microarchitecture for RIA development—a starting
point for your technical architecture that solves the
problems as they have been solved successfully before
15. OBLIGATORY MVC DIAGRAM
Model Data in Model
is bound to View
Central Data
Controller Updates View
Data in model
(CRUD/ GUI
General Mucking of Data)
Controller View dispatches
an event
Logic
16. SIMPLE CAIRNGORM EVENT
Command Messes
Model Data in Model
is bound to View
with Model Data Singleton
Command View
Logic
MXML Components
View Dispatches
Control Event Cairngorm Event
Event/Command Glue Establish Parameters
Event passes data to
Command through Control
17. COMPLIFICATING DIAGRAM
Command Updates Model Data in Model
is bound to View
Model Data Singleton
With Data From
Service Request
Internets Command View
Vague Inaccurate Logic MXML Components
Earth Representation
View Dispatches
Cairngorm Event
Request/CRUD
Delegate Control Event
Handles Web Services Event/Command Glue Establish Parameters
Server Data
Command Event passes data to
Asks Delegate to Command through Control
Get the Service
to Talk to Server
18. RIDICULOUS DIAGRAM
Factory Responder Updates
Convert Data Model Data
O en into VOs With Data From
Service Request
Responder Model Data in Model
is bound to View
Handles Web Results Singleton
Internets
Vague Inaccurate
Earth Representation
View
Sends instance of MXML Components
VO in Request
Delegate View Dispatches
Cairngorm Event
Value Object
Handles Web Services
Command Control Event
Event/Command Glue Establish Parameters
AS Class designed Logic
to handle data
in a speci ed Event passes data to
Command
structure. Command through Control
Asks Delegate to
Get the Service
to Talk to Server
19. CAIRNGORM
COMMANDMENTS
Never change model data from the view.
I don’t care if you can
Use Cairngorm Events for application wide events
Use Naming Conventions
LoginEvent, LoginCommand, LoginDelegate, LoginResponder, LoginVO
Use Reverse DNS Folder Structure
Charge More for Cairngrom Work