Personal version of the computer room fee system is the first system after learning vb.net language and three-layer architecture thought, we have to go from C/S to B/s in the process of a paving stone, before the start of C/s, although there is no direct contact. But learning is a lot of common place, in the process there is a lot of knowledge is in the consolidation, there are many things new contact or practice. My greatest feeling is that through this process will certainly take something.
The personal version of the computer room charge and the first version of the system have a lot of the same place, these same places in the process of refactoring, help us i+1.
Like what:
1, the development language: Although one uses is VB one is vb.net. But it has to be said that with the first version of the experience, the reconstruction version of the language to use the understanding of a little faster.
2, demand: Before and after the two version of the demand is basically unchanged, we draw the prototype is also a comparison of the previous template, in addition to some of the idea of adding individuals, roughly unchanged.
Software
Because users have the need to develop a computer room charge system, and then proceed to write a feasibility analysis report, from the software from the economic point of view of what is the feasibility, while meeting the requirements of social law. Let the company managers and users see whether it is feasible.
After the report has been adopted, it is necessary to embark on some development preparations, such as the project development plan, what plans (interface, overall design, operational design, database design) and the method conditions (outside the program)
After the need to write the requirements analysis manual, the system functions, database description, each line is introduced.
And then it's going to start knocking on the code. Our development plan is to first design the necessary database, data structure, requirements and so on.
In the process of development to write a good monthly report, the progress, as well as the situation of capital expenditure analysis.
After the completion of the code to test the project, write a test plan, each function to design a test case, the use of data, expected results, the final results are recorded and analyzed, write an analysis report, accumulate testing experience
When as many tests as possible error, summed up a quality report, system development on the development of almost, will be a summary of the system development, mainly with the user needs a comparison.
the finished project will be delivered to the user, and the user will be given a user's manual, as well as an operating manual, for the training. Help users become familiar as soon as possible.
UML
The role of UML in the reconstruction of the time I felt deeply. Because my UML is added after the system is finished, so the comparison between the code and the graph is very obvious. UML diagram can be based on three layers of code methods, properties, return values, parameters, such as one by one corresponding. That's when you feel the intuitive nature of UML diagrams and code relationships.
after the document and UML are complete, the torso of the system is basically clear.
Architectureafter learning vb.net first exposure to the three-tier architecture, it is not so difficult to understand, rather than to change very uncomfortable. It is like a piece of paper, obviously only one layer, but do layer stripping, separated three layers. It's not fun to manage, but it lowers the degree of coupling between them. The original form to do things, divided into the u-b-d three layer. Their own duties, efficiency will be raised up. Codewith the guidance of documentation and UML diagrams, the code is easy to write. In the process of tapping the code, it is interesting to add a lot of help class things, such as design patterns, stored procedures, sqlhelper, views, generic collections and so on. They not only make the code flexible, but also become more likely.
For example, the design mode of the abstract Factory + configuration file + reflection of the place, feeling very strong, so that the change of the database flexibility and ease a lot.
Summarize:
Computer room charge system is in the string beads, the database design, UML diagram, software engineering, design patterns, three-layer architecture and vb.net are strung together, and then interact. Finally out of the fragrant or smelly things on the look at you.
Summary of the personal version of the computer room charge system