Ramaze

Share on Facebook Share on Twitter Email
Ramaze
Ramaze circle logo.svg
Developer(s) Ramaze Development Team
Initial release October 13, 2006
Stable release 2012.03.07 / 2012-03-07
Development status active
Operating system Cross-platform
Available in Ruby
Type Web application framework
License Ruby License
Website http://ramaze.net/

Ramaze is a web application framework created by Michael Fellinger (also known as manveru) for Ruby. The philosophy of Ramaze is a mix of KISS and POLS, trying to make complex things simple and impossible things possible. This is nothing new to anyone who knows some Ruby, but is often forgotten in the 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 goal 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.

Contents

History

Development on Ramaze started in the summer of 2006 out of disagreement with the direction of Ruby on Rails. Originally the code of Ramaze was based on its own core but in March 2009 this was replaced by a micro framework called Innate, also developed by the author of Ramaze.

Technical overview

Like many web frameworks, Ramaze uses the Model-View-Controller (MVC) architecture pattern to organize application programming. However, due to the way Ramaze works it is very easy to use a completely different structure for your application. In fact, the possibility to reconfigure the way the framework works is one of the things that make Ramaze different compared to other frameworks. Out of the box Ramaze supports almost any Template Engine, most ORMs, various adapters (such as Mongrel) and a wide range of loggers (such as Growl). Ramaze also ships with a large variety of helpers for generating forms, authentication, localization and much more.

Example

require 'ramaze'
 
class MyController < Ramaze::Controller
  map '/'
 
  # GET /
  def index
    "Hello, Ramaze!"
  end
end  
 
# Various options such as :port can also be specified.
Ramaze.start

External links


Post a question - any question - to the WikiAnswers community:

Copyrights:

Mentioned in

Ruby (programming language)