10 tips on how to prevent business value risk
One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.
The content has been bookmarked!
There was an error bookmarking this content! Please retry.
Posted by Mirko Stocker on Nov 21, 2008
After two release candidates in the last few weeks, Rails 2.2 has finally been released. Although the version number doesn't indicate a huge step, there are a lot of new features in Rails.
A long anticipated issue finally resolved—Rails now offers a framework for internationalization tasks. Mind that this doesn't mean that Rails now supports any other locale than en-US out of the box, it just makes it easier to hook other internationalization implementations into Rails. Sven Fuchs explains the goals and motivation of Rails' internationalization support in his blog:
The first part is the API itself which is just a Ruby module with a bunch of methods that will be used by Rails and delegate all requests to a backend.
The second part is the Simple backend which implements whatever is necessary to re-localize Rails back to en-US.
If you would rather see a quick example, have a look at Trevor Turk's simple localization blog.
With version 2.2, Rails is finally thread-safe, thanks to Josh Peek's Google Summer of Code project. With this step also comes the necessity of connection pools. But what does thread safety actually mean for Rails? From the release notes:
Depending on your web server infrastructure, this means you can handle more requests with fewer copies of Rails in memory, leading to better server performance and higher utilization of multiple cores.
JRuby's Charles Nutter also wrote a detailed blog entry answering that question: "it means removing the single coarse-grained lock around every incoming request and replacing it with finer-grained locks around only those resources that need to be shared across threads".
The internal documentation of Rails has been improved at many places, and there's also the Ruby on Rails guides site with many extensive and profound articles on topics such as security, testing, debugging.
Other changes include the new mailer layouts, or comfortable memoization to make your code more readable. Another new feature is the simpler conditional get support, which we already covered in a recent Rails roundup on ETags. Some last minute changes were done in RC2, namely the improvement of the request forgery protection and tuning of the ActiveRecord connection pooling code.
There are a lot more changes than what we've presented here, you can find a more comprehensive list in the Rails 2.2 release notes.
Rails 2.2 depends on very recent Ruby Gems 1.3.1 installation. If you are having trouble with the update of Ruby Gems, take a look at Eric Hodel's blog for details.
Afterwards, you should be all set to install Rails:
gem install rails
Improve Java Garbage Collection, Runtime Execution, and JVM visibility with Zing
Mobile and the New Two-Tiered Web Architecture
Why NoSQL? A primer on Managing the Transition from RDBMS to NoSQL
A Guide to Branching and Merging Patterns
Getting Started with Stratos - an Open Source Cloud Platform
One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.
InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.
Alex Papadimoulis discusses ugly code, where it comes from, how to avoid it, and how to get rid of it.
John Davies examines Visa’s architecture and shows how enterprises have architected complex integrations incorporating Hadoop, memcached, Ruby on Rails, and others to deliver innovative solutions.
Sean Comerford unveils ESPN.com’s architecture, what components are used and why, and the current changes the website goes through.
Are there repeated patterns of failure on Enterprise Agile Enablement efforts? Sanjiv and Arlen discuss Seven Deadly Sins to avoid when adopting Agile in an enterprise.
Erik Dörnenburg answers: What is Enterprise and Evolutionary Architecture?, discussing 4 issues: Turning strategy into execution, Ensuring conformance, Where do the architects sit? Buying or building?
Sean Cribbs explains what Map-Reduce and Riak are, why and how to use Map-Reduce with Riak, and how to convert SQL queries into their Map-Reduce equivalents.
2 comments
Watch Thread Reply