Learn Extjs5 with me (26--add a system design for background processing)

Source: Internet
Author: User

Learn Extjs5 with me (26--add a system design for background processing)

For the custom system of EXTJS5, the custom build of the module basic control, including the menu, Grid list, form form, and other functions must be added to the background control system and the foreground work together.


This section describes the background development environment, the spooler I use Java + spring MVC + hibernate + SQL Server 2005, permission control using Shiro. After adding the background processing, the code volume and the complexity of the program is growing at a geometric level, I think for a long time did not find a good way to put the front backstage of the hundreds of class written in a clear way, only as far as possible to the relationship and key categories to write clearly.

The ultimate goal of this system is the design and implementation of my previous blog module management routine function customization system (01--system Introduction) , the series has only written the system's design goals, in this series I will be in the original system based on a number of upgrades, And the realization of the process step by step show out. Since there are many classes of front and back of the system, and most of them are interpreted as configuration execution, the skill and complexity of the program is relatively high, so learning this series of articles requires some ability. The article is published in the same way as in the first 25 sections, and a package of all current code and data will be released over a period of time.


Let's take a look at the overall process of this system:




The overall process of customizing the system is shown in. Some explanations are as follows:

    1. All the definition information of the system module is saved in the database for easy modification.
    2. The application layer organizes the information for each module according to user permissions and configuration information, which is generated and sent to the front end.
    3. The front end framework (EXTJS) generates various controls, including Grid,form, based on the configuration information of the module, and generates corresponding buttons based on permissions.
    4. According to the user's actions to submit data to the background server for processing, the background server based on the information submitted by the foreground to interpret the execution of all requests.
    5. Submits the resulting data for the completed request to the database.
The above process is the main process that the system will introduce.
The purpose of the system development is to add a new module, as long as the data table and Java Bean files are created, and all other functions are fully configured by the foreground.


The background environment and the spring, Spring MVC, hibernate configuration files are first added in the next section.


(This system is a bit big, it must be a bit confusing, we will look at it)






Learn extjs5 with me (26--join the system design for background processing)

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.