BT
x Your opinion matters! Please fill in the InfoQ Survey about your reading habits!

Joyent Slingshot: Enable Rails Applications to Run

by James Kao on Mar 26, 2007 |
Hosting provider, Joyent, recently announced an early testing program for Slingshot, a framework that enables the development of Rails applications that function both online and offline.:
Joyent Slingshot allows developers to deploy Rails applications that work the same online and offline (with synchronization) and with drag into and out of the application just like a standard desktop application. Joyent Slingshot is a simple and lightweight mechanism to cleanly synchronize online and offline data. You, as a developer, can provide an ActiveRecord transport layer allowing easy customization of the data that gets synced to your application’s who, and when, and how. With the addition of about thirty lines of code, your Rails application can sync data from client to server. With another thirty lines of code you synchronize have file-based data.
This news was picked up by Jeff Mancuso on the magnetk blog, who added additional detail on how Slingshot works. Slingshot is not the only recent framework to target desktop applications using web technologies. Adobe's Apollo runtime uses Flash, Flex, HTML, and Ajax to deploy desktop-based rich internet applications. SitePen released the at the beginning of the year which enables browser-based applications to be adapted for offline use. Even Firefox 3 adds an offline datastore that applications can access while offline.

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

I would love to use an off-line Ruby on Rails application by Donald Parish

Now that I love Ruby on Rails, I don't want to have to go back to, say Visual Basic inside an Excel sheet to do an offline Purchase Order application. Want to use one set of skills to production my business apps.

What is it really? by Marcus Breese

I left a comment on the Magnetk blog to this effect, but my question is, what is it? Is there some sort of GUI special sauce, or is this just an embedded web server and an undecorated web browser widget?

Is it basically the addition of an offline mode and syncing for the underlying data layer?

I'm all about bring web apps offline, I just want to know how cool this really is...

In Java-land, I've done something similar before with a combination of Eclipse RCP, embedded Tomcat, and Derby.

wiki.eclipse.org/index.php/RCP_Browser_Example
www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html (old but good)

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

2 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT