Table of Contents
1 Introduction 4
1.1 Significance and status of the subject research 4
1.2 Contents and goals of the system realization 4
1.3 Selection of development tools and introduction of related technologies 4
1.3.1 Introduction of related technologies 4
1.3.2 System environment development tools 5
2 Overall requirements of the system Analysis 6
2.1 Feasibility analysis 9
2.2 Demand analysis 10
2.2.1 Functional requirements 10
2.2.3 Flow chart design 11
2.2.4 System ER diagram design 13
2.3 Data flow analysis 14
2.4 Data dictionary 14
3 Database design 14
3.1 Overall system structure Design 14
Overall system overview 15
3.2 Design of database tables 15
4 Detailed system design and implementation 18
4.1 Front-end page function realization 18
4.1.1 Home page module realization 18
4.1.2 Community property module realization 20
4.1.3 Owner property information module realization 22
4.2 Back-end page function realization 23
4.2.1 The realization of the landing page 23
4.2.2 The realization of the owner's real estate management page 24
4.2.3 The realization of the parking space information management page 25
4.2.4 The realization of the visitor registration information management page 26
4.3 The log function module 27
4.3 Installation and Deployment 28
5 System testing 29
5.1 The purpose and significance of system debugging 29
5.2 Functional test cases 29
6 Summary 31
Abstract: With the progress of the third technological revolution, mankind has entered the information age, and Internet information technology has gradually affected people's lives. Compared with the traditional community property management system model, the management mode of this model adopts information technology, which is convenient and quick to use, reduces costs, and has great advantages in the use of the market. Now it has basically met the needs of community management. .
This system mainly adopts the spring development framework system. The technologies used are mysql database, mybatis driver framework and tomcat server deployment. The integrated development tools used are mainly IDEA and jdk1.8.
The supermarket management system mainly has the following major functions: community information management, building type management, owner real estate management, website information management, community news management, community announcement management, feedback management, user management, expense management, parking space management, repair report Information management, visitor registration management, personal information management, in the following chapters, the role and realization of each function will be introduced in turn.
Keywords: residential property management system; spring technology; tomcat; mysql
1.1 Significance and status quo of research on the subject
1.2 Contents and goals of system realization
This paper conducts research and analysis based on the characteristics and requirements of the software. The main content: first introduces the background of project development and the significance of research; second, introduces the development process of the project The theoretical knowledge of the relevant technology used, and the introduction of the development environment; the third is the necessary analysis of the system development, which provides the corresponding theoretical basis for the system design link. The fourth is to realize the main links and prerequisites of the system development. The main modules of the project system are analyzed and designed in detail to lay the foundation for the subsequent concrete realization. The fifth is to briefly introduce the test cases, so that after successfully completing the development of the program, through these tests, we can quickly and effectively find out the shortcomings of the system and modify and improve them in time.
1.3 Selection of development tools and introduction of related technologies
1.3.1 Introduction of related technologies
As an object-oriented development language, Java not only absorbs the various advantages of many languages, but also its entire ecology is the best openness among all languages In learning, you can find a lot of similar functional codes for future reference. For example, the current asp.net development language is largely imitating the thinking of java. If you learn java programming, you are going to master another language. It is very fast to learn because of its simplicity and structural orientation, which reduces the complexity of code management, makes the programming process clearer, and logically decouples more layered.
As a project version management software, Maven can better manage the use of jar packages. There was no Maven management tool before, and many versions of jar packages need to be downloaded online. Sometimes the incompatibility between versions affects the use of the system. Play, sometimes different bugs appear, after using the Mavern project, this difficult problem can be eliminated very well.
MySQL is an open source relational database. Because it is open source, there is no copyright dispute. Now many companies are using MySQL as database storage. Not only its storage rate is relatively fast, but it can also be used for secondary development. Customize a database that is more suitable for the company.
Spring encapsulates a lot of java class library files. During the development process, you don’t need to write too many complicated class files. You only need to quote the spring framework to complete the needs of rapid development. Therefore, the logic code of Java programming becomes more complicated. Clear, the decoupling between the various layers is also relatively strong, the reusability has also been well played, making the development difficulty easier and easier, its main two features are dependency injection, interface-oriented thinking; (AOP) Aspects of thinking;
IntelliJ IDE and eclipse comparison, these two are Java programming language development tools, and the difference, IDEA and third-party plug-in market access more, development efficiency and intelligent prompts are smarter than eclipse, in terms of environment IDEA is also faster in configuration generation, and the interface design is also relatively clean and simple.
1.3.2 System environment development tools
The system adopts B/S architecture, the front-end framework is developed using WeChat developer tools, and the back-end data is realized using MYSQL
serial number. Software environment version remarks
1 windows operating system 10
2 database MYSQL 8.0
3 programming development tool software IDEA 2020.2
2 Overall analysis of system requirements
SSM framework analysis
SSM (Spring+Spring MVC+MyBatis) framework is essentially an integration of Spring and MyBatis, because Spring MVC is one of the Spring frameworks used for web application development Module is a lightweight web framework based on MVC pattern provided by Spring. The SSM framework divides the entire system into View layer, Controller layer, Service layer, and Dao layer.
SSM includes 3 parts: Spring MVC, Spring, MyBatis.
(1) MVC design pattern The
MVC pattern divides an application into three basic parts: Model (model), View (view), Controller (controller), these three parts work together with the least coupling, thereby increasing the application's availability. Scalability and maintainability.
The relationship among the model, view, and controller in the MVC design pattern is shown in Figure 2-5-1. Figure 2-5-1 The relationship diagram of each layer of the MVC model
In this design model, Model, View, and Controller perform different responsibilities. Model is mainly responsible for the system's business logic processing and database access, and is the core part of the system. When users add, delete, modify, and check operations facing the system, it is the interaction between the Model layer and the database, and the data in the database is encapsulated in the Model. The View layer is the page that the user can see and interact with. According to the user's input data, the View layer submits the data to the controller to process the user's request. The Controller receives the user request from the View layer, that is, reads the data input by the user, selects the appropriate model to process the request according to the data request, and selects the appropriate view to render the processing result, and then displays the processing result to the user through the view. Controller does not participate in data processing, but selects a suitable model for Model execution. It can be seen that in the MVC design pattern, because the system is separated by layer, it can better realize the division of labor in the open.
(2) Spring MVC framework The
Spring MVC framework is essentially an implementation of Spring's construction of Web applications based on the MVC design pattern. In essence, the Spring MVC framework provides a detailed list and servlet. It provides a DispatcherServlet as a front controller to dispatch requests. It also provides flexible configuration handler mapping, view resolution, language environment and theme resolution, and supports file upload. The workflow of Spring MVC is shown in Figure 2-5-2.
Figure 2-5-2 Spring MVC request processing flow
When the user sends a URL request, according to the configuration of DispatcherServlet, the request is intercepted by DispatcherServlet, and the Controller that processes the response request is found according to HandlerMapping; after the Controller is processed, it returns the ModelAndView object; this object tells DispatcherServlet which view is needed to display the data model , DispatcherServlet renders the logical view name returned by the Controller into a real view according to the view resolver and outputs it to the user. The entire request processing flow of Spring MVC, the components used include front controller (DispatcherServlet), processor mapper (HnadlerMapping), processor adapter (HandlerAdapter), Handler controller (Controller), view resolver (ViewResolver), View (View), where the work of DispatcherServlet, HnadlerMapping, HandlerAdapter, and ViewResolver objects is executed inside the framework.
Screenshot of the program part