segunda-feira, abril 11, 2005

CodeSmith - New Version (Code AutoCreator - DB and App)

A CodeSmith 3.0 public beta is now available for testing. This is a major new version of CodeSmith and includes a lot a great new features. Your help in testing this build and providing feedback is very much appreciated.

Here is a summary of what's new:
- Completely re-written parser/compiler which is faster and correctly reports line numbers from the template instead of from the compiled template source. This results in a much nicer debugging experience.
- XML support - There is now an XmlProperty directive that makes working with XML MUCH easier. This directive will give you a strongly typed object model to work with if you provide an XSD schema or it will give you an XmlDocument instance if you don't. This feature combined with the new IntelliSense feature make working with XML a breeze.
- IntelliSense in CodeSmith Studio.
- Template caching.
- New Register directive that makes working with sub-templates much nicer.
- Console client has been improved to include a batch mode, setting properties from the command line, and the ability to use any merge strategy.
- Merge strategies have been overhauled to be more extensible and can be setup to work with any language.
- New PreserveRegions merge strategy has been introduced.
- DbDocumenter templates have been overhauled to be a best-practices sample for 3.0.
- Indented output rendering.
- IPropertySerializer interface can be implemented to allow for serialization of custom property types.
- New PreRender and PostRender methods that can be overridden in your templates.
- Ability to auto-execute SQL scripts after generating them.
- Ability to render to more than one TextWriter at a time.
- SQL 2005 compatibility.
- Tons of other minor improvements and bug fixes.

Installer: http://www.codesmithtools.com/download/codesmith30beta3.exe

Zip: http://www.codesmithtools.com/download/codesmith30beta3.zip

Beta Forum: http://www.ericjsmith.net/codesmith/forum/default.aspx?f=18

Thanks,
Eric J. Smith
CodeSmith Tools

Sem comentários: