<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/02/juggernaut-a-push-framework-wi.html" />
  <link rel="self" type="application/atom+xml" href="http://www.insideria.com/atom.xml" />
  <id>tag:www.insideria.com,2009://34/tag:www.insideria.com,2008://34.22814-</id>
  <updated>2009-11-05T20:24:27Z</updated>
  <title>Comments for Juggernaut a &quot;Push&quot; Framework with Rails and Flash (http://www.insideria.com/2008/02/juggernaut-a-push-framework-wi.html)</title>
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.21-en</generator>
  <entry>
    <id>tag:www.insideria.com,2008://34.22814</id>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/02/juggernaut-a-push-framework-wi.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://blogs.oreilly.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=34/entry_id=22814" title="Juggernaut a &quot;Push&quot; Framework with Rails and Flash" />
    <published>2008-02-01T23:21:43Z</published>
    <updated>2008-02-01T19:17:06Z</updated>
    <title>Juggernaut a &quot;Push&quot; Framework with Rails and Flash</title>
    <summary>

As web based collaboration apps become more accepted and used it&apos;s forcing developers to clients and servers in sync in near real-time. Tools and frameworks that make it easier to keep all instances for a client in sync are very helpful.  Juggernaut is a Ruby on Rails plugin that uses Flash sockets to do Ajax &quot;Push&quot;.  </summary>
    <author>
      <name>Andre Charland</name>
      <uri>http://www.nitobi.com</uri>
    </author>
    
    <category term="Blogs" />
    
    <content type="html" xml:lang="en" xml:base="http://www.insideria.com/">
      <![CDATA[<p>I was having a meeting the other day where we were doing some project planning and we were using Google Spreadsheets, it was amazing to see cells being updated in real-time, as we all had the spreadsheet open on our own laptops.  As an extra bonus Google Spreadsheets highlights in a different the cell you're editing on the others view of the spreadsheet so you know where they're looking or editing.  Very handy when you're all collaborating on the same document, in the same room or remotely.  </p>

<p>As web based collaboration apps become more accepted and used it's forcing developers to clients and servers in sync in near real-time. Tools and frameworks that make it easier to keep all instances for a client in sync are very helpful, because it can be kind of tricky from a development perspective.</p>

<p><a href="http://juggernaut.rubyforge.org/">Juggernaut </a>is one such framework.  It's for Rails and uses sockets trough the flash player to push data from the server to the client.   It's end result is similar to <a href="http://en.wikipedia.org/wiki/Comet_(programming)">Comet</a> or Reverse Ajax.  The key difference is that it uses the Flash Player to do the data transport, very cool!</p>

<blockquote>"The Juggernaut plugin for Ruby on Rails aims to revolutionize your Rails app by letting the server initiate a connection and push data to the client. In other words your app can have a real time connection to the server with the advantage of instant updates. Although the obvious use of this is for chat, the most exciting prospect is collaborative cms and wikis."
</blockquote>

<p>Here's a diagram of how Juggernaut works:</p>

<p><span class="mt-enclosure mt-enclosure-image"><a href="http://www.insideria.com/assets_c/2008/01/juggernaut_flow_diagram-thumb-346x509.png"><img alt="Thumbnail image for juggernaut_flow_diagram.png" src="http://www.insideria.com/assets_c/2008/01/juggernaut_flow_diagram-thumb-346x509-thumb-346x509.png" width="346" height="509" class="mt-image-center" style="text-align: center; display: block; margin: 0 auto 20px;"/></a></span></p>

<p>I'm of the opinion that polling is often good enough.  This is where some client code polls the server every so often to check for updates.  At the same time I like my Blackberry better than my iPhone because email is instantly pushed to it, I don't have to check.  Using push is higher performance and uses less server resources, so given it's easy enough to do it's probably worth it.</p>]]>
      
    </content>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22814-comment:2014843</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22814" type="text/html" href="http://www.insideria.com/2008/02/juggernaut-a-push-framework-wi.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/02/juggernaut-a-push-framework-wi.html#comment-2014843" />
    <title>Comment from Alex Bustin on 2008-02-01</title>
    <author>
        <name>Alex Bustin</name>
        <uri>http://thebackbutton.com/blog</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://thebackbutton.com/blog">
        <![CDATA[<p>I tried the Juggernaut plugin about a year ago.  I found that it wasn't very stable and ended building my own Java solution instead. </p>

<p>I think I also found that Juggernaut was written by a 16 yo ... *Googles*  .. oh he's 18 now.  Which doesn't give it much credibility it my books.</p>

<p>I really wouldn't promote the use of it myself.</p>]]>
    </content>
    <published>2008-02-02T01:17:49Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22814-comment:2014846</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22814" type="text/html" href="http://www.insideria.com/2008/02/juggernaut-a-push-framework-wi.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/02/juggernaut-a-push-framework-wi.html#comment-2014846" />
    <title>Comment from Jonah on 2008-02-02</title>
    <author>
        <name>Jonah</name>
        <uri>http://64squar.es</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://64squar.es">
        <![CDATA[<p>I use it over at 64squar.es - saves me a whole bunch of server resource.</p>

<p>I've found that it's perfectly stable. It requires a bit of perseverance in setting it up as the docs are a little scarce. But the author is generally very happy to help out.</p>

<p>So +1 from me ! </p>]]>
    </content>
    <published>2008-02-02T08:50:37Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22814-comment:2014848</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22814" type="text/html" href="http://www.insideria.com/2008/02/juggernaut-a-push-framework-wi.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/02/juggernaut-a-push-framework-wi.html#comment-2014848" />
    <title>Comment from Alex MacCaw on 2008-02-02</title>
    <author>
        <name>Alex MacCaw</name>
        <uri>http://www.eribium.org</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.eribium.org">
        <![CDATA[<p>Alex, I beg to differ. Juggernaut is being used to great success in a fair number of production sites, and I find it presumptuous to say the least that you can totally discount the project based on your experiences a year ago with alpha code! The project has matured now and the latest release focussed on clustering support amongst other things such as authentication and callbacks. May I invite you to try it again? <br />
</p>]]>
    </content>
    <published>2008-02-02T10:18:48Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22814-comment:2014849</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22814" type="text/html" href="http://www.insideria.com/2008/02/juggernaut-a-push-framework-wi.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/02/juggernaut-a-push-framework-wi.html#comment-2014849" />
    <title>Comment from RD on 2008-02-02</title>
    <author>
        <name>RD</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>I tried juggernaut for my application, but it fails to send and receiver chat data between two machines across NAT.... so it proved completely useless to me. If there is a solution to it then I must say it is usefull.</p>]]>
    </content>
    <published>2008-02-02T18:51:01Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22814-comment:2014857</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22814" type="text/html" href="http://www.insideria.com/2008/02/juggernaut-a-push-framework-wi.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/02/juggernaut-a-push-framework-wi.html#comment-2014857" />
    <title>Comment from Alexey on 2008-02-03</title>
    <author>
        <name>Alexey</name>
        <uri>http://layer13th.last-step.ru/</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://layer13th.last-step.ru/">
        <![CDATA[<p>Alex MacCaw, can you tell some sites URL's, using Juggernaut?</p>]]>
    </content>
    <published>2008-02-04T01:26:45Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22814-comment:2014870</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22814" type="text/html" href="http://www.insideria.com/2008/02/juggernaut-a-push-framework-wi.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/02/juggernaut-a-push-framework-wi.html#comment-2014870" />
    <title>Comment from Andre Charland on 2008-02-04</title>
    <author>
        <name>Andre Charland</name>
        <uri>http://blogs.nitobi.com/andre</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://blogs.nitobi.com/andre">
        <![CDATA[<p>@Alexey there's 3 posted on the Juggernaut site.  I'm sure there's more but some folks don't like to publicized all the technologies they have running under the hood.</p>]]>
    </content>
    <published>2008-02-04T19:46:03Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22814-comment:2046980</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22814" type="text/html" href="http://www.insideria.com/2008/02/juggernaut-a-push-framework-wi.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/02/juggernaut-a-push-framework-wi.html#comment-2046980" />
    <title>Comment from Jody LeBlanc on 2008-11-25</title>
    <author>
        <name>Jody LeBlanc</name>
        <uri>http://www.collaboria.ca</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.collaboria.ca">
        <![CDATA[<p>Alex B.:</p>

<p>I am offended by your comments about age.  Are you telling me that a Java plugin developed by an 89 year old would be more credible than something developed by a 16 year old?</p>

<p>I've been coding since I was 11 years old; I've been professionally designing websites since I was 16 years old.</p>

<p>What does age have to do with experience?<br />
</p>]]>
    </content>
    <published>2008-11-25T15:34:18Z</published>
  </entry>

</feed
