topleft

PureMVC

larger smaller reset larger Futurescale, Inc.
  • fixed-width
  • fluid-width
  • Home
  • About
  • Code
  • Docs
  • FAQ
  • Forums
  • News
  • Showcase
  • Contact
  • Jobs
topright
Demo_AS3_Flex_CafeTownsend
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Browse Source

Context Navigation

  • Start Page
  • Index
  • History
  • Last Change

TracNav

  •  PureMVC Manifold...

  •  Contributors
  •  Repositories
  • Ports...

  •  ActionScript 2
  • ActionScript 3
  •  C #
  •  ColdFusion
  •  Haxe
  •  Java
  •  JavaScript
  •  Objective C
  •  PHP
  •  Python
  •  Ruby
  •  Propose a Port

TracNav

  • AS3 Standard :  Cafe Townsend ...

  • Downloads
  • Installation
  • Release Notes
  •  Live Demo
  •  View Source
  •  Discussion
  • Project Owner...

  •  Michael Ramirez

Demo - Flex / Cafe Townsend

This demo was  originally written for Cairngorm, another framework for Flex. It illustrates the handling of routine maintenance tasks on the client.

Techniques Illustrated

  • How to quickly re-implement a Cairngorm-based solution in PureMVC
  • Use of a Business Delegate class in PureMVC, with a Proxy as the responder rather than a Command.
  • How to do perform routine maintenance tasks on the client

Discussion

  • Versions 1.0 and 1.1 - To learn the differences between PureMVC and Cairngorm, Michael ported the Cairngorm 'CafeTownsend' demo. In converting it over, he made it easy for those familiar to Cairngorm to understand PureMVC by packaging everything in a Cairngorm-familiar way. It was later migrated to work with PureMVC 2.0. This version is in the repository under tags/CafeTownsend_1_1.
  • Version 1.2 - For much of the time that the original demo was available, the differences in the packaging from the normal PureMVC-style packaging threw off a lot of people who didn't know or care about Cairngorm packaging. This made it confusing to them to figure out what the recommended packaging was, and so version 1.2 (in the repository under tags/CafeTownsend_1_2) has been refactored to the recommended PureMVC pacakging structure. Essentially this means moving the business and vo packages under the model folder, leaving model, view and controller folders at the main application node of the package structure.
  • Version 1.3 - Updated to 2.0.1 release of PureMVC

If you browse the repository, you can compare and contrast the two structures, and see how you would port a Cairngorm app, not just to work with PureMVC, but into the expected package structure that other PureMVC developers will expect. As they say, when in Rome, do as the Romans do.

Download in other formats:

  • Plain Text

Trac Powered

Powered by Trac 0.11.6
By Edgewall Software.

Powered by the Subversion, Trac & Bugzilla Hosting Experts, Codesion.com

Copyright © 2006-2008 Futurescale, Inc.