How ColdFusion Fits into Flash Applications
I like to think of remote services (services provided by a computer other than the computer the client is running on) as extensions of the client. In fact, once you get used to incorporating a server-side aspect to your Flash applications—and especially once you have a library of reusable services in place—it is difficult to think of application development without integrating server-side functionality.
Writing services in ColdFusion provides some nice options to Flash application developers. ColdFusion is simple enough to allow the Flash developer to also write the remote services that his application needs. Alternatively, projects can be organized to create more of a division between remote services and the client code that uses them. One team of developers can provide various remote services, such as database interaction or email capability, while another team builds the front end of the application that makes use of those services.
Regardless of who on the team does the work, you should divide your application or set of services into presentation logic and business logic. Business logic is the rules and workflow that model your enterprise. Code that handles account creation or credit card transactions is an example of business logic. Presentation logic is the portion of your application that presents data to the user and allows for interactivity. Code that allows users to drag items into a shopping cart or display error messages ...
Get Flash Remoting: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.