CodeSmith
Your New Best Friend
|
|
No matter what language you code in, or what technologies you use, you should still program to templates in order to make your naming schemes consistent and memorable, let alone, to improve productivity. CodeSmith is the "code generation" tool for programmers that Microsoft Word "form letters" is for admins. When an admin has to hammer out thousands of documents, in varying forms, they create Word form letter templates. When a programmer has to hammer out 100's of User Input Forms, they should use the CodeSmith code generator! Let us show you how to use this tool to create your own templates, and run the built-in CSLA templates to crank out CSLA business objects quickly!
|
Who is the course targeted to?
If any part of your coding is repetitive, which it should be, you should consider CodeSmith Tools. If you write CSLA Templates, you especially, should not live without CodeSmith Tools! After filling in a couple blanks, within seconds you have business object classes added into your Visual Studio project, stored procedures created and executed , and UI's with fully bound data controls. The output can be a great starting point, but the real power we have found, is to create templates that automate the ongoing maintenance of your code by employing Partial Classes, Base Classes, and/or Merge Sections! These features allow you to create two categories of code, one that contains specialized business logic that is code generated only once, and a second category that is tied to a database that is constantly changing. This class will show you the ins and outs of CodeSmith!
Next Scheduled Date and Location
9:00am to 12:00pm
Wednesday, February 6th, 2008
Denver, CO
Prerequisites
- If you bring your own computer (either desktop or laptop), you can install the Trial Version of CodeSmith and follow along.
- Your computer should have Visual Studio 2005, the languages C#, and SQL Server 2005 installed.
- The course will be taught in C#, but the concepts are transferrable to either language.