Rails v3.0.4 Publish a more efficient web development framework

Source: Internet
Author: User
Keywords Can development framework release higher
Tags aliyun application code configuration developers development development framework framework

The rails framework was first proposed in July 2004, and its developers were 26-year-old Danes http://www.aliyun.com/zixun/aggregation/16482.html ">david heinemeier Hansson." Unlike existing complex web development frameworks, rails is a more realistic and efficient web development framework. Rails combines the advantages of the PHP system (rapid development) with the benefits of the Java System (program regularity), so rails has received extensive attention in the industry for a short time.

Rails's next major release is Rails version 3, which continues to be a quick improvement on the toolkit. As in the past, the software is still very "stubborn", which is still biased towards the convention over configuration. Rails ' core components always exist, namely RESTful paths, relationships, validation, templates, and database abstraction. However, much of the internal content of these components has been rewritten or improved. The most obvious and largely borrowed Merb idea is that many Rails ' basic functions are no longer tightly integrated. For example, the data validation convenience features that were previously available only for Rails applications now become stand-alone components and can be included in Vanilla Ruby code. Controller functions, such as rendering parts and templates, are now independent of each other and can be embedded in any library.

6 major features of the rails framework:

Full stack MVC framework

Rails is a full stack MVC framework, in other words, rails enables you to implement levels in the MVC pattern and make them work seamlessly together.

Conventions are better than configurations

In order to illustrate the relationship between the objects, the common Web application Development framework often uses the method of writing XML configuration files. While this approach can solve some problems, it brings about management confusion.

Less code

Using conventions instead of XML configuration files demonstrates that rails itself has done a lot of low-level work, which means that using fewer code to implement an application is highly likely. In addition, the reduction in the amount of code reduces the likelihood of bugs and reduces the difficulty of maintaining programs and upgrading programs.

Builder

The real-time mapping technology and metaprogramming technology used by Rails eliminates the hassle of developers writing a lot of boilerplate code during development. In a few cases where boilerplate code is needed, developers can create it in real time with a build script built in rails, instead of being written by hand. This feature of rails allows developers to focus more on the logical structure of the system without being bothered by trivial details.

0 Week turn Time

After the modification of the existing Web application system, it usually needs to be configured, compiled, published, reset, test and so on a series of steps to put into use, which obviously wasted a lot of time. Using rails to develop Web applications, you can save a lot of time by looking at the results of your programs in a browser.

Bracket system

Rails ' scaffolding systems can automatically create a set of systems that contain standard CRUD operations and foreground views for any related database tables. Through the stent system, developers can easily and quickly manipulate the data tables in the database. In addition, rails allows developers to replace auto-generated code and views with code or views that they design.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.