Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for drawing application view and device for drawing application view

An application and view technology, applied in the field of drawing application views, can solve the problems of data type confusion, increase the difficulty of network application development, and debug the complexity of AJAX scripts, and achieve the effect of improving development efficiency.

Active Publication Date: 2014-12-17
BEIJING MFOX SCI & TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] For different browsers, due to differences in AJAX scripts running on different browsers, and differences in AJAX scripts of different versions of the same browser, developers need to use multiple coding languages ​​to build and maintain AJAX scripts on the front end of JavaScript; debug AJAX Scripting is a very complicated matter. Since AJAX scripting is a weakly typed language, many bugs appear on the issue of data type confusion. As the number of scripts increases, hidden bugs will also increase, and it is not easy to BUG is found out, which increases the difficulty of web application development

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
  • Method for drawing application view and device for drawing application view
  • Method for drawing application view and device for drawing application view
  • Method for drawing application view and device for drawing application view

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] The present invention adopts GWT to develop the presentation layer, completely adopts JAVA language to construct and maintain the JavaScript front-end application program, and can use hibernate as the data persistence layer of the server end.

[0057] Among them, the structure of GWT see figure 1 , GWT is a JAVA software development framework, completely using JAVA as a development language, used to develop AJAX applications similar to Google Maps and Gmail. In the present invention, the design of GWT refers to the JAVA AWT package design, such as class naming rules, interface design, event monitoring, etc. are all the same as the design method of the JAVA AWT package, the present invention uses the JAVA programming language to develop the interface, and then uses the GWT compiler to convert the JAVA Classes are translated into JavaScript and HTML suitable for browser execution.

[0058]GWT is easier to learn and debug than traditional web application development metho...

Embodiment 2

[0065] see figure 2 , the present invention provides a method for building a network application framework, specifically comprising:

[0066] Step 201: loading the main framework of network application development based on GWT, and instantiating the main framework;

[0067] Among them, the main frame is the application scenario of web application development, and the main frame is composed of panels. According to the specific application scenario, the main frame includes one of the center panel, top panel, left panel, bottom panel and right panel and Multiple panels, the main frame includes at least a central panel in practical applications.

[0068] Specifically, when loading the main frame, it can be executed by the onModuleLoad function of the Framework class. In the process of executing onModuleLoad, the operation of instantiating the main frame is performed. Instantiating the main frame is instantiating the AppStart class. Since AppStart belongs to an abstract class, th...

Embodiment 3

[0109] see Figure 4 , the present invention provides a device for drawing an application program view, the device includes a loading module 301, a starting module 302 and a drawing module 303;

[0110] The loading module 301 is used to load the main framework based on GWT and instantiate the main framework;

[0111] The startup module 302 is used to start the main frame loaded by the loading module 301, and start hosting in the main frame;

[0112] The drawing module 303 is configured to schedule pre-stored application program resources in the main frame started by the startup module 302, and draw the application program view according to the application program resources and hosting.

[0113] Wherein, the startup module 302 is also used to set the monitoring of the view to the host in the main frame;

[0114] Correspondingly, the drawing module 303 specifically includes a scheduling unit and a drawing unit;

[0115] A scheduling unit, used to schedule pre-stored applicati...

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 discloses a method for drawing an application view and a device for drawing the application view, and belongs to the field of software development. The method for drawing the application view includes the following steps: uploading a main frame based on Google Web Toolkit (GWT) and instantiating the main frame; starting the main frame and starting a host in the main frame; and scheduling pre-stored application resources and drawing the application view according to the application resources and the host. In the invention, the frame of network applications is built through controls provided by GWT, and the view is drawn in the container frame as per the relationship between the host and the view. The method and the device can achieve highly complex and friendly man-machine interaction interfaces, and can totally use JAVA to develop complex network applications with good user experience; and the network application development efficiency can be improved through the frame.

Description

technical field [0001] The present invention relates to the field of software development, in particular to a method and device for drawing application program views Background technique [0002] Writing web applications is a tedious and error-prone process. Developers probably spend 90% of their time dealing with browser jargon. Additionally, building, reusing, and maintaining large libraries of JavaScript code and AJAX components can be difficult and unreliable. How to improve the development efficiency of application programs has always been the focus of attention and the problem that people are committed to solving. [0003] Existing frameworks for web application development, such as figure 1 As shown, for different browsers, developers need to write AJAX scripts that run on different browsers and write programs that can interact with browsers and run on the server to implement web applications. In addition, the client and server use different Language, developers n...

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 Patents(China)
IPC IPC(8): G06F9/44
Inventor 骆文平金晨
Owner BEIJING MFOX SCI & TECH CO LTD