摘要 |
A system and method for processing a Widget at a Web browser. The system includes: a code analyzer for analyzing codes of a Widget to generate an event-instruction mapping table; an event dispatcher which, in response to monitoring of an event of the Widget, queries the event-instruction mapping table to determine whether a corresponding instruction needs to be executed; and a code parser which executes or invokes other means to execute the corresponding instruction, in response to that the event dispatcher determines the corresponding instruction needs to be executed. It is possible to correctly render a Widget at a client without the need to perform more work by a corresponding server.
|