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 / Getting Started / Re: What should I mediate? on: February 02, 2009, 02:41:55
You don't really need to proxy your remote SERVICE as much as your data model. So, from ZendAMF you are retrieving a list of Widget objects. On the Flex side, you might want a WidgetListProxy that holds an ArrayCollection of all your widgets. In addition, you may want to create individual WidgetProxy objects for each WidgetVO.

Thanks for your reply Joel.

So, best to keep all remoteObjects in a single Proxy?

I thought PureMVC recommended coupling each remoteObject with its own Proxy... Not that I see a reason why. Then again, I wouldn't be asking these question ;)
2  Announcements and General Discussion / Getting Started / What should I mediate? on: February 02, 2009, 11:38:54
Hi all,

First time user of PureMVC, I've just succeeded in getting Zend_Amf to work with a test Flex project.

I'm building an application in which, datagrid are loaded within tabNavigators.  There are 2-3 tabNavigators, so there can be multiple datagrids showing at the same time (the selection in one will affect the dataProvider for the others).
Example: Selecting a row in datagrid1 (in tabNavigator1) will update the tabNavigator2.  Once tabNavigator2 is updated, the user will select a tab and datagrid2 will be displayed with informaion pertaining to the selected row in datagrid1.

What should I be creating Proxies and Mediators for exactly?  Should each datagrid have its own Mediator?  Same for the tabNavigators?  Should I only create Mediators for the tabNavigators?  Should I create Proxies based on the PHP service I'll be calling? (ie: one Proxy for each remote service?)

Sorry for the very noobish question, but I can't seem to get my head around what level the PureMVC is supposed to tie to.

3  Announcements and General Discussion / Getting Started / Re: Courseware on: November 26, 2008, 02:24:11
Hi everyone,

I'm absolutely new to PureMVC and have read the Best Practice doc.

Everywhere I go, users refer to CourseWare as being the "bibles" of PMVC and the best docs to learn from.  Not having them due to version change means that anyone new to PMVC can't really do much as the tutorials and demos out there offer a very steap learning curve.  :-\

Where can I go to start getting my head around this framework?

Pages: [1]