<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Model(Locator), easy way to manage your data</title>
	<link>http://www.nielsbruin.nl/blog/?p=85</link>
	<description>How YOU doin' ?</description>
	<pubDate>Fri, 10 Sep 2010 08:49:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: Niels</title>
		<link>http://www.nielsbruin.nl/blog/?p=85#comment-269</link>
		<dc:creator>Niels</dc:creator>
		<pubDate>Fri, 15 Dec 2006 08:59:46 +0000</pubDate>
		<guid>http://www.nielsbruin.nl/blog/?p=85#comment-269</guid>
		<description>Yes this was a simple example, just to explain the advantages of a Model. But you're totally right that you can implement other features to it like Dictionary and ValueObject. I also refered to the Cairngorm and ARP framework, where some of these features are implemented.

Maybe you can post an article sometimes about an advanced ModelLocator?</description>
		<content:encoded><![CDATA[<p>Yes this was a simple example, just to explain the advantages of a Model. But you&#8217;re totally right that you can implement other features to it like Dictionary and ValueObject. I also refered to the Cairngorm and ARP framework, where some of these features are implemented.</p>
<p>Maybe you can post an article sometimes about an advanced ModelLocator?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerben Robijn</title>
		<link>http://www.nielsbruin.nl/blog/?p=85#comment-268</link>
		<dc:creator>Gerben Robijn</dc:creator>
		<pubDate>Fri, 15 Dec 2006 08:41:52 +0000</pubDate>
		<guid>http://www.nielsbruin.nl/blog/?p=85#comment-268</guid>
		<description>Hey Niels,

You are on the right way with this. And I know this is supposed to be a simple example but I like to add some comment on it.

First thing: I wouldn't set variables in your model. I would have given the Model 2 functions, setData() and getData(). Those functions can fill dictionary in your model. The Dictionary is a handy tool in which you can place attributes under a certain "key".

Second thing I would do is incorparate the valueObjects in the model. So setting and getting the valueObjects goes through the Model. This is handy because a ValueObject is also a storage for data but it is also used in communication with the server. So you can send your ValueObject to a server function simply by getting them through the model.

Hope this is a bit usefull for you.

Good luck!</description>
		<content:encoded><![CDATA[<p>Hey Niels,</p>
<p>You are on the right way with this. And I know this is supposed to be a simple example but I like to add some comment on it.</p>
<p>First thing: I wouldn&#8217;t set variables in your model. I would have given the Model 2 functions, setData() and getData(). Those functions can fill dictionary in your model. The Dictionary is a handy tool in which you can place attributes under a certain &#8220;key&#8221;.</p>
<p>Second thing I would do is incorparate the valueObjects in the model. So setting and getting the valueObjects goes through the Model. This is handy because a ValueObject is also a storage for data but it is also used in communication with the server. So you can send your ValueObject to a server function simply by getting them through the model.</p>
<p>Hope this is a bit usefull for you.</p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
