WEB development method based on AJAX (Asynchronous JavaScript and XML) and Spring MVC (model view controller)

A client-side and view-based technology, applied in program control devices, software design, etc., can solve problems such as increased development difficulty, poor user experience, and reduced operating efficiency, achieve a good page feel and experience, improve flexibility and maintainability the effect of reducing complexity

Inactive Publication Date: 2016-08-17
JIANGSU R & D CENTER FOR INTERNET OF THINGS
View PDF3 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Traditional WEB application development does not have a clear layering on the control layer and front-end, and there is no smooth channel process for front-end and back-end data interaction, which increases the difficulty of development, reduces operating efficiency, and does not provide a good user experience.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • WEB development method based on AJAX (Asynchronous JavaScript and XML) and Spring MVC (model view controller)
  • WEB development method based on AJAX (Asynchronous JavaScript and XML) and Spring MVC (model view controller)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention will be further described below in conjunction with specific drawings and embodiments.

[0022] The WEB development method based on AJAX and SpringMVC is implemented through the client and server, such as figure 1 As shown; the core of the control layer on the server is the Spring MVC controller; Spring is a lightweight JAVA development framework;

[0023] The specific implementation process:

[0024] S1), the client interface is a JSP page, and the client's browser itself can parse the JSP page to display to the client. First, the client sends an HTTP request in the browser in the form of AJAX;

[0025] S2), the server is deployed and configured with the Spring framework, and the entire process of the server is processed under the Spring framework; after the server receives the HTTP request sent by the client, it processes the HTTP request through the Spring MVC controller;

[0026] S3), the Spring MVC controller integrates the REST interface se...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present invention provides a kind of WEB development method based on AJAX and SpringMVC, comprising the following steps: S1), the client interface is a JSP page, first the client sends an HTTP request in the mode of AJAX in the browser; S2), the server uses Spring The framework is deployed and configured; after the server receives the HTTP request sent by the client, it processes the HTTP request through the Spring MVC controller; S3), the Spring MVC controller integrates the REST interface service to update, query, add, and delete Process the HTTP request, and operate the database through the data access service interface; S4), the Spring MVC controller processes the data returned by the database through the REST interface, and returns it to the client browser in XML or JSON format. The invention effectively reduces the complexity of the software, improves flexibility and maintainability, and provides users with better page feeling and experience.

Description

technical field [0001] The invention relates to a partial dynamic refreshing WEB development method, which is a new WEB development method mainly proposed through the integration of AJAX asynchronous communication and SprinMVC in a REST manner. Background technique [0002] There has always been fierce competition between B / S-based WEB applications and C / S-based applications. Which one is better depends mainly on operating efficiency and user experience. Traditional WEB application development does not have a clear layering between the control layer and the front end, and there is no smooth channel process for data interaction between the front and back ends, which increases the difficulty of development, reduces operating efficiency, and does not provide a good user experience. SpringMVC provides a mainstream WEB technology development model under the framework of Spring: Model-View-Controller (MVC), which is a relatively advanced development idea for WEB. It provides the m...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
CPCG06F8/22
Inventor 王祥张海英胡冰
Owner JIANGSU R & D CENTER FOR INTERNET OF THINGS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products