Groady
|
![](http://forums.puremvc.org/Themes/PureMVC/images/post/xx.gif.pagespeed.ce.G0yTW6LI8E.gif) |
« on: August 19, 2009, 06:56:50 » |
|
I'm wondering what is the 'best practice' for handling value objects in an application, specifically where they should be stored.
In the past I have kept value objects inside a directory named vo under my model directory (model/vo/). This makes sense to me as VO's are used to transport data from the model to somewhere else in the application.
However I have a situation where I have one mediator which passes some 'view state' information as a VO to another mediator via a notification. Since this state data doesn't pass through the model tier should I create a separate vo directory under the view directory (view/vo/)? Or is it OK to simply continue using the currently structure of keeping all VO's in the model (model/vo/)?
|