Dan Farino About MySpace’s Architecture
Dan Farino talks about the system architecture and the challenges faced when building a very large online community. Dan explains how a .NET product scales on hundreds of servers.
Tracking change and innovation in the enterprise software development community
Posted by Obie Fernandez on Nov 24, 2006 04:14 PM
This week, David Heinemeir Hansson announced availability of the Rails 1.2 Release Candidate 1:
It's been almost eight months since the last major release of Rails introduced RJS, respond_to, eager loading, and much more. It's about time we introduced the latest batch of big ideas we've been polishing in the interim.
Since this is a major new release and we've gotten so much incredible uptake even since 1.1, we're feeling the need to certify that things work as well as they can out the gates. Thus, this release candidate to fret out any regressions or major issues with the new features.
Rails 1.2 formally introduces RESTful features that have been on Rails developer's minds since David's keynote at RailsConf 2006. The new scaffold_resource generator helps developers structure their applications REST-style along with the new map.resources directive in routes.rb.
The respond_to handler method for controllers now understands URL suffixes, letting developers write super-concise code for generating the same content as differing types of responses, such as HTML, XML, and RSS.
One of the biggest subjects of criticism about Rails is support (or lack there-of) for Unicode. That's why the official inclusion of ActiveSupport::Multibyte in Rails 1.2 is such big news. In David's words:
While Rails has always been able to store and display unicode with no beef, it’s been a little more complicated to truncate, reverse, or get the exact length of a UTF-8 string. You needed to fool around with KCODE yourself and while plenty of people made it work, it wasn’t as plug’n’play easy as you could have hoped (or perhaps even expected). [...]
With Rails 1.2, we’re assuming that you want to play well with unicode out the gates. The default charset for action renderings is therefore also UTF-8 (you can set another with ActionController::Base.default_charset=(encoding)). KCODE is automatically set to UTF-8 as well.
A screencast demonstrating Rails multibyte support is available.
Many notable deprecations are now in place and will produce warnings in test output and logs. Here is a short list of deprecation-related changes:
Well-known Railser Josh Susser is first out of the gate with commentary about the new release, reminding the community of why release candidates are produced:
The point of a release candidate is to let the code bake for a bit while not making any changes, giving the development team a chance to find any lingering bugs. The developers are saying, "we think we're done, but lets make sure there aren't any showstoppers that we haven't found yet." In one sense it's an admission that test coverage is incomplete, but the world isn't perfect and neither is anyone's test suite.
Feeling adventurous? To install the new release as a gem, simply type the following at your command prompt:
gem install rails --source http://gems.rubyonrails.org --include-dependencies
Alternatively, you can "freeze" the release candidate code for a particular project, by running the following rake task in your project directory:
rake rails:freeze:edge TAG=rel_1-2-0_RC1
In a comment to the Rails blog announcement, David says the final release of Rails 1.2 will happen in a few weeks.
The Agile Business Analyst: Skills and Techniques needed for Agile
Agile Development: A Manager’s Roadmap for Success
IBM software architect eKit: Grady Booch podcast, whitepapers, articles
Evolutionary Design through Agile Development Podcast
Offshore software development: Making it a success with Agile Practices
The Rails blog has three really good posts explaining changes in ActiveSupport, ActionPack, and ActiveRecord
Dan Farino talks about the system architecture and the challenges faced when building a very large online community. Dan explains how a .NET product scales on hundreds of servers.
Bernd Mathiske discusses Maxine VM, Java compatibility, swapping major VM components, research areas, Object handling, code examples, optimizing compiler, snippets, bytecode generation, JNI and JIT.
Joe Armstrong speaks on various aspects of the Erlang language, presenting its roots, how it compares with other languages and why it has become popular these days.
The java double-check singleton pattern is not thread safe and can’t be fixed. In this article, Dr. Alexey Yakubovich provides an implementation of the Singleton pattern that he claims is thread-safe.
Diana and Jim talk about patterns observed in CTOs' activity. CTOs emerge as real people caring for other people in their organization, and are put under a lot of pressure and constraints.
Cloud computing feels like a tomorrow technology. Simon Thurman shows how developers can use Biztalk to create an Internet Service Bus which can be deployed locally or in the cloud.
InfoQ takes a look at the JavaFX preview build and talks to Sun Staff Engineer Joshua Marinacci about the upcoming version 1 release expected this autumn.
Jeff Sutherland, co-creator of Scrum, and Guido Schoonheim, CTO of Xebia, present an actual case of reaching hyper-productivity with a large distributed team using XP and Scrum.
1 comment
Reply