<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Do DDD Repositories and Flex make sense?</title>
	<atom:link href="http://www.herrodius.com/blog/135/feed" rel="self" type="application/rss+xml" />
	<link>http://www.herrodius.com/blog/135</link>
	<description>Thoughts from a software developer</description>
	<lastBuildDate>Wed, 10 Mar 2010 12:47:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Christophe</title>
		<link>http://www.herrodius.com/blog/135/comment-page-1#comment-14370</link>
		<dc:creator>Christophe</dc:creator>
		<pubDate>Tue, 09 Mar 2010 18:54:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/135#comment-14370</guid>
		<description>@Daniel: I&#039;ve experimented a bit further with this and implemented some repositories with the Operation API we have in Spring ActionScript. I wrote some details about that API here: http://www.herrodius.com/blog/284</description>
		<content:encoded><![CDATA[<p>@Daniel: I&#8217;ve experimented a bit further with this and implemented some repositories with the Operation API we have in Spring ActionScript. I wrote some details about that API here: <a href="http://www.herrodius.com/blog/284" rel="nofollow">http://www.herrodius.com/blog/284</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Harfleet</title>
		<link>http://www.herrodius.com/blog/135/comment-page-1#comment-14360</link>
		<dc:creator>Daniel Harfleet</dc:creator>
		<pubDate>Mon, 08 Mar 2010 14:19:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/135#comment-14360</guid>
		<description>Christophe,

maybe you could use some kind of Proxy pattern and just have the view display a placeholder, a bit like data management (Flex/LCDS) or FilePromises (AIR 2) do ?</description>
		<content:encoded><![CDATA[<p>Christophe,</p>
<p>maybe you could use some kind of Proxy pattern and just have the view display a placeholder, a bit like data management (Flex/LCDS) or FilePromises (AIR 2) do ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ole Christian Langfjæran</title>
		<link>http://www.herrodius.com/blog/135/comment-page-1#comment-13928</link>
		<dc:creator>Ole Christian Langfjæran</dc:creator>
		<pubDate>Tue, 05 May 2009 14:00:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/135#comment-13928</guid>
		<description>I&#039;ve also tried to clutter my small brain around this topic, and the asynchroness of it all makes it a grim task I think.

I tried it on some pretty small code where the domain object was able to persist itself. Asynchronosly of course. The thing I ended up doing was that the repository method save had an optional parameter where I could inject a function which should be called after the repository had done it&#039;s bit. The various views could then inject handler-functions for when the domain-object was persisted.

Not the prettiest of sights, but it worked well enough :)</description>
		<content:encoded><![CDATA[<p>I&#8217;ve also tried to clutter my small brain around this topic, and the asynchroness of it all makes it a grim task I think.</p>
<p>I tried it on some pretty small code where the domain object was able to persist itself. Asynchronosly of course. The thing I ended up doing was that the repository method save had an optional parameter where I could inject a function which should be called after the repository had done it&#8217;s bit. The various views could then inject handler-functions for when the domain-object was persisted.</p>
<p>Not the prettiest of sights, but it worked well enough <img src='http://www.herrodius.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christophe</title>
		<link>http://www.herrodius.com/blog/135/comment-page-1#comment-13169</link>
		<dc:creator>Christophe</dc:creator>
		<pubDate>Thu, 06 Mar 2008 06:32:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/135#comment-13169</guid>
		<description>@Tony: Indeed, the only thing we could do is allow the repository to handle async requests and give it an api that is able to work with AsyncToken and IResponder.

@EECOLOR: Having a thread model in the Flash player would certainly be useful for such scenarios. I wonder if the player team has been thinking about adding threading support.</description>
		<content:encoded><![CDATA[<p>@Tony: Indeed, the only thing we could do is allow the repository to handle async requests and give it an api that is able to work with AsyncToken and IResponder.</p>
<p>@EECOLOR: Having a thread model in the Flash player would certainly be useful for such scenarios. I wonder if the player team has been thinking about adding threading support.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EECOLOR</title>
		<link>http://www.herrodius.com/blog/135/comment-page-1#comment-13168</link>
		<dc:creator>EECOLOR</dc:creator>
		<pubDate>Wed, 05 Mar 2008 20:38:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/135#comment-13168</guid>
		<description>&quot;if it would even be possible&quot;

Yes, it is possible, but results in locking up your system aswell. The Flash player tends to do things as fast as it can. Until we have some kind of a thread model and are able to do infinit loops without crashing the player we will not be able to turn async. into symc.


Greetz Erik</description>
		<content:encoded><![CDATA[<p>&#8220;if it would even be possible&#8221;</p>
<p>Yes, it is possible, but results in locking up your system aswell. The Flash player tends to do things as fast as it can. Until we have some kind of a thread model and are able to do infinit loops without crashing the player we will not be able to turn async. into symc.</p>
<p>Greetz Erik</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Hillerson</title>
		<link>http://www.herrodius.com/blog/135/comment-page-1#comment-13162</link>
		<dc:creator>Tony Hillerson</dc:creator>
		<pubDate>Wed, 05 Mar 2008 15:53:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.herrodius.com/blog/135#comment-13162</guid>
		<description>I may be really naive here, but it seems like the asynchronous nature of AS shouldn&#039;t be a problem, as long as you make an allowance for a slight shift in the technical details of implementing a repository.

If, as I&#039;m assuming, dealing with a repository is all about  requesting the persistence of changes to domain objects or requesting the objects themselves, can&#039;t we use a Responder pattern and binding just as with classic service calls? The view doesn&#039;t need to know anything more, it just uses binding to keep up to date with changes to objects.

Again, I&#039;m not familiar with all the requirements of DDD, so I may be missing something fundamental.</description>
		<content:encoded><![CDATA[<p>I may be really naive here, but it seems like the asynchronous nature of AS shouldn&#8217;t be a problem, as long as you make an allowance for a slight shift in the technical details of implementing a repository.</p>
<p>If, as I&#8217;m assuming, dealing with a repository is all about  requesting the persistence of changes to domain objects or requesting the objects themselves, can&#8217;t we use a Responder pattern and binding just as with classic service calls? The view doesn&#8217;t need to know anything more, it just uses binding to keep up to date with changes to objects.</p>
<p>Again, I&#8217;m not familiar with all the requirements of DDD, so I may be missing something fundamental.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
