Font Size: a A A

The Research And Application Based On ROR Framework

Posted on:2011-11-01Degree:MasterType:Thesis
Country:ChinaCandidate:G LiuFull Text:PDF
GTID:2178360305982246Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Today is at the stage of the economic globalization and the continuous development of social information. With the rapid development of internet and web technology, more and more enterprise business turns to web platforms. But as the increment of web application and the diversification of requirement, the business rulers and content comes more and more complex, so the method arid efficiency of web development face great challenges. To promote the Web application development with a simple developed process, low costs and high efficiency, Web frameworks and agile development method come out. Before the emergency of Ruby on Rails framework, the main frameworks on Web application development include frameworks such as struts, spring or hibernate based on J2EE platform and Web Form framework based on.Net platform. Both of them provide an excellent software design pattern and a sophisticated software model, as well as a large number of reusable components or codes, which achieve the majority of market of the enterprise-scale Web applications. However, as the increment of business rules, frameworks based on J2EE and.Net gradually exposed their limitations:frameworks based on J2EE advocate the adoption of a large number of XML configuration documents to coordinate the interfaces of various components and communications among them. All these XML configuration documents contribute to a bloated framework, which is unable to satisfy the actual requirement in the development efficiency and performance. As.Net is not an open source platform, the flexibility and scalability of frameworks based on.Net may be poor. Ruby on Rails is a framework to provide the settlement for these defects existing in modern Web development frameworks.Ruby on Rails, also referred to as Rails, is an open source Web application framework which based on the Ruby language and strictly designed by MVC software design pattern. ROR tries to keep it self simple to make the actual application development with less codes and minimum configurations. The most important design principles of Rails include "DRY (Don't Repeat Yourself)" and "COC" (Convention over Configuration). It is precisely because the seamless integration between Rails and the dynamic language, Ruby, Rails enables a easier development way and a shorter development cycle. ROR appears a strong advantage in rapid development and deployment of web application, and also reducing development costs.In this paper, it introduces the background and significance of Rails frameworks from the perspective of software architecture, frameworks and design pattern; what's more, it does a research on the various features of the Rail framework, architecture design style, the core architecture and crucial technologies. It takes a detailed comparison between the current popular J2EE framework and Rails framework, and gives an in-depth analysis on the differences between the Rails database model ActiveRecord components and J2EE-Hibernate data model component. Then, it realizes the actual development of the MRI management system based on Ruby on Rails framework with a variety of agile development methods, taking advantage of some new features such as the Rails code generator, Ajax technology, and other techniques.
Keywords/Search Tags:Ruby on Rails, J2EE, .Net, framework, MVC
PDF Full Text Request
Related items