PureMVC Architects Lounge

Announcements and General Discussion => Getting Started => Topic started by: Peter on October 27, 2007, 12:58:02



Title: Package structure
Post by: Peter on October 27, 2007, 12:58:02
I am wondering about best practice when it comes to object models. Normally I would work with an om package that usually holds a (generic) object model for a viewitem. This viewitem holds data like text for headings, body text, assets to load etc, loaded using xml. If applicable I would create collections of these viewitems.
What is considered good practice? Does the Proxy just gets the data and do I use an om package for object models? Or, does my remote proxy - ContentProxy - retrieves the xml data and then uses a 'ViewItemProxy' to parse the data (which I guess would resemble the approach in the HelloFlash example...)?


Title: Re: Package structure
Post by: Peter on October 27, 2007, 02:10:23
Ah, I should look in the CodePeek example...