You can create an environment that supports rapid application development (rapid application Development,rad) entirely with the code you have developed (and possibly some of the program modules from MSDN). But I think as a. NET developer, if you don't think about the existing Third-party code generators, you're cheating yourself and your company.
Using code GENERATOR,CG, you can get hundreds of, thousands of lines of code from a simple set of settings or database designs. Without this technology, developers would have to spend hours or days writing the code manually. Many development studios either let their junior programmers create these "grunt code" or outsource them to foreign programmers to save money. CG has the benefit of both methods, namely consistency.
How the code generator works
All code generated from a template has the same naming rules, file preparation, access mechanisms, and so on. None of the code developed by either developer can guarantee this (even the code developed by the same developer at different times is not guaranteed). CG works in two ways: Top-down (top down) and bottom-up (bottom up).
Using Top-down CG, you can define the system by defining its objects and the relationships between objects, and CG also creates the transaction object (business object) and the underlying database outline (schema). Bottom-up CG creates a set of data classes and transaction classes (based on the relationship between the data) according to your database design. You can decide on your own situation to use the CG of the two ways of working.
If you have to interact with a database of other systems and the system will still use its database data, you'd better use bottom-up CG, which simplifies the data classes you need to generate, which speeds up your development process. However, I prefer to use top-down CG because it requires the designer to have a predefined relationship at the transactional level, and it does much better than bottom-up CG in the creation of the transaction class, and you can inherit these transaction classes and extend your design.
DeKlarit: A good top-down CG tool
If you have not used Top-down CG, then I strongly recommend that you download the trial version of the DeKlarit tool. It's been months since I started using this tool, but I'm often surprised by its power. You only need to define the data elements of the system and the relationships between them, DeKlarit will produce a complete transaction framework (including transaction classes and data classes) and the underlying database. DeKlarit can use C # or vb.net to generate a transactional framework, using SQL Server or Oracle to build the database.
DeKlarit has three advantages, and these three advantages make it a tool for system designers. First, you only need to design the relationship between data elements, DeKlarit will produce a well-formed, standardized database outline. Second, if you modify the transaction framework, DeKlarit will regenerate the code and recreate the database that matches the outline while preserving the data. Finally, the DeKlarit can produce a test instrumentation module (test harness), and with this module, you can check the transaction framework by inserting and updating data using ASP.net or Windows Forms. Although the CG tool on the market is not only deklarit, it is indeed all I am doing. NET development of the Top-down CG tools used in the most outstanding.
When to use the Code Builder
Many developers have stressed that they will not use the code generated by CG in their production environment because they feel uneasy about the final product in which they have not touched the code. Although I understand this concern, I still think it is not necessary. To step back, CG is also a good tool for developing detailed prototypes for customers, even if the final product does not use CG generated code. If you let CG produce prototypes of transaction classes, data classes, and database outlines, you can build your own presentation class on the basis of this framework so you can quickly create a wide variety of features. At the very least, by providing a complete prototype, CG technology can help you quickly discover the potential pitfalls of the system. If the code generated by CG can be used with confidence, it can save you a few weeks or months of final development and testing time.