Universal rights management system components (GPM - General Permissions Manager) to achieve high-performance ASP.NET administration pages automatically generated ...

    Previously has been a stubborn mind, that the code generator generates a page, generally unable to meet customer requirements, they had not realized the automatic generation ASP UI interface, recent maintain some others write software, especially with the completion of more than one person the project, see the code inside the chaotic, ever more to gas, can not think what the problem according to their own look at the problem, need to look farther.

   Spend a few days to completely write high-performance pager, common management interface, then write a code generator that generates some standard management interface, and then generate the system's many features again, and then make some small changes , to meet the customer's business logic, and improve the quality of the entire code is not to say, performance is stable, but also less injection vulnerabilities, several paging is also increased by more than a full 3 times.

   There is a standard template code is necessary too, and you can not expect everyone is well-written code can not expect everyone very carefully, simply generated good use code generator, and then some fine-tuning, efficiency better. Bite the bullet and, a few days time, to achieve this function well, then breath can generate a lot of pages, the future of these features can be repeatedly used the.

Jiri Gala, universal rights management system components

 

Generating a good interface operating results as follows:

   1: generation will be more time to generate some columns do not need to kill it, although the trouble to add, delete, too easy.

   2: a standard paging functionality, you can also remember a few per page, without manual intervention.

   3: The search function also prevent sql injection vulnerability, they would be flexible bar to adjust the background, the background code is automatically generated.

   4: HTML on the page are carefully collated, each browser compatibility is also very good.

   5: Paging Paging support multiple databases, once written code that can run on a variety of databases.

   6: rights on the page can be flexibly expanded, there is a default reference code.

   7: Delete function is pseudo deleted, delete the page data administrator has room for data recovery, prevent misuse, of course, also have prompted the delete function.

 

 

 

Reproduced in: https: //my.oschina.net/iwenr/blog/227716

Guess you like

Origin blog.csdn.net/weixin_34409741/article/details/91674511