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

Pages: [1]
Print
Author Topic: Package structure  (Read 7944 times)
Peter
Full Member
***
Posts: 26


View Profile Email
« 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...)?
Logged
Peter
Full Member
***
Posts: 26


View Profile Email
« Reply #1 on: October 27, 2007, 02:10:23 »

Ah, I should look in the CodePeek example...
Logged
Pages: [1]
Print