Ramaze is a simple, light and modular open-source web application framework written in Ruby.
Ramaze is a web application framework created by Michael Fellinger (also known as manveru) for Ruby. The philosophy of it could be expressed in a mix of KISS and POLS, trying to make simple things simple and complex things possible. This of course is nothing new to anyone who knows some Ruby, but is often forgotten in a chase for new functionality and features. Ramaze only tries to give you the ultimate tools, but you have to use them yourself to achieve perfect custom-tailored results.
Another one of the goals during development of Ramaze was to make every part as modular and therefore reusable as possible, not only to provide a basic understanding after the first glance, but also to make it as simple as possible to reuse parts of the code.
The original purpose of Ramaze was to act as a kind of framework to build web-frameworks, this was made obsolete by the introduction of rack, which provides this feature at a better level without trying to enforce any structural layout of the resulting framework.
Basic Example
require 'ramaze'
class MainController < Ramaze::Controller
def index
"Hello, Ramaze!"
end
end
Ramaze.start
Installation
Installing Ramaze is super easy when using Rubygems:
$ gem install ramaze
Once the gem is installed you can create a new application using the "ramaze" binary:
$ ramaze create myapp
Links
- GitHub Repository
- Google Groups
- Website
- User Guide
- #ramaze on Freenode