Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Show Posts

| * |

  Show Posts
Pages: [1]
1  Announcements and General Discussion / Architecture / Pipes and the StateMachine Walkthrough on: May 18, 2009, 01:44:52
http://joelhooks.com/2009/05/18/piping-the-machine-puremvc-multicore-with-pipes-and-the-finite-state-machine-fsm/

I took the Sea of Arrows player and deconstructed the elements to create this walkthrough of the process of combining Multicore PureMVC, Pipes, and the StateMachine in an application.
2  PureMVC Manifold / Standard Version / I spent the weekend using this port... on: April 19, 2009, 08:41:46
This is the first time I've actually used one of the PureMVC ports, and I have to say it is awesome to drop into a language that I have less confidence with and get some sense of instant familiarity.

Thanks for porting PureMVC to Obj-C. It has made me very happy.

Cheers!
3  Announcements and General Discussion / Architecture / ValueObject with an update() method on: October 01, 2008, 06:54:57
I've put an update method on my ValueObjects in my current project. It takes an object of the same type as an argument, checks against the UID, and replaces all of the other values if the UID is a match. It seems really handy when I am updating objects from forms and whatnot, but I wam wondering, is this just bad form? It makes me feel a little dirty ;)
4  Announcements and General Discussion / Architecture / Shared core across multiple applications on: September 27, 2008, 10:01:14
I am building a toolset that consists of a web frontend and a management utility for the owner to update the web front end and do various tasks. The web bit is Flex and the admin tool is an AIR application. Obviously they share a common data model, and this is the exact use I believe PureMVC is built for.

Right now I am 'planning' on using the core bits as a shared library, but I am wondering if this would be a good place to use a module. I don't know how to really go about it though, the application shell loads the core module, and then loads the appropriate view module? Would I have a base view module that first loads the core and then initiates itself after it receives a particular notification? Or is it better to just keep a library project and use the shared SWC?

I suppose it is all the same thing when it gets down to it, eh?
5  Announcements and General Discussion / Architecture / Integrating Adobe AIR, Cairngorm, PureMVC, LiveCycle Data Services , Hibernate on: August 18, 2008, 08:33:20
I've written up my experience with combining these technologies. I really like Hibernate/LCDS. I've used the Cairngorm ServiceLocator, but the rest of the demonstration is PureMVC.

6  Announcements and General Discussion / Public Demos, Tools and Applications / VE:Session - PureMVC Photo Studio Managment on: April 11, 2008, 09:48:26
I am working on an application for our photography studio that manages appointments and allows for client proofing and ordering. My 'proof of concept' is done, but I am going to rewrite it using the Multicore PMVC to allow for modules/plugins.

http://vesession.com

It is n OSS project, link to the Google Code project is on the site as well as a working demo login to the live version that we are using right now.
7  Announcements and General Discussion / Public Demos, Tools and Applications / Renju - Flex board game built with the PureMVC framework. on: March 25, 2008, 02:03:25
I hadn't seen this before, but this seems like the appropriate spot for it.

Renju is a polished Flex board game utilizing PureMVC. Full source is available.

http://actionscriptnotes.com/blog/2008/03/10/renju-the-game/
8  Announcements and General Discussion / General Discussion / 5 reasons PureMVC kicks ass on: March 14, 2008, 11:35:06
[cross posted from this blog post]
I'm a PureMVC fan boy. There is no denying it. Here's a few reasons why:

Simplicity
There are a few MVC frameworks available for Actionscript 3. None of them are, well... as pure. PureMVC is simple by design. It doesn't provide you with a lot of bells and whistles. What it does is provide a solid foundation upon which to add your own functionality in limitless ways. The framework itself is simple. 'Make it as simple as possible, but no simpler,' said Albert Einstein. This is one of the core goals of PureMVC.

Community

The PureMVC community is growing. The Architect's Lounge has high signal to noise ratio. Cliff makes a super human effort to personally answer every question that is posted. Among the helpful community members is Chandima Cumaranatunge, the co-author of a book that anybody interested in OO Actionscript should own, Actionscript 3 Design Patterns.

Cliff has created the PureMVC Manifold Project, which provides a well crafted central location for official PureMVC releases, and a host of ports, demos, and utilities developed by the community. This wealth of information provides a high quality code base to use and learn from.

