Home > Development > blogs
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.
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.
Juggernaut 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 Comet or Reverse Ajax. The key difference is that it uses the Flash Player to do the data transport, very cool!
"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."
Here's a diagram of how Juggernaut works:
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.
- comments: 6
Comments
6 Comments
Leave a comment
Stay Connected
Search InsideRIA
Poll: ECMAScript Reaction
The ECMA organization recently decided to stop work on ECMAScript 4 and begin a new version, tentatively described as ES "Harmony." How would you like to see this affect the evolution of ActionScript?
News & Events
Latest Features
Tag Cloud
- .net
- 360Flex
- 3d
- actionscript
- adam flater
- adobe
- air
- air api
- air cookbook
- air resources
- air xml webkit
- ajax
- ajaxworld
- alertthingy
- amp
- analytics
- ant
- antipattern
- apache
- api
- app engine
- apple
- applications
- april fools day
- aptana
- architecture
- asp
- audio
- authors
- away3d
- aws
- backward-compatablity
- bad usability calendar
- benchmarking
- berlin
- beta
- bitmaps
- blazeds
- blendmode
- book
- browserplus
- bsd
- business
- businessweek
- cairngorm
- camp
- career
- cdn
- chart
- cloud
- code
- code generation
- coldfusion
- command design pattern
- communication
- community
- compiler
- component
- compression
- conference
- conferences
- contest
- creativecommons
- cs3
- cs4
- curl
- customer
- cuzillion
- dare
- data
- datatable
- datavisualization
- dbunit
- ddlutils
- debug
- decompiler
- deep zoom
- degrafa
- design
- design patterns
- desktop
- development
- DHH
- diary
- dionalmaer
- drawing api
- dreamweaver
- drupal
- dynpro
- ebay
- ecmascript
- effectiveui
- ejb 3.0
- elixir
- embedded jboss
- encryption
- enterprise
- europe
- event
- excerpt
- experience
- ext
- externalinterface
- eyetracking
- features
- filters
- firefox
- fireworks
- fitc
- flash
- flash10
- flashforward
- flashplayer
- flex
- flex4
- flexbuilder
- flexmdi
- flexunit
- form factor
- framework
- friendfeed
- gadget
- gears
- geolocation
- gesture
- googledocs
- googlegears
- gpl
- graphics
- graphics mask
- guidelines
- guimark
- hosting
- how-to
- html
- ia
- ie
- ie8
- igoogle
- interaction
- interface
- interview
- iphone
- iphonedevcamp
- iron man
- j2ee
- jakob
- java
- javafx
- javaone
- javascript
- javase
- javase6
- jaxer
- jms
- job
- joyent
- keynote
- languages
- lcds
- learning
- lffs
- lib
- library
- license
- licensing
- linux
- listen
- livecycle data services
- location
- madrid
- map
- marketing
- math
- maturity
- maven
- max
- memory
- merapi
- mesh
- metrics
- microsoft
- mikepotter
- mit
- mix08
- mobile
- mockup
- model locator design pattern
- mono
- mozilla
- mvc
- mxml
- mxmlc
- neilson
- netbeans
- nio
- nitro
- nitrolm
- nokia
- objectivec
- offline
- omnigraffle
- onairbustour
- onairtour
- onairtoureurope
- ontologies
- oop
- open source
- openflux
- openscreen
- opensource
- optimization
- orm
- papervision3d
- paris
- pattern
- pattern mining
- patterns
- performance
- photoshop
- php
- podcast
- popular
- portable
- preload
- pricing
- prism
- Processing
- Processing.js
- profiler
- protagonize
- push
- qt
- rails
- release
- research
- resources
- ria
- ria community
- ria roundup
- ribbit
- rich
- ruby
- rules
- sanctuary
- sap
- scalenine
- scheduling
- scott sheridan
- search
- security
- seo
- server
- service oriented architecture
- services
- session bean
- silverlight
- singularity
- social
- sockets
- software
- source
- spain
- sproutcore
- spry
- sqlite
- static code
- stencils
- steveounders
- stockholm
- streaming
- survey
- swc
- swf
- switchboard
- syscon
- test driven development
- testing
- testng
- thermo
- tip
- tool
- tools
- training
- trends
- trolltech
- tufte
- tutorial
- ui
- ui pattern library design
- uirc
- unconference
- unit testing
- usability
- user experience
- ux
- vector images
- video
- view source
- vision
- voip
- warsaw
- wdn08
- web
- web 2.0
- web 2.0 expo
- webkit
- whenisgood
- why
- widgets
- windows
- workshop
- wwdc
- xhtml
- xulrunner
- yahoo
- yui
Related Books
Development Series
Get an overview of the tools and technologies that work together to allow developers to build Rich Internet Applications (RIAs) quickly and easily.
Recent Comments
- User Andre Charland on Juggernaut a "Push" Framework with Rails and Flash: @Alexey there's 3 posted on the Juggerna...
- User Alexey on Juggernaut a "Push" Framework with Rails and Flash: Alex MacCaw, can you tell some sites URL...
- User RD on Juggernaut a "Push" Framework with Rails and Flash: I tried juggernaut for my application, b...
Archives
About This Site
Welcome to the premiere community site for all things RIA sponsored by O'Reilly Media and Adobe Systems Incorporated.
About Us
Meet the Experts
Meet Our Contributors
Send Us Feedback

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.
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.
I really wouldn't promote the use of it myself.
I use it over at 64squar.es - saves me a whole bunch of server resource.
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.
So +1 from me !
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?
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.
Alex MacCaw, can you tell some sites URL's, using Juggernaut?
@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.