Hacker News new | past | comments | ask | show | jobs | submit login
Ramaze by Example (purepistos.net)
22 points by Pistos2 on Dec 3, 2008 | hide | past | favorite | 6 comments



I love Ramaze because it lets you write Ruby without any magic. (there be no dragons!)

  # helloworld.rb
  require 'ramaze'

  class MainController < Ramaze::Controller
    def index
      "hi world!"
    end
  end

  Ramaze.start :adapter => :thin, :port => 3000

  # ruby helloworld.rb
  # curl http://localhost:3000/ => "hi world!"
Don't even need a webcast to understand that.


Ditto.

It plays well with JRuby + Warbler, sits on Rack for pre- and post-processing goodness when needed (without having to intertwingle with stuff in the app proper), and basically gets out of your way. I don't feel like I have to learn assorted ill-documented mini-DSLs in order to just write a Ruby app that sits on the Web.

#ramaze on freenode rocks, too.

It's the most Ruby-ish of Ruby Web tools I've used.


http://github.com/zh/turl/tree/master - tinyurl-like service in ramaze (just one file). even have an API ;) Have also a bigger project - http://github.com/zh/tamanegi/tree/master - rss/atom feeds aggregator.


I've always been a advocate of Ramaze. Too bad it does not get the press it deserves.


Just finished a 3k+ controller LOC business app with ramaze, and we love it.


Just for comparison / further investigation, there's also Sinatra - http://sinatra.rubyforge.org/

It's more "DSL-y" than Ramaze.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: