Rails 3.0 Release Candidate |
Wednesday, 04 August 2010 | |||
It is arguable that Ruby on Rails is the reason why the MVC architecture is so popular so, even if you don't use Rails, the fact that there is a release candidate of version 3.0 is important. Where Rails goes others follow. You can try out Rails 3.0 very easily with a simple install command. The main emphasis of the release seems to be speed improvements. As with all interpreted languages, speed is an issue and the Rails framework is quite demanding. It is claimed that speed is good across all aspects of operation apart from Active Record, and it is hoped that will be fixed before the final release. The key improvement is support for shallow routing which produces shorter URLs. There are also some upheavals that require the Rails programmer to learn new ways of doing old things. The routing API has been completely redesigned. The new way is arguably cleaner and more Ruby-like. Old routes are deprecated but still work - for now. There is also a new API for model validation and traversal. The view has also been changed to make all Javascript unobtrusive and a number of minor change will make code changes necessary. The mail facilities have also been completely redesigned to make it more like a controller.
The best way to sum these changes up is to say that if you are about to buy a Ruby book - make sure it applies to version 3.0. The release candidate has support for the MySQL2 gem, which takes care of MySQL encoding issues on Ruby 1.9.2.It also fixes problems with autoloading and web encoding. You can download the release candidate from http://rubyonrails.org/
<ASIN:1430224339> <ASIN:0321601661> <ASIN:0596521421> <ASIN:0321743121> |
|||
Last Updated ( Sunday, 08 May 2016 ) |