BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Joyent Slingshot: Enable Rails Applications to Run

Joyent Slingshot: Enable Rails Applications to Run

This item in japanese

Bookmarks
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.

Rate this Article

Adoption
Style

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.

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

Community comments

  • I would love to use an off-line Ruby on Rails application

    by Donald Parish,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    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,

    Your message is awaiting moderation. Thank you for participating in the discussion.

    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

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

BT