RoR explained

ROR is Ruby on Rails. Ruby is a well-known has been very good dynamic language It's dynamic language. Simple and easy. Dynamic languages are interpreted, but the performance may make a discount, but not absolute, because the application is complex, the performance is a comprehensive, this in a test has been to respond to.

In accordance with the Rails4Days.pdf

1. To install and configure surprisingly easy.

Installed ruby182-14.exe, use gem to install rails. ruby are gem of install. gem install rails it. In response to questions when the election y.

2. To generate a web application easier.

ruby rails <directory name>

On the generation of a set of web applications, and database configuration click. config / database.yml, look know configuration.

mysql should be ready to create data sheets.

3. Code Generation

ruby script / generate <type> <name>

MVC can be born in, the framework can also be, as well as WebServices

Generator can also download it too is no less chilling.

When Hibernate3, EJB3 is still there around the time to go around, Spring, Hivemind still there when concealment, MDA and UML is also a time when according to Yunshan fog, ROR has been hard work.

Can code generation, CRUD as long as the sentence, it can be said is very convenient presentation, the volume of generated code is very small, change them easily, use a period of time I feel very close to the business idea, or that human grammar. Display layer or, like most embedded script, type JSP. However, because dynamic languages are very concise, in fact looks more streamlined than the tag.


Whether to support large-scale application?

How many people support it?


In general, people worry about ROR is: Can a long time it? The stability of the procedure? The performance?

Has a performance test, it is said ROR> Hibernate + Spring + Struts, was also more than 15-20%. Dare to say that the total background a bit, particularly since the development of speed to> 10 times more. But forget the URL, google check on the know.

Various frameworks have been tortured for a long time, suddenly found such a refreshing thing, has not used, how can this be the case, DAO always define a Base, and with a find function to write 10, and now, how can such a simple it simply became a casual.

find_all on the list? find (@ params [: id]) directly from the parameters in the query object? Tapestry also from OO, than Hibernate also ORM, this is simply a devil. Can and C interfaces, C go into business-critical. Than the MVC would also like to MVC, the obvious question now is can not be separated from the issue of art, because art can not be such a code to handle the matter.

Object with the database connection more natural, and this let me think of the Delphi, only because of Borland in the control, Object Pascal can be very beautiful, VCL is a complete, ruby the same way?

Ruby looks very much absorbed many of the Java community thought, this is a dynamic performance, if this momentum be maintained, would like to spread the Internet, like php. Although the php now have the feeling of old, but because of the beginning of one of the fresh air it has to survive to the present.

ROR very fit to do applications, rapid application, this does not mean do not fit large-scale applications, because not seen the current large-scale applications, did not dare talk nonsense at the end did not mind. The bottom of the application do not know if suitable, because the bottom of the application in general are often middle-level language world, as the C type, Ruby should be able to enter port, but is unlikely to directly make the bottom bar.

Think of the previous description of Perl, glue, a very true Fool itself can not seem to do , but they can stick together quickly to a thing, if the glue strength enough, and even stick out of a building. Ruby also as this is the glue, the web is now stronger than perl

分类:Ruby 时间:2009-02-27 人气:1002
blog comments powered by Disqus


  • In the Linux platform to install and configure Ruby on Rails Detailed 2009-03-02

    ruby on rails recommend the production environment is running Linux / FreeBSD / Unix, or Unix family of operating systems, using lighttpd + FCGI solution. The following will be my Linux operating system, lighttpd + FCGI, MySQL database as an example,

  • 简单对比分析Ruby on Rails 和 Laravel 2014-03-14

    web应用程序开发中两个相对而言更加流行的框架是 Ruby on Rails 和 Laravel. 它们两个都是非常成熟的项目,已经面世相当长一段时间了 . 在线web应用程序开发目前有许多正流行的框架. 也有许多不同类型的框架,比如那些拥有大量插件,可以让你更加快速的迭代 (比如 Rails),或者还有其它非常简单和低级别的 (比如 Flask). web应用程序开发中两个相对而言更加流行的框架是 Ruby on Rails 和 Laravel. 它们两个都是非常成熟的项目,已经面世相当长一段

  • Ruby on Rails and to use Action Web Service to create Web Services 2009-05-25

    Action Web Service Module will be at Ruby on Rails implementation of Web services. Action Web Service will be the creation of SOAP and XML-RPC Web Services in support of server-side protocol. You can use the Declaration and the Action Web Service rel

  • Easy set up with a novel Ruby On Rails web site 2010-03-10

    Development Tools: RadRails 1: First create a project (New Rails project), RadRails which could have been built, created when the option Rails version and database, the database, select a Mysql database, Rails2.3.4 version, to determine generated (th

  • Ruby on Rails Small Web site Performance Optimization step 2010-05-13

    Geek Express is my way by agile developers out a few days out of a RoR site, on-line a month, although the middle and gradually have to add some small features and improvements, but the speed and performance has been not too much to consider, so far

  • 使用Ruby on Rails快速开发web应用的教程实例 2014-07-09

    这篇文章主要介绍了使用Ruby on Rails快速开发web应用的教程实例,本文来自于IBM官方技术文档,需要的朋友可以参考下 Ruby on Rails 正在令整个 Web 开发领域受到震憾.让我们首先了解底层的技术: Ruby 是一门免费的.简单的.直观的.可扩展的.可移植的.解释的脚本语言,用于快速而简单的面向对象编程.类似于 Perl,它支持 处理文本文件和执行系统管理任务的很多特性. Rails 是用 Ruby 编写的一款完整的.开放源代码的 Web 框架,目的是使用更简单而且更少的

  • Web开发人员的利器:Ruby on Rails 2014-03-09

    工具发展简史 人类的发展就是工具的发展.从石器到木棒和矛,再到火器,我们学会了如何更有效地捕猎.从观看星像到指南针,再到海洋精密计时仪(marine chronometers)和全球定位系统(GPS),我们发现了如何更好地进行导航.从书信到电报,再到电话和互联网,我们将人类通讯的方式进行了革命.人类能够进行创新.我们能够发现解决问题的更有效的方法.我们能够创造更好的工具--这些工具对于我们所要解决的问题来说,显得更具有针对性和专门化,因而更为高效. 程序员也一样.优秀的程序员总是在寻找解决问题的

  • Let Ruby On Rails into the Embedded Development 2009-03-17

    In the embedded Linux development, and C are a pair of golden partner, almost to occupy the vast majority of the domestic market and become the mainstream model of embedded development. At present, for some equipment to do configuration interface, ma

  • Ruby On Rails (1) hellowolrd 2009-03-22

    1. What is Ruby On Rails Ruby On Rails is a Ruby-based Web development framework. Ruby is an object-oriented scripting programming language. 2.Ruby has the following advantages: Explanation-based implementation, convenient and quick Ruby is the inter

  • Introduced the Ruby On Rails 2009-11-10

    === To This article from the PHP and Web programmers point of view, and gradually bring out the Ruby on Rails and Web Application Framework of the advantages of the concept structure. Next Introduction to

iOS 开发

Android 开发

Python 开发



PHP 开发

Ruby 开发






Javascript 开发

.NET 开发



Copyright (C), All Rights Reserved. 版权所有 闽ICP备15018612号

processed in 0.181 (s). 12 q(s)