Archive for 'PureMVC'
Pipes Source Code
17 October 2008I’ve been heads down in development the past few months. During that time I’ve had numerous requests for the full source on the dynamically loaded modules ‘Pipes’ demo,MortgageApp.
I *finally* had time to upload that source, simply use the ‘View Source’ on the demo to view the source.
I’ve implemented a few enterprise RIAs using PureMVC […]
Pipe Demo: Mortgage App
17 June 2008I’ve posted a pipes version of the mortgage app.
Things to note:
You can load / unload the modules dynamically.
A junction mediator is defined for each ‘player.’ In the mortgage app context that’s a mediator for the application itself, the Acme widget and the Foo widget.
ApplicationJunctionMediator
ModuleJunctionMediator (Acme)
ModuleJunctionMediator (Foo)
To make our lives easier when it comes […]
Understanding PureMVC Pipes
15 June 2008Disclaimer: This a bit of a longer post!!
The pipes utility is newer to PureMVC and as such, I’ve seen questions on the blogosphere regarding it’s use.
The plumbing metaphor should help wrap you head around this utility and it’s use. Keep in mind that a pipe allows for one-way message flow.
So let’s […]
Pipe Architecture
13 June 2008Here’s a working architecture for modular applications utilizing PureMVC pipes.
This allows you to have modules that load modules that load modules, etc. The modules communicate to each other via Pipes.
The sample diagram illustrates a parent, child, grandchild relationship (An app that loads a module that loads module). You can of […]
PureMVC Pipes
12 June 2008I had a chance to work with Cliff Hall’s PureMVC ‘Pipes’ utility this week. Highly recommended.
If your interested in utilizing modules in your PureMVC projects, you owe it to yourself to take a look at the Pipes utility.
What’s needed to integrate a module?
The requirements are very light. You module should:
Implement IPipeAware
Create a JunctionMediator.
Thats […]
PureMVC + Lazily [late] Instantiated Components
6 June 2008One small caveat when working with PureMVC - If your [view] component is defined at design time, but not created at application startup you’ll need to defer the
facade.registerMediator( )
This might happen, for example, when your component resides in a viewstack.
A simple work around is to dispatch an event (make sure it bubbles) on the […]
AS3 PureMVC Dynamic Modules
24 May 2008Okay, I’ve had some questions on refactoring my PureMVC dynamic modules classes to support AS3 projects (i.e. no flex).
I’ve posted a sample app that does just that.
I threw this together off the cuff, so don’t expect too much
The app (10K) simply loads 6 modules dynamically, 3 “RedTint” modules and 3 “GreenTint” […]
Dynamic Modules … General Tips
21 May 2008Okay, for those of you getting ready to work with dynamic modules, I thought I’d share a few minor points I picked up on this past week.
Your application must include a reference to any interfaces the module implements.
<mx:Moudule implements”com.company.project.SomeInterface”>
You’d want a reference to com.company.project.SomeInterface in your main app.
Likewise if the module has subclassed Module
public class […]
Dynamic Flex Modules with PureMVC
19 May 2008I’m rolling out a large project, and I wanted to utilize dynamic modules for scalability.
For those who aren’t familiar will modules, basically, there a great way to encapsulate “pieces” of your application. A trivial example would be a small ’shell application’ that once the user logs in, loaded the appropriate use-case module. […]
And the framework is …
4 January 2008 We’ll after studying Cairngorm and PureMVC for the past day or so I’ve decided to adopt PureMVC for my next Flex project.
Cairngorm had the scalability and robustness I was after but end the I went with the underdog. The best thing Cairngorm has going for it is the Adobe Machine and thus […]
Flex Architecture Frameworks
3 January 2008I’m gearing up to start some medium scale enterprise projects and thought I’d look up this “Cairngorm” thing I heard talked about at the MAX conference in Chicago. The developers either loved or hated it, so I figured I should check it out. Basically Cairngorm is a design pattern framework for flex, an architect’s […]









