Macromedia Flex Macromedia Flex
Learning Cairngorm (Part 5)

Nov 06, 2007 - Learning Cairngorm (Part 5)
how Cairngorm handles remote data calls

There are three ways to get data from within Flex. You can use an HTTPService, a WebService, or a RemoteObject. Based on their names, it is probably pretty obvious what each tag does (Right?). My preferred method is RemoteObject because it ties into ColdFusion so nicely, but I've also done some work with HTTPService for integrating with remote systems beyond my control. Cairngorm uses a ServiceLocator to help you find services. This is, conceptually, not much different than a Model Locator. It is a singleton class that allows you to store your services in a central location, and access them anywhere from the application.

**** Click To View The Attached File - Learning Cairngorm (Part 5)

File Details
Created On Nov, 06, 2007 by Tariq Ahmed
Last Modified On Nov, 07, 2007 by Tariq Ahmed
Group: Tips and Articles
Flex Versions: 2.0
Category: Cairngorm
Type: Complete Lesson
Difficulty: Advanced