- Inc. Technology - http://technology.inc.com -
Ajax On Rails: A Web Application Shortcut
Posted By Renee Oricchio On October 1, 2007 @ 12:00 am In Setting Up a Website | No Comments
In three years, Tobias Lutke has grown his Ottawa, Canada startup company, Shopify [1], into an online marketplace of more than 2,000 stores. MSN Shopping, which has more than 8,000 stores, probably isn’t losing any sleep over Shopify, yet. But the way things are going for Lutke, who is one of only five people that staff the company, it may not be long.
The secret of Shopify’s success: the Web application framework, Ruby on Rails [2], and the programming language, Ajax. Both are open source, free, and insanely easy to use to develop websites, he says.
“When we incorporated three years ago, our business was actually going to be a retail store. But in looking around for software to build an additional ecommerce platform, we found Ruby on Rails,” Lutke says. “With Ruby on Rails, we were selling online within two months with a fully functional ecommerce site that included an online catalog and checkout. It was so easy and fun to work with we completely abandoned the idea of a retail store by the next year.”
What makes Ruby on Rails so advantageous compared to other frameworks is that it provides a boilerplate of foundational code, so developers don’t have to build from the ground up.
“It eliminates all that initial busy work. Programmers can focus on the coding that makes their application unique,” says David Heinemeier Hansson, the Chicago-based developer who created Ruby on Rails.
With more than 10,000 members in his online community of Ruby on Rails enthusiasts, Hansson says most companies adopting his Web framework are smaller businesses and here’s why:
Enter Ajax
While Ruby on Rails provides the framework, Ajax is the programming language that provides all the bells and whistles on top. As mentioned, it is an open source code, as well, and is free and easy to use.
Together, they are a Web developer’s dream team. “Ruby on Rails was one of the first Web applications to take Ajax seriously. We now treat it like an essential piece to our framework,” says Hansson.
While developers love the ease of use working with Ajax, business owners love the results: a far more elegant and easy-to-use site especially when it comes to ecommerce.
“Typical Ajax-like behavior allows elements of a site, like adding comments to a blog or adding a product to a shopping cart, to update without requiring the entire page to reload. Visual effects that highlight those changes, called the yellow fade technique, replace that jarring change to an updated page,” says Hansson.
Aside from the aesthetics of Ajax, the benefits to selling online are enormous:
Article printed from Inc. Technology: http://technology.inc.com
URL to article: http://technology.inc.com/2007/10/01/ajax-on-rails-a-web-application-shortcut/
URLs in this post:
[1] Shopify: http://www.shopify.com/
[2] Ruby on Rails: http://www.rubyonrails.com/
Click here to print.
Copyright © 2011 Inc Technology. All rights reserved.