CUT of the web project of software quality
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.