Silicon Valley Code Camp 2011 - WebSocket I/O with Ruby EventMachine

6 views
Skip to first unread message

Scott Haines

unread,
Aug 3, 2011, 2:23:26 PM8/3/11
to dojo-ruby-on-rails
Silicon Valley Code Camp 2011 is right around the corner, (October
8th, 9th 2011). I am trying to get my session approved, and into the
formal schedule and need your help.

http://www.siliconvalley-codecamp.com/Sessions.aspx?id=718

If your interested in seeing a talk (75 minutes) WebSocket I/O with
Ruby EventMachine, please help me gain momentum for my session.

Session will cover following ruby technologies

1. RVM - using rvm gemsets with .rvmrc (http://beginrescueend.com/)
- triggering use of custom rvm gemsets from within github repo

2. Gemfile (for bundle install) (gem install bundler)

3. Ruby EventMachine (http://eventmachine.rubyforge.org/
EventMachine.html)

3. em-websocket (gem), em-http-request (gem) usage, patterns

4. JSON object serialization

5. Concurrent Programming in Ruby

6. Autonomous Communication

Session Application
During the course of this session, we will build a real-time, multi-
threaded communications platform that can connect to any socket based
endpoint, including another user, or HTTP API, or custom endpoint, or
protocol.

- Utilize html5 websockets and Json messaging to build an event-
driven communications platform

- Drive socket based communication utilizing the Observer and Reactor
patterns

- Use blocks (&block) to deliver http responses - from any 3rd party
rest API - from your eventmachine server, back down through a
websocket to the user who generated the request, or on time-based
cycles.

- Learn how to use Modules (mix-ins)

- Build configuration files with YAML

- Accept Command-Line arguments using ARGV

- Have fun with other Ruby geeks!
Reply all
Reply to author
Forward
0 new messages