<?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: DTOs, Data Contacts and code generation</title>
	<atom:link href="http://www.mindscapehq.com/blog/index.php/2009/01/28/dtos-data-contacts-and-code-generation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mindscapehq.com/blog/index.php/2009/01/28/dtos-data-contacts-and-code-generation/</link>
	<description>The official blog of Mindscape</description>
	<lastBuildDate>Sun, 13 May 2012 21:07:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: CSA</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/01/28/dtos-data-contacts-and-code-generation/comment-page-1/#comment-28919</link>
		<dc:creator>CSA</dc:creator>
		<pubDate>Tue, 03 Feb 2009 17:52:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=457#comment-28919</guid>
		<description>Brilliant!</description>
		<content:encoded><![CDATA[<p>Brilliant!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan Towlson</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/01/28/dtos-data-contacts-and-code-generation/comment-page-1/#comment-28831</link>
		<dc:creator>Ivan Towlson</dc:creator>
		<pubDate>Mon, 02 Feb 2009 01:06:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=457#comment-28831</guid>
		<description>Hi Donovan,

Just to let you know that the inheritance issue will be addressed in LightSpeed 2.2, which should be out very soon.</description>
		<content:encoded><![CDATA[<p>Hi Donovan,</p>
<p>Just to let you know that the inheritance issue will be addressed in LightSpeed 2.2, which should be out very soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John-Daniel Trask</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/01/28/dtos-data-contacts-and-code-generation/comment-page-1/#comment-28784</link>
		<dc:creator>John-Daniel Trask</dc:creator>
		<pubDate>Fri, 30 Jan 2009 21:52:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=457#comment-28784</guid>
		<description>Hi Donovan,

Thanks for your feedback! We will be making significant enhancements to LightSpeed&#039;s code generation and distributed features (DTOs, WCF support etc) in LightSpeed 3.0 which we begin development on next week. This feedback will likely directly result in enhancements that you&#039;re asked for here.

This features was added fairly quickly to address a request that an existing customer had and we thought it was a good start. It is just that though - a start :-)

The templates use NVelocity for the templating engine - there is documentation floating around regarding this online. We&#039;ll be improving our guidance around working with the templates in the future as we continue to move down the code-generation road. Do feel free to hack around with them but do back them up so you don&#039;t accidentally revert them when you install a newer version of LightSpeed.</description>
		<content:encoded><![CDATA[<p>Hi Donovan,</p>
<p>Thanks for your feedback! We will be making significant enhancements to LightSpeed&#8217;s code generation and distributed features (DTOs, WCF support etc) in LightSpeed 3.0 which we begin development on next week. This feedback will likely directly result in enhancements that you&#8217;re asked for here.</p>
<p>This features was added fairly quickly to address a request that an existing customer had and we thought it was a good start. It is just that though &#8211; a start :-)</p>
<p>The templates use NVelocity for the templating engine &#8211; there is documentation floating around regarding this online. We&#8217;ll be improving our guidance around working with the templates in the future as we continue to move down the code-generation road. Do feel free to hack around with them but do back them up so you don&#8217;t accidentally revert them when you install a newer version of LightSpeed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Donovan Hide</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/01/28/dtos-data-contacts-and-code-generation/comment-page-1/#comment-28780</link>
		<dc:creator>Donovan Hide</dc:creator>
		<pubDate>Fri, 30 Jan 2009 17:11:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=457#comment-28780</guid>
		<description>Tested it out a little bit! Would be good if inherited properties from the base type were also include in the code generation. Eg. Event.HelpText is include in the AskingPriceEvent DTO.

Another idea would be flattening out related entities&#039; properties to a certain specified depth. This could get complicated but would be very useful. Some inspiration from here maybe?

http://structuremap.sourceforge.net/Generics.htm

Tried manually editing the DataContracts.vm, but don&#039;t want to reverse engineer your templating language! Is it NHaml-derived by any chance?</description>
		<content:encoded><![CDATA[<p>Tested it out a little bit! Would be good if inherited properties from the base type were also include in the code generation. Eg. Event.HelpText is include in the AskingPriceEvent DTO.</p>
<p>Another idea would be flattening out related entities&#8217; properties to a certain specified depth. This could get complicated but would be very useful. Some inspiration from here maybe?</p>
<p><a href="http://structuremap.sourceforge.net/Generics.htm" rel="nofollow">http://structuremap.sourceforge.net/Generics.htm</a></p>
<p>Tried manually editing the DataContracts.vm, but don&#8217;t want to reverse engineer your templating language! Is it NHaml-derived by any chance?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Donovan Hide</title>
		<link>http://www.mindscapehq.com/blog/index.php/2009/01/28/dtos-data-contacts-and-code-generation/comment-page-1/#comment-28774</link>
		<dc:creator>Donovan Hide</dc:creator>
		<pubDate>Fri, 30 Jan 2009 14:59:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.mindscape.co.nz/blog/?p=457#comment-28774</guid>
		<description>Hi, 
this will be a good timesaver and give finer grained control by including rather than excluding properties essential for serialization, which XmlIgnore (and ScriptIgnore) sufferred from a lack of. Will it be possible to include generated fields like LockVersion and ID, which would be essential in allowing serialized entities to be updated remotely and then reattached to a Unit Of Work? Would be nice to see a working sample where JSON is used as the transmission format, perhaps even using JSON.NET rather than WCF. 
Cheers,
Donovan.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
this will be a good timesaver and give finer grained control by including rather than excluding properties essential for serialization, which XmlIgnore (and ScriptIgnore) sufferred from a lack of. Will it be possible to include generated fields like LockVersion and ID, which would be essential in allowing serialized entities to be updated remotely and then reattached to a Unit Of Work? Would be nice to see a working sample where JSON is used as the transmission format, perhaps even using JSON.NET rather than WCF.<br />
Cheers,<br />
Donovan.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic (Requested URI is rejected)
Database Caching 3/15 queries in 0.009 seconds using disk: basic
Content Delivery Network via cdn.mindscapehq.com

Served from: www.mindscapehq.com @ 2012-05-21 03:56:56 -->
