Font Size: a A A

Research And Implementation Of A New MVC Framework Based On Ajax

Posted on:2010-11-29Degree:MasterType:Thesis
Country:ChinaCandidate:J WangFull Text:PDF
GTID:2178360275999408Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
In this paper, Ajax technology and MVC pattern are closely combined, a new MVC framework is designed. After using this framework, the client requests of a web application are almost Ajax requests. The concept of Container is proposed for the first time in this paper, the representation of Container tree structure is put forward and the analytical and generation algorithm for this representation is designed. Compared to the traditional XML format or JSON format, the new information representation of the tree structure occupys less storage space and obtains higher analysis of efficiency. In this paper, The request process of the new framework is designed by learnning JSF lifecycle which is more complex. In this paper, accessing related properties of Contamer directly from the VTL file is realized by combining Java reflection mechanism with Velocity. The new framework greatly simplifies the DOM and Ajax programming by drawing jQuery into it. Compared with Struts, developers don't need to write a profile and do not have to consider the complexity of the page jump when apply the new framework; compared to Brasato, customizing page styles are more flexible. In addition, being improved, the new framework also supports the cluster environment.
Keywords/Search Tags:Ajax, MVC, framework, Container, cluster
PDF Full Text Request
Related items