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

Web page event processing method and system, as well as page controllers

A technology of page events and processing methods, applied in the direction of program control devices, etc., can solve problems such as page unresponsiveness and error reporting

Inactive Publication Date: 2016-11-23
ALIBABA (CHINA) CO LTD
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the application provides a Web page event processing method, system and page controller, which are used to solve the problem that may occur when the page object modules are not loaded in order in the existing way of using the Controller set to control the communication between different Modules. The page does not respond or reports an error

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 page event processing method and system, as well as page controllers
  • Web page event processing method and system, as well as page controllers
  • Web page event processing method and system, as well as page controllers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0041] The embodiment of the present application provides a web page event processing method, wherein the web page includes multiple page object modules, and each of the page object modules includes a page controller. Generally, a page object module includes only one page controller. For specific treatment methods, see image 3 , image 3 It is a flow chart of a Web page event processing method disclosed in the embodiment of this application.

[0042] Such as image 3 As shown, t...

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 application discloses a Web page event processing method and system, as well as page controllers. The Web page comprises a plurality of page object modules, wherein each page object module comprises one page controller. The method comprises the following steps: one page controller utilizes a preset event listener corresponding to an event trigger in another page controller to conduct listening on the event trigger; when the event listener listens to trigger information generated by the event trigger, the event listener conducts the corresponding action. According to the application, as the page object modules in communication relation conduct communication through the corresponding event triggers and event listeners, and the event listeners can only conduct corresponding actions when detecting the trigger information generated by the corresponding event triggers, so that no matter which one of the page object modules where the event trigger and event listeners are located is loaded first, the normal communication cannot be influenced.

Description

technical field [0001] The present application relates to the technical field of software, and more specifically, relates to a method, system and page controller for processing Web page events. Background technique [0002] The classic MVC (Model View Controller, Model-View-Controller) framework such as figure 1 As shown, the mutual communication between different page object modules in the web page is controlled by the Controller collection. The Controller collection needs to load all the page object modules in the web page in a specific order, and then handle the communication between the page object modules. Control dispatch after event event. [0003] When loading page object modules, the loading order of each page object module must be fixed, otherwise the page will not respond or report an error directly, affecting the normal communication between page object modules. For example figure 2 As shown, the text module, picture module and paging module must be loaded in...

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
IPC IPC(8): G06F9/44
Inventor 贾来宾
Owner ALIBABA (CHINA) CO LTD