Ruby on Rails: Moving Forward

Source: Internet
Author: User
Tags php development environment ruby on rails

This article is original. Reprinted Please note:
Author: Utensil
Blog:Http://blog.csdn.net/utensil/
Email:Utensilcandel@gmail.com

 

Finally, I bought practical rails projects. It turns out that this article "conquer Ruby on Rails" has blossomed everywhere, but it is a little bit simple and difficult to understand. For example, we can only understand the rapid development of scaffold by ror crud, but it is still difficult to use this framework to create a real website. The Ruby on Rails community website development, which was originally intended to be bought together, was launched on the Internet by the community website developed in the book. I checked it and I had no liking for it, so don't buy it.

 

After I bought it, I went to apress and fecit to download all the source code (very slow and difficult), set up the new version of Aptana Studio 2 radrails for IDE, and started the project, this book is intended for rails 1.x.pdf ...... There are other outdated aspects, such as the acts as authenticated plug-in used in its monkeytasks project, which is no longer under development. Next, the restful_authentication plug-in is the torch, compared with the original, there are also many subtle changes. In general, it is easier to use and more convenient, however, it took me a lot of time to figure out what to do with the book and try it out. However, porting has always been a very interesting task. What do I mean by following the books step by step? (The transplant details are not described here. See http://d.hatena.ne.jp/zariganitosh/20080726/1217141005)

 

Now it is basically back to Windows. Some time ago, I was looking for a job, changing my resume, or using Office 2007. I had a lot of Q and was stuck by tornado downloads, QQ audio and video, QQ pinyin, and ftprush, so I seldom go back to Linux. Bringing many of Linux's habits back to Windows, such as surfing the internet or using Firefox-the online favorites of roaming cannot be connected and cannot be trusted; at the same time, traveling is often suspended-Firefox and firegesture, easy dragtogo, and Foxmarks are added to favorites online. These plug-ins are fully functional and fast, far better than traveling, you can only go back to the websites that are not properly written.

 

In Windows, XAMPP is used to re-build Apache + MySQL + PHP + phpMyAdmin and Windows version of Zend studio. It is indeed a very good cross-platform PHP development environment, here we recommend http://www.zendstudio.net/this blog, there is Qi Zend studio in the platform download link, and even the registration machine, the article is also wonderful.

 

Aptana Studio is an excellent cross-platform Web 2.0 development environment. It provides comprehensive support for HTML, CSS, and JavaScript (it is much more comfortable to automatically complete this part than Zend studio. The only drawback is that no WYSIWYG editing is available, but in fact this is rarely used in Web 2.0 ), it also provides comprehensive support for various Ajax libraries, PHP, Python, Ruby on Rails, air, CVS/subversion, and SQL explorer in the form of plug-ins, and such a good thing is free! Its commercial version only has some features that we usually don't need.

 

Aptana Studio is based on Eclipse and has Eclipse plug-in and standalone versions. We recommend you download standalone version. Anyone familiar with eclipse knows that the dependency of its plug-ins is often troublesome, standalone, which is well integrated. We recommend that you download the zip version instead of the setup version, because the latter may encounter some inexplicable running errors, which are unstable, and metadata directory names may be garbled, while the latter is the green version, no. The download page is http://www.aptana.com/studio/download. Another problem is that after studio is downloaded, we need to use plug-ins to update the radrails environment. However, it may be that the network here is too slow and it will take a long time, and eventually will fail, so we suggest you download the Update site to the local, the address is the http://update.aptana.com/update/, there are a list of various plug-ins, such as point radrails in, in the following manual installation section, you can download the Update site to your local computer, so that the plug-in is installed very quickly. If there are instructions, I will not describe it here.

 

Radrails comes with jruby and a common Ruby library. It also automatically comes with the Derby database produced by Apache, which is as small as SQLite and based on files. It can be used as a database during development, switching the database to ror is only a matter of several lines of configuration files. Radrails also comes with the mongrel server and a built-in browser. With radrails, Ror is easy!

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.