Summary of Computer room reconstruction---

Source: Internet
Author: User

Recalling this project, I will be divided into four stages: (a), familiar with demand, drawing, design database, the three-level login to seven-tier, (b), to increase the deletion of each knocking a line; (c), the design of the remaining functions; (d) Improve the system. Now look at this process, it is strange that I spent the first and fourth part of the time accounted for the vast majority of, but also more deeply felt that the design software is not just knocking good code so simple.

Experienced two times acceptance, the first master of a ruthless batch, back again modified one weeks, the second acceptance through, the following from these angles to the machine room reconstruction to do the following summary:


First, details

The so-called "details", starting from the demand analysis, many aspects if no one points out, it is difficult for them to find the problem, embodied in the following aspects:

(1) The interface form style is uniform, the width of the border, the font is uniform in the same format, size ..., is the location of each subform consistent?

(2) Does the MsgBox have a relevant title? Does the icon change as the content of each prompt is different? Will the selected button also change as needed?

(3) Will the text box be entered at any time? Is there a limit to the input length? Just like registering "card number", maxlength if set to 9, then there is no minimum bit limit to be from 0~999999999? Or consider combining the actual situation from the 100000000~199999999?

(4) Can the following machine information be automatically disappeared after a few seconds after being prompted?

(5) DataGridView is it possible to load the headtext every time? Is there a last line empty line at a time?

(6) Are there any constraints between the data tables? Or is each table a stand-alone table information that can be changed arbitrarily? Is there redundancy in the Data table field?

Too many details, I think, these details in the computer room before the cooperation, it is necessary to solve the problem.

Second, the logic

Even in the spirit of serving the people wholeheartedly to do, just by personal strength, want to do a system at once, it is difficult, some problems feel that they consider very thoughtful, but still will be flawed. This need to continue to find someone to help the system, each time found a problem, more should be excited, found their own logic of the shortcomings, to do better next time.

(1) If the general user as a "student" to see, then the average user in the machine can enter the other people's card number under the other person's computer?

(2) The card is on the machine, have you ever thought about this time can not return card? Once you can, this will be a fatal bug, Ah, the company has to lose a lot of money.

(3) After a sudden power outage, where is the user on the machine?

(4) After the card is cancelled, can the card be reused by others? Is it possible to activate?

(5) is one person corresponding to a card or a person can have more than one card? What are their strengths and weaknesses?

(6) In the process of the machine, the amount is not enough when there will be a reminder?

In logic, I have committed some of the above problems, but also with other people to do after the very good logic process, logic this piece, look for to do, remember to change, and finally Sibuxiang.

Third, the Code

This master in the acceptance of the time is also relatively strict, through this system, the code hierarchy, structure, the deletion of useless code, code simplification requirements, B-layer code in the use of logic judgment, let me feel quite deep.

Second, there is the comment, about the block comment, a single statement comment, what you want to write in the comment, the location of the comment and the code ... I think in the co-operation room, these then problems are our stepping stone.

Iv. thought

"Thinking move, Move Down", is the greatest feeling of the reconstruction, from April 20 to June 12, nearly two months, although the time is long, but the harvest is really big, this time compared to the last VB version of the computer room system is completely sky and underground, very important "communication", Some ideas are in the process of communication China suddenly jumped out, the exchange process through the learning of others excellent code, let their code more standardized, communicate with people, let their logic clearer.

Refactoring is over, now computer science is getting more and more energetic, refueling!

Summary of Computer room reconstruction---

Related Article

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.