In the development of any web based project, there are 4 basic operations associated with any entity : Create, Read, Update and Delete
Let us consider an E-commerce website. It has a few basic entities such as : Category, Product, Promo Code etc.
For a Product, the 4 basic CRUD actions are applicable viz.
- You can add a product (Create)
- You can list all products (Read)
- You can edit a product (Update)
- You can delete a product (Delete)
For a Category, the same 4 basic CRUD actions are applicable viz.
- You can add a Category (Create)
- You can list all Categories (Read)
- You can edit a Category (Update)
- You can delete a Category (Delete)
For a Promo Code, the same 4 basic CRUD actions are applicable viz.
- You can add a Promo Code (Create)
- You can list all Promo Codes (Read)
- You can edit a Promo Code (Update)
- You can delete a Promo Code (Delete)
The above examples demonstrate that almost all data oriented websites have basic required CRUD functions for their entities.
There are a multitude of reasons why you can use CRUDigniter for your project:
- To bring down the cost of development.
- To ensure a common coding structure to all generated code and standard conventions are maintained about function naming (See : Naming & Conventions)
- To eliminate errors in creation of CRUD.
- To avoid repetition of writing the same CRUD code over and over again. Valuable development time that was used for writing CRUD code can now be used for writing more complex parts of the application and the menial CRUD generation work can be automated.