Every company or team has their own development habits or models. Codefirst For the analysis and design of object objects, our process is to first analyze and design the relationship between object and object based on business needs, and finally produce UML Class diagram, in order to avoid spending too much time managing drawings and Requirement documents UML The diagram is omitted by default when the business is simple. It is only used with a flowchart when the business is complex.ProgramMember writeCodeCode specifications and writing: each employee must first learn the framework structure and operation process when getting started. Every developer is also instilled before development, supplemented by development samples. This avoids telling every colleague about the system architecture, component functions, and so on, so that every developer can work in a very short period of time, the results are no different from those of senior programmers, even if he does not understand all the principles, you can study while working. It depends entirely on yourself as to what level you can rise.
As mentioned above, our data object requires code first, and then the database is directly generated based on the code. Generally, Business Objects correspond to data objects in a one-to-one manner. Sometimes there are design choices, performance choices, and other factors that make the business objects and object objects inconsistent. We will not discuss them here. Now we have the database structure, and the Code for generating business objects is completely handed overCodesmithThe code generator can only interact with data objects and perform simple data verification. operations related to business logic must be manually added, so far, the entire process from Requirement Analysis to code implementation has been completed.
therefore, when designing and generating code for data object, we do not need a code generator, we used codesmith it is not worth the effort to create a wheel. Besides, the technology of the data access layer has also changed, after all, the customer needs software products and delivery dates, and no one cares about the difficulties you have overcome.
in terms of interface editing and generation, because all our work is implemented in the business object, the interface is just a medium for interaction and collection of user input, therefore, the work is relatively simple, but it is simple to drag controls. At present, it seems that dragging controls is a low-level programmer's inferiority, on the contrary, we despise programmers who spend a few days making an interface with code flying and errors. Why is it easy to make the work so complicated? This advantage also takes care of the expertise of different programmers. Some people have little experience in aesthetics, while others are hard-working in writing code, our opinions and habits are to make programmers do what they like and what they do well.
for the Drag Control editing environment, we have not found any comparison with vs the environment is doing well, so it is not mentioned in the foreseeable future. Allows you to edit the designer and other tools on the interface. Use vs .