<?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: Visual Studio 2005 Add-Ins and Tools That I Use</title>
	<atom:link href="http://ellisweb.net/2006/12/visual-studio-2005-add-ins-and-tools-that-i-use/feed/" rel="self" type="application/rss+xml" />
	<link>http://ellisweb.net/2006/12/visual-studio-2005-add-ins-and-tools-that-i-use/</link>
	<description>Thoughts, Articles &#38; Links on Programming &#38; Technology by Yaakov Ellis</description>
	<lastBuildDate>Sun, 07 Mar 2010 15:34:04 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Community Server Bits : Visual Studio 2005 Add-Ins and Tools That I Use</title>
		<link>http://ellisweb.net/2006/12/visual-studio-2005-add-ins-and-tools-that-i-use/comment-page-1/#comment-13950</link>
		<dc:creator>Community Server Bits : Visual Studio 2005 Add-Ins and Tools That I Use</dc:creator>
		<pubDate>Mon, 12 Mar 2007 11:53:03 +0000</pubDate>
		<guid isPermaLink="false">http://ellisweb.net/2006/12/visual-studio-2005-add-ins-and-tools-that-i-use/#comment-13950</guid>
		<description>[...] Studio 2005 Add-Ins and Tools That I Use   Great excerpt on CodeSmith from Yaakov Ellis in Visual Studio 2005 Add-Ins and Tools That I Use (which is the first item in a list of 8), &quot;Number one in Code Generation. I have spent less than a [...]</description>
		<content:encoded><![CDATA[<p>[...] Studio 2005 Add-Ins and Tools That I Use   Great excerpt on CodeSmith from Yaakov Ellis in Visual Studio 2005 Add-Ins and Tools That I Use (which is the first item in a list of 8), &#8220;Number one in Code Generation. I have spent less than a [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Community Server Bits : Community Server Daily News for Tuesday, December 19, 2006</title>
		<link>http://ellisweb.net/2006/12/visual-studio-2005-add-ins-and-tools-that-i-use/comment-page-1/#comment-13909</link>
		<dc:creator>Community Server Bits : Community Server Daily News for Tuesday, December 19, 2006</dc:creator>
		<pubDate>Mon, 12 Mar 2007 04:39:17 +0000</pubDate>
		<guid isPermaLink="false">http://ellisweb.net/2006/12/visual-studio-2005-add-ins-and-tools-that-i-use/#comment-13909</guid>
		<description>[...] excerpt on CodeSmith from Yaakov Ellis in Visual Studio 2005 Add-Ins and Tools That I Use (which is the first item in a list of 8), &quot;Number one in Code Generation. I have spent less than a [...]</description>
		<content:encoded><![CDATA[<p>[...] excerpt on CodeSmith from Yaakov Ellis in Visual Studio 2005 Add-Ins and Tools That I Use (which is the first item in a list of 8), &#8220;Number one in Code Generation. I have spent less than a [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dissidence</title>
		<link>http://ellisweb.net/2006/12/visual-studio-2005-add-ins-and-tools-that-i-use/comment-page-1/#comment-8050</link>
		<dc:creator>Dissidence</dc:creator>
		<pubDate>Fri, 05 Jan 2007 15:59:04 +0000</pubDate>
		<guid isPermaLink="false">http://ellisweb.net/2006/12/visual-studio-2005-add-ins-and-tools-that-i-use/#comment-8050</guid>
		<description>Nice article. And just to add to the topic.

I find the tools listed in &lt;a href=&quot;http://msdn.microsoft.com/msdnmag/issues/05/12/VisualStudioAddins/default.aspx&quot; rel=&quot;nofollow&quot;&gt;Visual Studio Add-Ins Every Developer Should Download Now&lt;/a&gt; also very helpful</description>
		<content:encoded><![CDATA[<p>Nice article. And just to add to the topic.</p>
<p>I find the tools listed in <a href="http://msdn.microsoft.com/msdnmag/issues/05/12/VisualStudioAddins/default.aspx" rel="nofollow">Visual Studio Add-Ins Every Developer Should Download Now</a> also very helpful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mhinze.com &#187; Blog Archive &#187; links for 2006-12-20</title>
		<link>http://ellisweb.net/2006/12/visual-studio-2005-add-ins-and-tools-that-i-use/comment-page-1/#comment-7600</link>
		<dc:creator>mhinze.com &#187; Blog Archive &#187; links for 2006-12-20</dc:creator>
		<pubDate>Tue, 02 Jan 2007 13:51:41 +0000</pubDate>
		<guid isPermaLink="false">http://ellisweb.net/2006/12/visual-studio-2005-add-ins-and-tools-that-i-use/#comment-7600</guid>
		<description>[...] Visual Studio 2005 Add-Ins and Tools That I Use (tags: visualstudio vs2005) [...]</description>
		<content:encoded><![CDATA[<p>[...] Visual Studio 2005 Add-Ins and Tools That I Use (tags: visualstudio vs2005) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yaakov Ellis</title>
		<link>http://ellisweb.net/2006/12/visual-studio-2005-add-ins-and-tools-that-i-use/comment-page-1/#comment-7151</link>
		<dc:creator>Yaakov Ellis</dc:creator>
		<pubDate>Wed, 20 Dec 2006 17:21:03 +0000</pubDate>
		<guid isPermaLink="false">http://ellisweb.net/2006/12/visual-studio-2005-add-ins-and-tools-that-i-use/#comment-7151</guid>
		<description>Dave - Thanks for calling me on that one. Let me explain.

I am using code generation for the custom business objects and data access layer in the code, as well as matching stored procedures in my Sql Server database. Each BO closely matches the structure of a table (and sometimes a corresponding view as well) inside the database. I have templates set up (partly based on the samples provided with CodeSmith, and partly custom-built) that will read the columns in a table/view, and based on other parameters that I feed in (read-only columns, columns to exclude, types of Get/Insert/Update/Delete procedures to generate), will completely generate 3 .cs files as well as the corresponding stored procedures (and put these into the DB).

Although I have generated 300,000+ lines of code, my current code-base is around 18K. This includes lots of UI code that is generated by Visual Studio, as well as other functionality code. Currently, I have 44 files making up the DAL and BO layers in the code, as well as around 150 stored procedures. This is all less than 10,000 lines of code. The bulk of the code-generated line sum comes from regerating these files and sprocs whenever I change the DB structure from its initial format. Adding a column, changing a column name, removing a column, adding a foreign key relationship - all of these things affect the DAL, BO and Sproc layers. The code-generation allows me to standardize these files (eliminating errors that would come from copying and pasting) as well as save the time of changing individual lines of code in VS and the DB whenever I make a change to the DB. Instead of fishing around in 2 files and 5 stored procedures if I add a column to a table, I just run my CodeSmith template again for that table and reimport the files into my project.

As far as upkeep (and I will be the one supporting it after conclusion), if new tables are addded or the db structure changes, it is as simple as rerunning the template (with parameters saved locally in an xml file) and reimporting the files.

I try very hard not to use tools like this as a crutch. I avoid the humongous templates that will generate many times more code you may ever use just because you can. However, in the way in which I am using it, I have saved myself lots of boredom and tedious code manipulation, as well as at least 100 hours of programming time that I can better use on more creative tasks.</description>
		<content:encoded><![CDATA[<p>Dave &#8211; Thanks for calling me on that one. Let me explain.</p>
<p>I am using code generation for the custom business objects and data access layer in the code, as well as matching stored procedures in my Sql Server database. Each BO closely matches the structure of a table (and sometimes a corresponding view as well) inside the database. I have templates set up (partly based on the samples provided with CodeSmith, and partly custom-built) that will read the columns in a table/view, and based on other parameters that I feed in (read-only columns, columns to exclude, types of Get/Insert/Update/Delete procedures to generate), will completely generate 3 .cs files as well as the corresponding stored procedures (and put these into the DB).</p>
<p>Although I have generated 300,000+ lines of code, my current code-base is around 18K. This includes lots of UI code that is generated by Visual Studio, as well as other functionality code. Currently, I have 44 files making up the DAL and BO layers in the code, as well as around 150 stored procedures. This is all less than 10,000 lines of code. The bulk of the code-generated line sum comes from regerating these files and sprocs whenever I change the DB structure from its initial format. Adding a column, changing a column name, removing a column, adding a foreign key relationship &#8211; all of these things affect the DAL, BO and Sproc layers. The code-generation allows me to standardize these files (eliminating errors that would come from copying and pasting) as well as save the time of changing individual lines of code in VS and the DB whenever I make a change to the DB. Instead of fishing around in 2 files and 5 stored procedures if I add a column to a table, I just run my CodeSmith template again for that table and reimport the files into my project.</p>
<p>As far as upkeep (and I will be the one supporting it after conclusion), if new tables are addded or the db structure changes, it is as simple as rerunning the template (with parameters saved locally in an xml file) and reimporting the files.</p>
<p>I try very hard not to use tools like this as a crutch. I avoid the humongous templates that will generate many times more code you may ever use just because you can. However, in the way in which I am using it, I have saved myself lots of boredom and tedious code manipulation, as well as at least 100 hours of programming time that I can better use on more creative tasks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Gladfelter</title>
		<link>http://ellisweb.net/2006/12/visual-studio-2005-add-ins-and-tools-that-i-use/comment-page-1/#comment-7150</link>
		<dc:creator>David Gladfelter</dc:creator>
		<pubDate>Wed, 20 Dec 2006 16:56:53 +0000</pubDate>
		<guid isPermaLink="false">http://ellisweb.net/2006/12/visual-studio-2005-add-ins-and-tools-that-i-use/#comment-7150</guid>
		<description>Hi Yaakov,

The 300K lines of code you have generated is a very large number.  My career has been largely involved with supporting, refactoring, and extending existing applications.  I don&#039;t know you or your code, so you well may be a superstar, but that number strikes me as odd, especially since it was autogenerated from templates.  To me, autogeneration + templates = needless redundancy.  

Is this a turnkey solution that you will not have to support after completion?  If so, kudos on getting so much work done so quickly, it will become someone else&#039;s problem soon enough.  Otherwise, I can&#039;t help but think you are creating a huge support burden on yourself in the future by creating so much repetitive code.  In my experience, ceteris paribus, more code equals more complexity. Was there really no possibility of applying polymorphism and useful specialization design paterns such as the template pattern to reduce redundancy?

If I am wrong, please tell me more about how you used this tool to leverage your talents so effectively.  In that case I would love to see how I could take advantage of tools like CodeSmith in the future.

Thanks,


Dave</description>
		<content:encoded><![CDATA[<p>Hi Yaakov,</p>
<p>The 300K lines of code you have generated is a very large number.  My career has been largely involved with supporting, refactoring, and extending existing applications.  I don&#8217;t know you or your code, so you well may be a superstar, but that number strikes me as odd, especially since it was autogenerated from templates.  To me, autogeneration + templates = needless redundancy.  </p>
<p>Is this a turnkey solution that you will not have to support after completion?  If so, kudos on getting so much work done so quickly, it will become someone else&#8217;s problem soon enough.  Otherwise, I can&#8217;t help but think you are creating a huge support burden on yourself in the future by creating so much repetitive code.  In my experience, ceteris paribus, more code equals more complexity. Was there really no possibility of applying polymorphism and useful specialization design paterns such as the template pattern to reduce redundancy?</p>
<p>If I am wrong, please tell me more about how you used this tool to leverage your talents so effectively.  In that case I would love to see how I could take advantage of tools like CodeSmith in the future.</p>
<p>Thanks,</p>
<p>Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens Schaller</title>
		<link>http://ellisweb.net/2006/12/visual-studio-2005-add-ins-and-tools-that-i-use/comment-page-1/#comment-7135</link>
		<dc:creator>Jens Schaller</dc:creator>
		<pubDate>Wed, 20 Dec 2006 14:49:02 +0000</pubDate>
		<guid isPermaLink="false">http://ellisweb.net/2006/12/visual-studio-2005-add-ins-and-tools-that-i-use/#comment-7135</guid>
		<description>You may try my add-in SonicFileFinder (http://sonicfilefinder.jens-schaller.de) for quickly finding files inside Visual Studio 2005 ;)</description>
		<content:encoded><![CDATA[<p>You may try my add-in SonicFileFinder (<a href="http://sonicfilefinder.jens-schaller.de" rel="nofollow">http://sonicfilefinder.jens-schaller.de</a>) for quickly finding files inside Visual Studio 2005 ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daily News List Blog : Visual Studio 2005 Add-Ins and Tools That I Use</title>
		<link>http://ellisweb.net/2006/12/visual-studio-2005-add-ins-and-tools-that-i-use/comment-page-1/#comment-7055</link>
		<dc:creator>Daily News List Blog : Visual Studio 2005 Add-Ins and Tools That I Use</dc:creator>
		<pubDate>Tue, 19 Dec 2006 23:15:33 +0000</pubDate>
		<guid isPermaLink="false">http://ellisweb.net/2006/12/visual-studio-2005-add-ins-and-tools-that-i-use/#comment-7055</guid>
		<description>[...] Visual Studio 2005 Add-Ins and Tools That I Use   Great excerpt on CodeSmith from Yaakov Ellis in Visual Studio 2005 Add-Ins and Tools That I Use (which is the first item in a list of 8), &quot;Number one in Code Generation. I have spent less than a week of total time setting up my templates, and over the last three months alone have generated 386,403 lines of C# and TSQL code using this tool. I cannot see how I could work without it. Well-worth the investment.&quot;   Published Tuesday, December 19, 2006 4:14 PM by daveburke         New Comments to this post are disabled [...]</description>
		<content:encoded><![CDATA[<p>[...] Visual Studio 2005 Add-Ins and Tools That I Use   Great excerpt on CodeSmith from Yaakov Ellis in Visual Studio 2005 Add-Ins and Tools That I Use (which is the first item in a list of 8), &#8220;Number one in Code Generation. I have spent less than a week of total time setting up my templates, and over the last three months alone have generated 386,403 lines of C# and TSQL code using this tool. I cannot see how I could work without it. Well-worth the investment.&#8221;   Published Tuesday, December 19, 2006 4:14 PM by daveburke         New Comments to this post are disabled [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Community Server Daily News : Community Server Daily News for Tuesday, December 19, 2006</title>
		<link>http://ellisweb.net/2006/12/visual-studio-2005-add-ins-and-tools-that-i-use/comment-page-1/#comment-7049</link>
		<dc:creator>Community Server Daily News : Community Server Daily News for Tuesday, December 19, 2006</dc:creator>
		<pubDate>Tue, 19 Dec 2006 22:09:36 +0000</pubDate>
		<guid isPermaLink="false">http://ellisweb.net/2006/12/visual-studio-2005-add-ins-and-tools-that-i-use/#comment-7049</guid>
		<description>[...] Great excerpt on CodeSmith from Yaakov Ellis in Visual Studio 2005 Add-Ins and Tools That I Use (which is the first item in a list of 8), &quot;Number one in Code Generation. I have spent less than a week of total time setting up my templates, and over the last three months alone have generated 386,403 lines of C# and TSQL code using this tool. I cannot see how I could work without it. Well-worth the investment.&quot; [...]</description>
		<content:encoded><![CDATA[<p>[...] Great excerpt on CodeSmith from Yaakov Ellis in Visual Studio 2005 Add-Ins and Tools That I Use (which is the first item in a list of 8), &#8220;Number one in Code Generation. I have spent less than a week of total time setting up my templates, and over the last three months alone have generated 386,403 lines of C# and TSQL code using this tool. I cannot see how I could work without it. Well-worth the investment.&#8221; [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