Reusability
As you can see by poking around the Manifold Project, there are a lot of utilities and modules already available. The basic structure of a PureMVC project naturally lends itself to the creation of common classes that can be reused across many projects. Major components just don't really care who is sitting beside them. They happily wait for their notifications and respond without considering their neighbors. In some circles this would be considered rude, but in a PureMVC application this gives a wonderful, loosely couple application that can be refactored and recycled.

Portability
The port to Python is done!  PureMVC is on Flex, Flash, AIR, FlashLite, Python, .NET, Windows Mobile, Silverlight, J2ME, SE, EE, JavaFX, PHP and ColdFusion. This speaks to the simplicity of the framework. It is so fundamental, that most of the ports were just straight translation.

Cliff
Cliff is samurai. He is the benevolent, tireless dictator that any flowering project needs. He is actively engaged with the community. On a daily basis he is on the forums answering questions. The structuring of the ever-expanding pile of resources and information into something useful is daunting task. There it is with the Manifold Project. It is inspiring to see someone so passionate about what they do, and channeling that passion back at anyone interested in learning.

Thanks Cliff, your efforts are greatly appreciated.

I'd love to hear why other people dig PureMVC.
9  Announcements and General Discussion / General Discussion / Registering sub-component mediators on: February 26, 2008, 04:00:50
I am having the worst time with this, and I was wondering how you approach this problem.

I have a main component, a SuperTabNavigator tab that opens various tab panels. The tab panels have sub-tab panels, another nested tab panel with a viewstack for its components. I want/need to mediate the sub-components, but when I use FlexEvent.CREATION_COMPLETE it seems to like to pick up events from other tabs if the user doesn't open the tab right away.

Is this a place where a MacroCommand is appropriate (this just occurred to me)? It is giving me a migraine ;)
10  Announcements and General Discussion / General Discussion / Design Patterns Cheat Sheet on: January 30, 2008, 01:46:00
http://www.mcdonaldland.info/2007/11/28/40/

I thought this was cool, and might be useful for others here.
11  Announcements and General Discussion / General Discussion / Unit Tests for my pureMVC proxies with asyncronous data. on: January 20, 2008, 01:55:51
I want to unit test my pureMVC application as much as possible, but I am having some problems conceptualizing the process.

I have several remote service data proxies. These contain various methods for other proxies, mediators, and commands to format their foreign key data ect. I'm trying to figure out how exactly to unit test this, because I feel like I should test off of 'generic' and/or arbitrary data instead of the live data from my server. When my service proxies are instantiated they fire off a remote method to fill the data property of the proxy with an array of data from the server.

So now I am sitting here staring at my FlexUnit class, and wondering how the heck I am supposed to do this. Perhaps this is too general without knowledge of my classes, or does this make sense? Any help would be greatly appreciated.

Cheers.

Joel
12  Announcements and General Discussion / General Discussion / pureMVC Calendar [Flex/AIR] on: January 09, 2008, 04:03:53
So we need a calendering component for our application. The flex Scheduling Framework looks like it has been dropped like a rock, in hopes that somebody in the community will pick it up, but that isn't me. I need something more along the lines of an Outlook calendar.

Quietly Scheming has a very nice looking calendar, that seems like it'd make a nice base. The code is messy and mostly uncommented, but it is easy enough to grasp once you dig in. Jove at flex-flex has made some nice additions to the component, but it is still a static thing, with no way to really add any data (that sticks).

So, what I want to do is leverage some of this work and incorporate it into my pureMVC application in some fashion. I'd like to avoid wedging it in, but I don't know exactly how to start. I was considering stripping it down and rebuilding it as its own pureMVC app. It seems like it would be a good candidate for a more structured MVC paradigm. Or, I was going to treat it as a separate component and somehow integrate it into my existing application.

Any thoughts?
13  Announcements and General Discussion / Architecture / Proxies and Data Binding on: January 04, 2008, 02:25:51
I have a couple of things I am trying to get my head around.

My first pureMVC application had 3 proxies. One of them I named DataProxy, and it was the place that held ALL of my remote services. That was fine, for awhile, but then it got seriously complex and hard to find anything I wanted. So now I am dividing up each model (dbase table) into it's own proxy class. How do you guys do this? One proxy to rule them all, individual proxies, or a mix?

I also had a question regarding data binding. This is Flex specific. My data is updated every couple of minutes from the server. I use the [Bindable] metatag, but it doesn't seem to have an effect and you can't use it on the data object or getData() anyway. What is the preferred method for updating a datagrid, or any other container with a dataProvider property?
Pages: [1]