Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

CUT of the web project of software quality

Shulou Source: shulou.com Published: 2022-06-03 08:10:00 09月23日 Update

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.

Tags: Develop process project different button method problem sort input limit feasible maximum business event thing people company compatibility content resolution Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Linux MariaDB Shulou Technology Shulou Information