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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


