Lattice is an actor-based web framework for Ruby built on top of
Celluloid,
Reel, and Webmachine. Designed from the ground up for realtime
applications, end-to-end streaming, and Websockets, Lattice provides
solutions to some of the biggest pain points in web application
development
today.
https://github.com/celluloid/lattice
Version 0.2.0 is the first official announced release, and includes a
basic
Rails-like application generator:
$ gem install lattice
Fetching: lattice-0.2.0.gem (100%)
Successfully installed lattice-0.2.0
Parsing documentation for lattice-0.2.0
Installing ri documentation for lattice-0.2.0
1 gem installed
$ lattice new foobar
create /Users/tony/foobar/app
create /Users/tony/foobar/app/resources
create /Users/tony/foobar/app/resources/home.rb
create /Users/tony/foobar/config
create /Users/tony/foobar/config/application.rb
create /Users/tony/foobar/config/boot.rb
create /Users/tony/foobar/Gemfile
create /Users/tony/foobar/README.md
NOTE: Don’t forget to: cd /Users/tony/foobar && bundle
$ cd foobar
$ bundle
Updating git://github.com/celluloid/lattice.git
Updating git://github.com/seancribbs/webmachine-ruby.git
Fetching gem metadata from https://rubygems.org/…
Fetching gem metadata from https://rubygems.org/…
Resolving dependencies…
Using i18n (0.6.5)
[…]
Your bundle is complete!
Use bundle show [gemname]
to see where a bundled gem is installed.
$ lattice server
I, [2013-10-01T01:12:20.739268 #24414] INFO – : A Reel good HTTP
server!
(Codename “Garbo”)
I, [2013-10-01T01:12:20.739365 #24414] INFO – : Listening on
http://127.0.0.1:3000
That’s it! You’re up and running with Lattice.
For more information, please consult the Wiki: