In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
When doing web project development, we will encounter a lot of general details to deal with, if not done well, there will be a lot of bug. The most common ones are as follows (the foreground of developing web with java, .NET, PHP, etc.):
The maximum length is not restricted (maxlength), resulting in an overflow
Non-empty field (not null) is not entered
Definition and implementation of Tab key, especially back key
Page display at different resolutions
Compatibility of different browsers
The response mechanism when clicking on a button or control to the user (that is, continue to click the button when an event is not completely finished)
Paging processing
Processing of sorting (sort)
Input restrictions on numbers, dates and times.
I specially organized a table against which each developer can do unit testing (CUT), which can reduce most of the general bug and focus on business development.
If you do the above self-test, you can reduce at least 50% of the problems and bug, which is the first step.
Then the second step is to modularize the general content, such as max length and not null judgment written in Jquery as a general method for project team members to call, and to publicize paging and sorting. You can even use the power of the whole company to do it. The implementation is completely feasible, and the specific implementation methods are not described one by one here.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.