Project Description
Bullet On Rails provides out-of-box scaffold controllers ala Ruby on Rails for MS MVC. It also provides automatic validations for information found in the LINQ to SQL generated file such as:
- Type of field
- Date format
- Length of field
- Required field

Details

Bullet On Rails provides out-of-box scaffold controllers ala Ruby on Rails for MS MVC. It also provides an AdminScaffold class that by default will only allow admins to use it. The scaffold uses JQuery's jqgrid http://www.trirand.com/blog/ for listing the records.

It also provides automatic validations for information found in the LINQ to SQL generated class files such as:
  • Type of field
  • Date format
  • Length of field
  • Required field

Those validations are made by Ruby On Rails so I thought it would be nice to have them in MS MVC as well.

It also includes a StringUtils class that has the beloved humanize method for strings.

How to use it

Simly copy the files to your project and start using the classes! The project includes a sample controller and a sample model. The views used by the scaffold are stored in the Shared folder.

Last edited May 12, 2009 at 8:05 PM by juantar, version 5