feyeleanor / TheBrowserEnvironmentSinatra

Example code for talk on HTML5 and Ruby/Sinatra

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A series of code examples from a talk on the Browser Environment from a Systems Programmer's perspective. Uses Ruby/Sinatra for server-side code.

Dependencies

The following third-party ruby gems are required:

  • sinatra
  • sinatra-websocket
  • websocket-eventmachine-client

There are no javascript dependencies though a browser which fully supports the WebSocket API is required for later examples.

Usage

Examples can be run from the command line using:

ruby [number].rb

or in the case of the three WebSocket clients written in ruby:

ruby [number]_client.rb

About

Example code for talk on HTML5 and Ruby/Sinatra

License:BSD 2-Clause "Simplified" License


Languages

Language:HTML 62.2%Language:Ruby 37.8%