• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
360 Max Cairngorm Zamf
 

360 Max Cairngorm Zamf

on

  • 3,989 views

Slides from a presentation at the 360|MAX unconference at MAX 2008 on Cairngorm and Zend AMF

Slides from a presentation at the 360|MAX unconference at MAX 2008 on Cairngorm and Zend AMF

Statistics

Views

Total Views
3,989
Views on SlideShare
3,726
Embed Views
263

Actions

Likes
3
Downloads
81
Comments
0

3 Embeds 263

http://blog.garthdb.com 252
http://www.slideshare.net 10
http://webcache.googleusercontent.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    360 Max Cairngorm Zamf 360 Max Cairngorm Zamf Presentation Transcript

    • CAIRNGORM
&
ZEND
AMF Open Source Flex Enterprise Development
    • ABOUT
ME VegasFlex UGM Interactive Engineer at Vision Airlines Adobe Fanboy Open Source Enthusiast
    • ZEND
AMF
    • 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.
    • AMF
PHP
SOLUTIONS AMFPHP Patrick Mineault/Wade Arnold - Open Source Zend AMF Wade Arnold - Open Source WebORB (.NET, Java, Ruby On Rails, PHP) Midnight Coders - Free SabreAMF Evert Pot - Open Source
    • 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
    • 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
    • SABREAMF PROS CONS Open Source Open Source Low-Level Library No Automatic VO Mapping No Service Browser
    • 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)
    • NEW
NAME
PROPOSAL ZAMF!
    • CAIRNGORM
    • CAIRNGORM
CLARIFICATION Can seem complicated at first DOES NOT HAVE TO BE HARD Oen 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)
    • 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
    • CAIRNGORM
 IN
15
MIN Trust Me. You Can Do It! Don’t Take Notes Hold Questions
    • 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
    • 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
    • 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
    • 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
    • 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
    • CAIRNGORM
+
ZAMF
    • DEMO Using Cairngen in Flex Builder 3 http://blog.garthdb.com/2008/11/setting-up-cairngen-in-flex-builder-3/ SwitchVO VO Converter http://www.garthdb.com/projects/switchvo Hosted ZAMF http://zamf.garthdb.com/bootstrap.php