Font Size: a A A

Research And Application Of Velocity Template Technology In Electronic Commerce System

Posted on:2011-09-20Degree:MasterType:Thesis
Country:ChinaCandidate:Y LiuFull Text:PDF
GTID:2178360308959115Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
With the continuous development of the computer technology and e-commerce systems, flexible page design techniques are applied in Web Development more and more widely. A strong coupling between page display and business logic exists in traditional e-commerce system based on JSP, which causes some deficiencies,for example, difficulty in system development, high maintenance costs and so on.In order to solve the problem separating business logic from web pages, a "Template Engine" design idea has been put forward. Velocity as a Java-based template engine, it helps enforce a clean separation between the view layer and business logic layer, also it makes up for the shortcomings of traditional e-commerce systems.In this paper, Velocity template technology is explored as the main line: first,study on basic theories, e.g. the working principle of Velocity template, developed technology of Velocity; second, in the view layer, make a discussion between Velocity and JSP from output mode, build mode, storage, catching and handling exceptions; third, research on Velocity template technology in the J2EE application, especially in the lightweight J2EE, integrating Velocity technology can play its flexible page design advantage.Based on previous theoretical research and discussion, this paper introduces a multi-view technology on lightweight Spring-Hibernate framework, in order to achieve Online shop B2C e-commerce systems,two important technologies,which are Velocity templates invoked and template management module,are applied.The practice shows that: application of Velocity templates in the traditional e-commerce system can also be expanded, Velocity technology is not just limited to e-mail page template generation, it can also be applied to all the customer-oriented page generation. The design reduces the burden of the page designers, meanwhile,it improves the efficiency of system development and maintenance.
Keywords/Search Tags:e-commerce systems, Template Engine, Velocity template
PDF Full Text Request
Related items