<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>PerfectStorm Forum Rss Feed</title><link>http://www.codeplex.com/PerfectStorm/Thread/List.aspx</link><description>PerfectStorm Forum Rss Description</description><item><title>New Post: Suggestions for improvements</title><link>http://www.codeplex.com/PerfectStorm/Thread/View.aspx?ThreadId=33945</link><description>&lt;div style="line-height: normal;"&gt;&lt;h3 style="color:rgb(0, 104, 28)"&gt;&lt;span&gt;Dmitri Nesteruk suggested that&amp;nbsp; I consider&amp;nbsp; XQuery as an alternative to&amp;nbsp; xslt. &lt;br&gt;
&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;</description><author>chriseyre2000</author><pubDate>Wed, 20 Aug 2008 20:57:44 GMT</pubDate><guid isPermaLink="false">New Post: Suggestions for improvements 20080820085744P</guid></item><item><title>New Post: Planned Improvements</title><link>http://www.codeplex.com/PerfectStorm/Thread/View.aspx?ThreadId=32321</link><description>&lt;div style="line-height: normal;"&gt;Add a function to give the filename of the generated file.&lt;br&gt;
&lt;br&gt;
Add a function to tell if the file is new.&lt;br&gt;
&lt;/div&gt;</description><author>chriseyre2000</author><pubDate>Mon, 28 Jul 2008 06:08:28 GMT</pubDate><guid isPermaLink="false">New Post: Planned Improvements 20080728060828A</guid></item><item><title>New Post: Planned Improvements</title><link>http://www.codeplex.com/PerfectStorm/Thread/View.aspx?ThreadId=32321</link><description>&lt;div style="line-height: normal;"&gt;Named block of text has been implemented in the initial version.&lt;br&gt;
&lt;br&gt;
The new xslt functions look to be trivial to implement (maybe tomorrow)&lt;br&gt;
&lt;br&gt;
Batch mode should be quick to implement.&lt;br&gt;
&lt;br&gt;
Logging should also be easy to do (now that I have the config file under control).&lt;br&gt;
&lt;/div&gt;</description><author>chriseyre2000</author><pubDate>Sun, 27 Jul 2008 21:15:59 GMT</pubDate><guid isPermaLink="false">New Post: Planned Improvements 20080727091559P</guid></item><item><title>New Post: Planned Improvements</title><link>http://www.codeplex.com/PerfectStorm/Thread/View.aspx?ThreadId=32321</link><description>&lt;div style="line-height: normal;"&gt;Implemented the first three utility functions.&lt;br&gt;
&lt;/div&gt;</description><author>chriseyre2000</author><pubDate>Sat, 26 Jul 2008 19:22:33 GMT</pubDate><guid isPermaLink="false">New Post: Planned Improvements 20080726072233P</guid></item><item><title>New Post: Suggestions for samples</title><link>http://www.codeplex.com/PerfectStorm/Thread/View.aspx?ThreadId=32322</link><description>&lt;div style="line-height: normal;"&gt;I am looking for suggestions for samples for this application.&lt;br&gt;
&lt;br&gt;
Given how flexible this utility is I can only imaging what it could be used for.&lt;br&gt;
However I can see two basic patterns of usage:&lt;br&gt;
&lt;br&gt;
(i) Run as a wizard - a one off startup for a project to create the boilerplate code that is intended to become [Handcrafted Code].&lt;br&gt;
(ii) Run as a [Code Generator] to repeatedly create code that conforms to a template.&lt;br&gt;
&lt;br&gt;
I will be providing a suite of samples that demonstrate each of the features in isolation.&lt;br&gt;
I intend to write some articles (and at least one helper utility) on how to turn existing code into templates.&lt;br&gt;
&lt;/div&gt;</description><author>chriseyre2000</author><pubDate>Sat, 26 Jul 2008 10:30:28 GMT</pubDate><guid isPermaLink="false">New Post: Suggestions for samples 20080726103028A</guid></item><item><title>New Post: Planned Improvements</title><link>http://www.codeplex.com/PerfectStorm/Thread/View.aspx?ThreadId=32321</link><description>&lt;div style="line-height: normal;"&gt;The current source is rather bare boned.&lt;br&gt;
It does the job that it is intended to do but is missing a few features from the utility that  inspired it:&lt;br&gt;
&lt;ul&gt;
    &lt;li&gt;Addition xslt functions:
    &lt;ul&gt;
        &lt;li&gt;convert a string to PascalCase from camelCase&lt;/li&gt;
        &lt;li&gt;convert a string to upper case&lt;/li&gt;
        &lt;li&gt;convert a string to lower case&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/li&gt;
    &lt;li&gt;Produce a log of changed files&lt;/li&gt;
    &lt;li&gt;Batch mode, where a set of transforms may be run with a single invocation of the utility (eliminates startup overhead which can be significant).&lt;/li&gt;
    &lt;li&gt;Permit version control headers to be preserved across a transform.&lt;/li&gt;
&lt;/ul&gt;
I intend to add each of these to the product, but using a cleaner implementation than before.&lt;br&gt;
&lt;br&gt;
I have had some further ideas for improvements:&lt;br&gt;
&lt;ul&gt;
    &lt;li&gt;xslt function that can include a named block of text  from the app.config file.&amp;nbsp; This would permit the templates to emit a consistent header block explaining the source of the data file.&lt;/li&gt;
    &lt;li&gt;xslt function that can create and insert a guid.&lt;/li&gt;
    &lt;li&gt;xslt function that can create and insert a guid, but will associate a name with the guid. If the same name is asked for then the same guid would be returned. This would permit a single transform (or batch of transforms) to create and populate a document with the same guid in multiple locations.&lt;/li&gt;
    &lt;li&gt;xslt function that can insert the date and time.&lt;/li&gt;
    &lt;li&gt;Preprocessor function that will extract a value from a multiple line regular expression run on the old file and store it in a named variable.&lt;/li&gt;
    &lt;li&gt;Perform checks on the input model and xslt files and report useful errors.&lt;/li&gt;
    &lt;li&gt;Ensure that the product also works under Mono.&lt;/li&gt;
    &lt;li&gt;Provide a test suite&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>chriseyre2000</author><pubDate>Sat, 26 Jul 2008 10:20:17 GMT</pubDate><guid isPermaLink="false">New Post: Planned Improvements 20080726102017A</guid></item></channel></rss>