Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Internet > HTTP (WWW)

    Juggernaut 0.5.4

    Download button

    No screenshots available
    Downloads: 760  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.9/5)
    14 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Alex MacCaw | More programs
    MIT/X Consortium Lic... / FREE
    June 24th, 2008, 17:56 GMT
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    Juggernaut description

    Juggernaut is a Rails plugin that sets up a real time xmlsocket between the browser and the server.

    Juggernaut is a Rails plugin that sets up a real time xmlsocket between the browser and the server, allowing the server to push data to the client, much the same as comet.

    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 are some key features of "Juggernaut":

    · Allows a real time connection with a client - Rails can literally push javascript in real time to the client which is then evaluated.
    · Push server - written in Ruby using EventMachine. EventMachine has a non-blocking IO so scales very well
    · Integrated, as a plugin, into Rails.
    · Subscribers can subscribe to multiple channels, and broadcasters can broadcast to multiple channels.
    · Broadcasts can be made to channels, or to a specific client.
    · Connect/Disconnect triggers.
    · Authentication support.
    · Uses Flash 8 - installed on more than 95% of computers.
    · Supports all the major browsers (uses ExternalInterface): Firefox 1+, IE 6+ and Safari 2+.

    Requirements:

    · Ruby
    · RubyGems

    INSTALLATION:

    Add this to any pages you want Juggernaut 'enabled':




    Also add this to the head of any views you want to use Juggernaut:




    Install the gem:

    sudo gem install juggernaut


    Configure the gem:

    juggernaut -g juggernaut.yml


    Start the push server:

    juggernaut -c juggernaut.yml


    Now, visit the view you made earlier, you should see a msg saying 'Juggernaut Connected on localhost:5001' (If you're using Firebug it'll appear in that, otherwise it'll be an alert)
    Then, to send data to juggernaut, execute this in the console:

    Juggernaut.send_to_all("alert('hi from juggernaut')")

    Product's homepage

      


    TAGS:

    Rails plugin | real time xmlsocket | instant updater | Rails | plugin | real-time

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM