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


   

 
 
Download Current Issue
ISSUE 7/1/2009 PDF

Need Back Issues?
DOWNLOAD HERE

Receive the print Edition?


 
A knockout blow for Borland?
MicroFocus has upped its offer for Borland Software to $1.50, hoping to chase off a mystery suitor also pursuing the ALM vendor.
07/06/2009 12:26 PM EST

Is the mystery Borland suitor Serena?
Borland software is considering an offer from another company after a preliminary deal with MicroFocus. Is Serena the new company?
06/30/2009 01:55 PM EST

Windows 7 - An eBayer's dream product?
Windows 7 pre-orders can make people money on eBay.
06/29/2009 03:48 PM EST

 

Microsoft Worldwide Partner Conf.
7/13/2009 to 7/16/2009
New Orleans
Microsoft

OSCON (Open Source Convention)
7/20/2009 to 7/24/2009
San Jose
O'Reilly Media

XBRL Technology Workshop & Summit
7/28/2009 to 7/30/2009
Santa Clara
XBRL US

ACM SIGGRAPH
8/3/2009 to 8/7/2009
New Orleans
ACM SIGGRAPH

OpenSource World (formerly LinuxWorld)
8/12/2009 to 8/13/2009
San Francisco
IDG World Expo


 
Most Read Latest News Blog Resources

Merb 1.0 offers an alternative to Ruby on Rails




October 14, 2008 — 
In response to the Merbivores railing against Rails, the first release candidate for Merb 1.0 was released, and it's squarely targeted at developers who want Ruby but find Rails frustrating. The release came yesterday at Merb Camp in San Diego.

Ruby on Rails has long been praised for its no-nonsense, straightforward Web development model. The Merb framework attacks the problems that have appeared as Rails became popular, such as its limited database connectivity and slow restart times. Eighty percent of developers, so the reasoning goes, need to build database driven Web applications; Ruby on Rails can make that easy and fast. For the remaining 20%, however, Rails can feel like handcuffs.

Yehuda Katz is the maintainer of the Merb project. “Most people do the same thing, and having everyone start from scratch and do millions of lines of config is not worth it,” said Katz. “Usually, if you were out of the 80/20 rule, Rails was frustrating.



“Merb 1.0 aims to be roughly as easy as Rails to get up and running,” said Katz. “Because of a lot of the assumptions in Rails about how databases work, you're very limited in what you can use. Because Merb doesn't make a lot of assumptions, it was very easy to add an adapter to Salesforce. If you're connecting to a Web service with Merb, it's easy to  write a good integration without running afoul of assumptions in the framework.”

The differences between Merb and Rails don't end there. Katz said that this first release candidate of Merb 1.0 includes a lot of improvements made to the server runtime.

“Rails has notorious complexity on the server deployment. But once Merb gets on the server, it's easier to control. It's much easier to restart without having downtime. We had to get into the guts of how server operating systems work, which is something Rails rightly avoided. With restarting a Rails server, you can have 30 seconds to a minute of downtime. With Merb you have almost no downtime.

“A lot of people say Rails doesn't scale, and that's not really true. But unlike PHP or Java, Rails is only recently multithreaded. Ruby also has a poor threading model. One of the main purposes was to make sure Merb scales more efficiently. When you have a bunch of Merb workers serving Web requests, a lot of the memory they're using is the same. It doesn't change in each version or in each worker. There are ways you can get the OS to share memory between those workers. We actually built this into Merb."

The project is based at www.merbivore.com.


Related Search Term(s): Rubysoftware developmentMerbRails


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

Add comment


Name*
Email*  
Country     


  • Comment
  • Preview
Loading