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

Source: Internet
Author: User

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

For the extjs5 custom system, we have introduced the custom generation of basic controls of the module, including menus, grid lists, and form forms, for other functions, you must join the background control system and the foreground to work together.


This section describes the background development environment. I use java + spring MVC + hibernate + SQL Server 2005 as the background processing program, and shiro is used for permission control. After the background processing is added, the amount of code and the complexity of the program grow exponentially, after thinking for a long time, I didn't find a good way to clearly write hundreds of classes in the front and back, so I had to try to clarify the relationships and key classes.

The ultimate goal of this system is described in the design and implementation of the custom system for managing general functions of the blog Module I wrote earlier (01 -- SYSTEM INTRODUCTION, that series only writes the design goal of the system. In this series, I will upgrade the original system and demonstrate the implementation process step by step. Because there are many classes in the front and back of the system, and most of them are explained for configuration execution, the skill and complexity of the program are relatively high, so learning this series of articles requires some ability. The article is published in a similar way as in the first 25 sections. A package of all current code and data will be published over a period of time.


Next, let's take a look at the general process of processing this system:


Database to facilitate modification. The Application Layer organizes information of each module based on user permissions and configuration information, and sends the information to the front-end. The front-end framework (extjs) generates various controls based on the module configuration information, including grid and form, and generates corresponding buttons Based on permissions. The data is submitted to the backend server for processing based on the user's operations. the backend server interprets and executes all the requests based on the information submitted by the front-end server. Submit the result data of the completed request to the database. The above process is the main process to be introduced by this system.

The purpose of system development is to add a module. You only need to create a data table and a java Bean file, and all other functions are configured at the front end.


In the next section, we will first add the background environment and the configuration files of spring, spring MVC, and hibernate.


(This system is a little big, and it will certainly be a bit messy, so let's take a look)






Related Article

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.