Font Size: a A A

Ajax Web Application Programming Model Research And Application Framework Implementation

Posted on:2008-04-28Degree:MasterType:Thesis
Country:ChinaCandidate:X T ZhangFull Text:PDF
GTID:2178360215982638Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Ajax technology is at the stage of rapid development, which greatly expanded the ability of Web applications. But there are some problems restrict the application of Ajax technology. The paper introduces the development and problems of Ajax. The paper analyses the design theories and methods of Ajax Web applications. Based on that, programming model was present. The programming model is divided into three parts : toolkit, frameworks and components. The toolkit is used to enhance JavaScript proficiency, such as inheritance mechanism, event mechanism and cross-browser support. The framework provides the basic services for the application, such as IoC container, configurable AOP, components management mechanism, event binding mechanism and the security control mechanisms. Application components are the basic functional units; the main task of developers is to develop components. The component is divided into shell and core two parts. Core is a private variable of the shell. Shell can prevent malicious code from the component. And, core holds business logic of the component. There are two ways of interoperability among components. First, using AppEevent mechanism. Second, invoke others indirectly by component manager. Prohibit direct interoperability among components is also to enhance the safety components. Component management mechanism and framework components together constitute the structure of a security mechanism. In addition, the framework provides a configurable security control mechanisms. Components are divided into two categories: widget components and service components. Widget components provide direct interaction interface with the users. Service components provide public services for others. The programming model defines a DataAccessService component, which provides unified data access interface for other components. In the end, a simple Ajax Web application framework has been implemented and a simple example application, the PetStore application, has been built.
Keywords/Search Tags:Ajax, Web, Programming Model, JavaScript
PDF Full Text Request
Related items