?
Templates Introduction

GENNIT provides a number of templates for you to use in the creation of your own project.

Got an idea or request for a template? Let us know!

Template Comparison
Language Database Required Documentation Industry Standard Unit Testing Included Database Scripts
NHibernate 1.2 DAL ORM C#SQL Server 2005 Yes Yes Yes Yes
Castle ActiveRecord DAL ORM C#SQL Server 2005 Yes Yes Yes Yes
CakePHP DAL MVC PHPMySQL Yes Yes No Yes
XHTML Forms N/AN/A Yes Yes Yes No
Facebook Template N/AN/A Yes No No No
NHibernate 1.2 DAL ORM Overview

NHibernate 1.2 Enterprise data access layer O/R Mapping which includes ASP.NET example and NUnit libraries.

Pros
  • Industrial strength
  • Built using Best Practice Guide
Generator Requirements

The following components are required for a smooth working version of the generator output. However, you can customise the generated code as required to work with other scenarios.

  • Visual Studio / Express
  • SQL Server 2000 / 2005
  • NHibernate 1.2
  • NUnit 2.4
Generator Output

All C# code has been FXCOP'd. FXCOP warnings may be due to property/field name choices in designer.

  • SQL Database Creation Script
  • C# Core Object Data Access Library
  • C# NHibernate Data Access Library
  • C# Data Object NUnit test Classes
  • C# Web Application Example Application
  • VS 2005 / Express project
  • NHibernate Configuration XML
CakePHP DAL MVC Overview

An implementation of the MVC pattern for PHP built on top of CakePHP. O/R Mapping of designer to objects, whilst using the excellent features of the (free) CakePHP package.

Pros
  • Ease of use
  • Industrial strength (uses CakePHP framework)
  • Huge opensource community support
Generator Requirements

The following components are required for a smooth working version of the generator output. However, you can customise the generated code as required to work with other scenarios.

  • PHP 4 or 5 (free)
  • MySQL Database (free)
  • Apache (free)
  • CakePHP (free)
Generator Output
  • MySQL Database Creation Script
  • Models with database definitions
  • Controller with example action
  • View for example controller action
Castle ActiveRecord DAL ORM Overview

An implementation of the ActiveRecord pattern for .NET built on top of NHibernate. O/R Mapping of designer to objects.

Pros
  • Ease of use (compared to NHibernate - no XML mapping files to understand)
  • Industrial strength (built on NHibernate)
  • Heavy open source community support
Generator Requirements

The following components are required for a smooth working version of the generator output. However, you can customise the generated code as required to work with other scenarios.

  • C# .NET 1.0 or 2.0
  • SQL Server 2000 / 2005
  • Castle ActiveRecord
  • NUnit 2.4
Generator Output

All C# code has been FXCOP'd. FXCOP warnings may be due to property/field name choices in designer.

  • SQL Database Creation Script
  • C# Data Object Classes
  • C# Data Object NUnit test Classes
  • VS 2005 / Express project
  • ActiveRecord Configuration XML
XHTML Forms Overview

XHTML 1.0 Strict formatted Input forms.

Pros
  • XHTML Valid input fields you can drop into any project type
Generator Requirements

None.

Generator Output

XHTML Forms generates separate XHTML Input forms per page object in the designer.

  • XHTML 1.0 Strict Valid Form Page
  • Valid CSS
Links
Facebook Template Overview

Facebook ASP.NET Developer Toolkit C# Template (working).

Generator Requirements

C# ASP.NET Comprehension

Generator Output

A default.cs replacement for default.aspx which provides quick start example of using Facebook API with ASP.NET. Also includes SetFBML example.