|
FlexStore
Sample RIA: Adobe Flex Store
IntroductionThe FlexBuilder 2 Installer from Macromedia installed a sample application called the Flex Store. The FlexStore was provided to the community to demonstrate rich-client application concepts that offered online by using UI components, filters, effects, transitions, view states, etc. The FlexStore displays 3 screens of content: Home, Products, Support. The Products screen dynamically loads an xml catalog file with data for available mobile phones. In the Product screen (shown above), users can interactively:
The FlexStore is quite amazing in the plethora of features that it demonstrates in a sample application. Developers can explore the source code to discover techniques and solutions that can be applied to their own custom applications. IssuesUnfortunately the original FlexStore suffers from 4 significant problems:
With these considerations, it is obvious that the FlexStore is not an example of code that would be used to create a production or enterprise application. This application (in its original state) would be a nightmare to enhance or reuse. SolutionTo remove the above issues, The FlexStore application desperately needed its components separated into an MVC architecture. Java uses Struts or Swing, ColdFusion uses Mach-ii or Model-Glue. Flex uses the Adobe Cairngorm MVC framework. Below are links to the versions of the FlexStore with and without Cairngorm MVC. Developers are encouraged to download all versions below and compare the changes between the architectures, components, data structures, and couplings.
Note: the above FlexStore links include the FlexBuilder project files. These project files require FlexBuilder 3 and include the Cairngorm 2.2.1 flex library (.swc). Developers will notice that the visual aspects have not changed at all. Only the code under the hood has changed. Component relationships, use of events, and code partitioning have all been significant improved. Developers are encouraged to use the directory and file comparison tool BeyondCompare to compare the different versions of the FlexStore. Comparing the changes will be the primary method that developers can learn about the changes and non-visual enhancements to the FlexStore. |
Sign in to add a comment
When could we expect a sample for Flex Store using Cairngorm Extensions ?
Hey everyone,
Thank you Jay
Fixed download link to the FlexStore (w/ Cairngorm MVC)
somebody have the code for flex builder 3?
/
if (subController is ModuleController?) return false???????????????????????
One thing that doesn't work any longer is the filtering based on features triband-video-camera. Clicking the check-boxes has no effect. Also - all items shows all three features regardless what is specified in the catalog.xml. How can this be fixed?
Any updates on this project or a working flexstore application?
ya i need an example with a delegate that uses the UM ext
To fix filtering problem with triband video mentioned above:
ProductXMLUtils.as
product.triband = (it.triband == "true") ; product.camera = (it.camera == "true") ; product.video = (it.video == "true") ;
TypeError?: Error #1009: Cannot access a property or method of a null object reference.