All Program refactoring, upgrade target (remarks, updates), and refactoring remarks

Source: Internet
Author: User

All Program refactoring, upgrade target (remarks, updates), and refactoring remarks

Start refactoring the entire program, by default7 # zbphp.com



Database:

1) No name specification. Use status instead of ispublic isok result to record the success and status fields.

2) changing status to numbers 0 indicates failure, and 1 indicates success. If t is used for removal, f indicates success, indicating failure. Y indicates success. n indicates failure.

3) simplify the process. All unnecessary fields are deleted.

4) the username is uname and the user ID is uid. Previously, uname and username userid uid were saved.

5) the order and sort fields in record sorting are all renamed as sortid. Prevents conflict of fields retained by sort order.

6) change the field names of the added record time to addtime, and change the modified time to uptime. In the past, there were different naming methods such as date1, time1, date2, and time2.

7) Reduce the field type of tinyint as much as possible and change it to int to ensure compatibility.

8) change the field name isRemotePost to isxss. Record whether cross-site submission 1 = Yes, 0 = No.

9) The name of the thumbnail field should be changed to thumb.



Central idea:

1) do not care about the space. The fields used by the database do not need to be saved.

2) simplify the process to a complex one, and change the logical process to the simplest one.


How can my group level not reach LV1? To reach LV1, I only need to improve the information. I think the information is already complete. Who will help me,

You must leave none blank. All are complete. Check whether your group remarks are empty. If the problem persists, ask the group owner. Some groups can upgrade after making a speech.

The matlab program for Distribution Network Reconstruction (including the power flow calculation program and aiming at the minimum network loss) should also be sent to me, 464579164 @ qqcom, thanks

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.