Rapid Application Development using Catharsis
Catharsis is a powerful RAD (Rapid Application Development) tool which is built around a solid architecture using ASP.NET MVC and NHibernate. Best practice design patterns and separation of concerns between layers were key factors in the design of the Catharsis framework.
Using Guidance, the framework offers RAD functionality on a robust enterprise level architecture by automatically generating most of the code you need for your web application entities. Filling in a few simple dialog screens is all that is required in many cases.
This article explains how you can quickly build an application to create, read, update and delete entities (C.R.U.D.). The Catharsis Guidance automatically generates the multi-tier architecture and adds a skeleton infrastructure of classes and interfaces which will work without much additional coding. The article builds on the previous one in this series which examined the Catharsis example project. In this article we will add a new entity to that example project which is available to download. This information will allow you to quickly create your own CRUD application.
In addition to creating simple entities this article will also explain how to use the framework to code references between entities, for example where one entity is used as an entity-type in another entity. Finally we will look at how to add business rules to your application.
If you have a database and want to quickly create a robust enterprise level web application to access that database Catharsis offers the best way to achieve this.
Unlike many frameworks Catharsis was written using public and protected methods which makes it completely extensible. The programmer can take control of their own application and override methods when they want to add new functionality when they need to. This is not necessary when creating a lot of applications on Catharsis but for enterprise level applications it is nice to know that the option is available if needed.