tannerburson / multi-sinatra-sample
- Source
- Commits
- Network (3)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
8323488
commit 832348850410e4c8217bd637c82c9fa768a88e01
tree 8c5244bb57c934bf225ab0b0332a763a0881b831
parent 5d92021364995fe736d6372a972cc78ed47dff0a
tree 8c5244bb57c934bf225ab0b0332a763a0881b831
parent 5d92021364995fe736d6372a972cc78ed47dff0a
README
Multi Class Sinatra Sample Application ====================================== This is a simple application showing how you can mount multiple Sinatra applications into a single process. It utilizes the builtin Rack middleware, URLMap. I use a simple RackUp file to launch the server, though you can probably do this in a single file. thin -R config.ru start I've extended this example to show how with a shared base class between 'apps' you can easily share configuration options. You could probably do this with a Mixin, but I haven't tested that.

