Bindings, Platforms, and Innovation
This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.
Tracking change and innovation in the enterprise software development community
Posted by Mirko Stocker on Nov 21, 2008 08:10 AM
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
Download the Free Adobe® Flex® Builder 3 Trial
The Agile Business Analyst: Skills and Techniques needed for Agile
This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.
This article explores the use of JBoss and jBPM to implement design solutions that effectively address the issue of orchestrating long running activities.
This presentation covers the use of graph databases as an optimal solution for data that is difficult to fit in static tables, rapidly evolving data or data that has a lot of optional attributes.
This session introduces Real Options and shows how it can help in running your project. Real Options is a decision-making process that can be used to manage risk.
This article discusses the use of bindings on services and references (including the instance of non-configured bindings) as the means to implement SCA communications in a Web and SOA environment.
After a short introduction to DSLs, Scott Davis plays with the keyboard showing how to approach the creation of a DSL by typing working snippets of Groovy code that get executed.
IBM Rational and InfoQ present, Scaling Agile with C/ALM, an eBook showing organizations how to become “finely tuned software delivery machines” by enabling team integration and scaling.
Amanda Laucher presents a real life enterprise application written in F#. She shows actual code snippets, explaining design decisions and suggesting how to use some of the F# constructs.
2 comments
Watch Thread Reply