Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 invention provides a WEB development method based on AJAX (Asynchronous JavaScript and XML) and Spring MVC (model view controller). The WEB development method comprises steps as follows: S1), a client interface is a JSP (Java server page), and a client sends an HTTP (Hyper Text Transport Protocol) request in an AJAX manner in a browser firstly; S2), a server performs deployment and configuration with a Spring frame, and after receiving the HTTP request sent by the client, the server processes the HTTP request through the Spring MVC; S3), the Spring MVC integrates REST interface service, processes the HTTP request in updating, inquiring, adding and deleting manners and operates a database through a data access service interface; S4), the Spring MVC processes data returned by the database through a REST interface and returns the data to a client browser in a format of XML (extensive markup language) or JSON (JavaScript Object Notation). According to the WEB development based on the AJAX and the Spring MVC, the software complexity is effectively reduced, the flexibility and the maintainability are improved, and better page feeling and experience are brought to a user.

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products