After a few days of mend, their personal version finally OK,! Perhaps because of the first time the computer room charge system experience, this time to do, feel very kind.
In the business logic, follow the previous logic, did a little upgrade, but little change.
In the database aspect, feel oneself from a small rookie is growing. The first time to do the computer room, in the database, will only "INSERT, delete, update, select", basically rely on four sentences to complete the entire computer room charge system. However, this time, when doing this, I used the views and stored procedures and some of the tips in the database. The table structure is also more concise than before, relying on the strong D layer of the foundation, making the upper layer of coding becomes very easy.
In the overall structure, this time is three layer + abstract Factory + interface structure, just beginning for layering tangled for a long time, but after doing a few forms, there is a feeling. Later, the SqlHelper and entity--datatable conversion classes were added. Feeling these things put the skeleton out of the software. Then the work is coded.
In the coding aspect, the package diagram + Class diagram, the first experience object-oriented, feel very novel, after, feel oneself still have a lot of repetition of place, can again abstract, these places left to cooperate edition to improve it ~
in terms of design patterns, this is a good exercise opportunity after learning the design pattern. Just started to do the engine room when, think of what mode would like to add, after the addition, then began to think, if really let me do a system, I add design mode is not a problem? The answer is definitely there. So, how do you apply design patterns? For this question, go to the library and look for two books. I feel that I know a little about the design pattern, and I have to keep on studying.
Summary: Every challenge, is a huge learning opportunity!
Summary: VB. NET computer room toll System Personal Edition