Ramaze-means Ruby Amaze , light and modular open-source web application framework written in Ruby.Which is more easy to work with and no complexities for a new user.Ramaze is claiming to have more advantages than ruby on rails in speed , safety , user friendliness etc.
Installation is very simple
$ gem install ramaze installing as rubygem
Now your ramaze is ready to use.You can build ur applications by saying
$ ramaze --create my_app
Which will give u the basic format and you can edit and build your application in the way you want.Ramaze follows MVC architecture , unlike Rails it can work on a single ruby program also.You can run your ramaze application like
$ramaze or
$ruby start.rb
Or if u want to run a single script just run
$ ruby yourscript.rb
Ramaze is well documented with basic examples and easy to use even for a newbie.Ramaze stays close to the ruby’s principles such as simplicity n elegance.Basically Ramaze contains a controller called MainController and which maps to ‘/’. Here data is getting saved in a ‘.yaml’ file instead of database.
class MainController < Ramaze::Controller
end
Also we can map to other URL s if we want.Its pretty simpler than Rails i guess.
class AnotherController < Ramaze::Controller
map '/another'
end
You will get the basic examples to run your application from here.
Ramaze supports a lot of templating engines and such as Haml, Erubis,Markaby an d Ezmar.Also includes support for several adapters, including Mongrel, Evented Mongrel and FastCGIetc.
In the homepage of Ramaze you can see the tutorials ,just give a try you will understand more.
1 response so far ↓
1 Jonathan Buch // Mar 18, 2008 at 1:50 pm
Hi, I really like your Blog post in the sense that it displays the simplicity of the initial ‘how to get into’ Ramaze. So, thanks for the coverage!
As a note to anyone using the tutorial on the Ramaze website: due to it being a wiki, it isn’t always synchronized to the actual implementation. But an up to date tutorial is always found inside the Ramaze repository or together with your shipped gem.
The repository version of the tutorial is on http://darcs.ramaze.net/ramaze/doc/tutorial/todolist.html .
The remark about .yaml files is perhaps a bit misleading. Ramaze does not actually save information of any kind to .yaml files by default (the tutorial uses a yaml store as database backend though). Yaml files have nothing to do with Controllers at all.
That said, thanks (although a little late) again for the publicity. ^_^
Leave a Comment