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 terms of business logic, follow the logic of the past. Did a little upgrade. But the change is not big.
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 the four sentences to complete the entire computer room charge system. But. This time, I used a few tips from the view and stored procedures and some databases. In the table structure is also more concise than ever, relying on the strong D layer of the foundation, making the upper layer of coding becomes very easy.
In terms of overall structure, this is the three layer + abstract Factory + interface structure, just started for layering tangled for a very long time. Just done a few windows later. I have a feeling. Later. Added SqlHelper and entity--datatable conversion classes.
Feeling these things put the skeleton out of the software. Then the work is coded.
In terms of coding. Package diagrams + Class diagram. The first experience is object oriented. The feeling is very fresh, after the finish, feel oneself still have very many place of repetition, also can again abstract. These places are left to the cooperation version to improve it ~
in terms of design patterns, this time it is self-learning after the design pattern. A very good exercise opportunity. Just started to do the computer room when the thought of what mode is to add. After the addition, I started to think, assuming that really let me make a system. Is it problematic for me to add design patterns like this? The answer is definitely there.
So, how to apply design patterns? For this question, go to the library and look for two books.
I feel very little about the design pattern. Have to keep on studying.
Summary: Every challenge, is a huge learning opportunity!
Summary: VB. NET computer room toll System Personal Edition