5. ColdFusion - Do you know what a CFC is? ColdFusion Component Collection of Functions Functions Have “Scope” remote, public, package, and private Remote means accessible to the world remotely through a webservice Remote Access Plain Text WDDX JSON AMF or Flash Remoting 5
6. Flex – Do you know what a remote object is? RemoteObject Remote Server call Uses AMF AMF Client requests data Server converts from server objects to ActionScript objects Server transmits binary objects to requesting client 6
16. Network Only Pros Easy to write Simple Apps Cons Good For Demo apps Proof of Concepts Stale data worse then no data Have to be connected to network No interactivity Take away You just turned your app in to a dumbed down browser
17. Read Only Cache Backend Server has database Mobile App has database User requests data Mobile app presents data from its database Mobile App requests data Mobile App overwrites all its data. 17
20. Read only Cache Pros Moderately easy to write Allows offline access Cons Good For Consumption apps Stop gap app No interactivity Take aways Better then network only Still limited Might be right for your users
21. Synch-able Cache Backend Server has database Mobile App has database User requests/alters data Mobile app presents/alters data from/for its database Mobile App synchs all its data. Mobile app and server manage conflicts 21
22. CF AIR Synch ColdFusion 9 Introduced AIR Offline support You write a sychmanager that matched ISynchmanager interface You include cfair.swc in your Flex 22
25. Synch-able Cache Pros This is a real app Much easier then writing all of that code Cons Good For Real apps So complex to write, simplified version is still complex Code is obscured Take aways Might work for you Still might have to roll your own
You develop with AIR but it creates an apk file that is distributable on any market. It requires the AIR runtime, but makes it easy for someone to get if they need it.