Computer room charge System (vb.net) Personal Edition Summary

Source: Internet
Author: User

Reconstruction version of the personal computer room fee system probably from the beginning of the summer, it took less than 1.5 months to complete, the following for me in the reconstruction process of a written understanding.

1, system design a very important purpose is to reuse, and to do reuse, low coupling is the most effective means to review the entire learning process of our C/s, we can find, from the beginning of the VB version of the computer room charge system, and then to now vb.net version, plus design mode, the system layered, The process is to decouple the system. to decouple, the first thing you need to do is abstract. encapsulate multiple, reusable code, and use the remainder with inheritance or polymorphic thinking.

In the computer room charge system we are involved in a number of decoupled ways:

I wonder if decoupling can be understood like this, for example:

High-coupling example: Tell the user what the system is doing, and the user knows some of the design inside the system.

After decoupling, the user only knows what the system is for, and does not know how the system is running inside, how to design

2, in the process of refactoring, adding design patterns, stored procedures, views or transactions, to these things to study, to test, to understand is one thing, will use is another matter, spend a lot of time to see, the brain think, It's always better to put these things into code and understand them quickly.

There will be a lot of problems in the process of reconstruction, to find students to help solve the problem is the premise that you have to have a certain understanding of the problem, and then put forward your questions on this basis, and then let the students help you; If you have just come into contact with a problem, without your own understanding, let the students help you solve, then the final Your follow-up understanding is mostly built on the minds of others, not your own.

Personal reconstruction, add to add, some people say, first of all do not add, wait until the cooperation of the time, I want to say, now you do not want to learn these new knowledge, then co-operation, you still need to spend the same time or more time to understand the new knowledge, owed debt always have to pay back.

Computer room charge System (vb.net) Personal Edition Summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.