News on Monday
more>>
SharePoint Tech Report
more>>


   

 
 
Download Current Issue
ISSUE 3/15/2010 PDF

Need Back Issues?
DOWNLOAD HERE

Receive the print Edition?


 
blogs tab
ASP.NET MVC 2 Ships
ASP.NET MVC 2 has shipped.
03/12/2010 10:26 AM EST

Microsoft plans 'open' Silverlight analytics framework
Microsoft is going to announce a multipurpose analytics framework for Silverlight at MIX.
03/11/2010 09:51 AM EST

About CSS processing
Two sites that lead to a startling CSS conclusion.
03/10/2010 02:29 AM EST

 

Events calendar tab
3/14/2010 to 3/18/2010
Seattle, Wa.
SHARE

3/15/2010 to 3/18/2010
Santa Clara, Calif.
TechWeb

3/15/2010 to 3/17/2010
Las Vegas
Microsoft

3/16/2010 to 3/19/2010
Las Vegas
Penton Media

3/17/2010 to 3/19/2010
Las Vegas
TechTarget


 
Most Read Latest News Blog Resources

Ruby on Rails 2.0 Pulls Into Station


New version expands REST support, resource handling



January 1, 2008 — 
Ruby on Rails 2.0 chugged into the depot in early December. The new version of this open source Web framework brings with it numerous improvements to the granular syntax of ROR development, and to the way that basic resources are handled.

For developers coding things such as change management systems or forums, a new namespace for routing resources will allow for easier restriction of administrative screens and limited access areas. The push for simpler and more plentiful resource handling also led to the decision to make all resource-based controllers plural by default, allowing users to map multiple contexts and still refer to the same controller.

Of course, improved REST support implies that the framework has moved closer to the HTTP layer itself, and indeed it has. A new module in RoR 2.0 handles authentication and HTTP handshaking; giving the framework a new way to verify APIs via SSL. Also added in version 2.0 is support for HTTP-only cookies, a standard that is not yet supported in all browsers.

Rescuing common exceptions in RoR has previously required an elaborate dance with the command. In version 2.0, a new, more generic “rescue” command has been added to allow developers to declaratively point exceptions to specific actions, such as passing an unauthorized user off to a null page.

Debugging is still something of an Achilles’ heel for Ruby developers, but RoR 2.0 attempts to help with this problem by including a new request profiler. The profiler outputs information on bottlenecks in automatically generated HTML reports.

RoR 2.0 is available for free online at www.rubyonrails.org. The framework may also see a small update to accommodate version 2.0 of the Ruby language, which was expected to arrive in time for Christmas.


Share this link: http://www.sdtimes.com/link/31481
 

Add comment


Name*
Email*  
Country     


  • Comment
  • Preview
Loading