摘要
随着Web应用的普遍以及需求的多样化,其结构和内容越来越复杂,设计开发也越来越困难,开发者迫切需要能简化开发过程,降低开发难度的框架,现有的Web应用框架却都不尽如人意,最近兴起的Rails则是极大地响应了这种需求的一个Web应用框架。首先简要介绍MVC设计模式,分析当前Java平台上各种Web应用开发框架的不足,然后详细论述Rails框架的各种特性、核心体系结构以及关键技术,结合实例讲述运用Rails进行Web应用开发的过程。以该框架为基础构建Web应用系统,缩短开发周期,降低开发代价,在迅速开发和部署Web应用方面体现了强大的优势。
Along with the popularization of web application,the requirements of web application are varying, its structure and content are complicated, and it's more difficult to design and develop it. Developers are in need of a web application framework with convenience to simplify the process and reduce the difficulty of development, which web application frameworks in existence can't provied. However,the new framework Rails meets the need. The paper introduces the MVC design pattern and analyses the disadvantages of web application frameworks on Java platform,and then introduces and analyses web application Framework - Rails,explores its features,kernel architecture,key technologies,illustrates the process of developing web application using Rails with examples. Based on this framework,the Web application can be constructed and deployed quickly and expediently at low cost,which is the greatest advantage of Framework - Rails.
出处
《计算机仿真》
CSCD
2006年第2期270-274,共5页
Computer Simulation
关键词
网络应用
模型
视图
控制器
模式
框架
Web application
Model
View
Controller
Design pattern
Framework