Ruby On Rails has been a hot topic recently On the Internet. Many people have given him the praise of the "alternative to Java Enterprise Application Development. Even a foreigner said on the Internet that a project with Java4 months was completed in Ruby4 days (if this project does not consider demand analysis, prototype iteration, and a large amount of testing and patching work time, I just want to make a fake product. I also agree with this statement, but if it is implemented using php, it is estimated that it will be completed in one day ). So I had to look at this little brother with surprise. See if he has the potential to become a favorite of millions of enterprise application developers. After reading several of its tutorials, I was surprised.
RoR is only a script language + GUI code generator that can generate SQL, action, controller. rb file and. from this perspective, there is no innovation between RoR and Perl and php, and there are already countless tools for generating complete php-based code. The so-called controller action mode in it has long been used in the php Project (For details, refer to phpbt ).
It is still earlier for RoR to replace enterprise application development. First, the security of the language is not fully tested. The simplest is that the script cannot be pre-compiled or encrypted. In addition, Ruby also requires support from a large number of enterprise function libraries. Let's look at PHP. There are a lot of functions, such as LDAP and Mail.
Ruby is still a long way to compete with various languages such as Python, Perl, and PHP. However, if Ruby is closely integrated with Java, it can be used as a supplement to Java Script like Groovy.
But in general, it is not worth a lot of effort. It is better to pay attention to PHP. Didn't IBM say it should also boost PHP products?
Trackback: http://tb.blog.csdn.net/TrackBack.aspx? PostId = 563665