[LRUG] London Geek Night: Don't get tied to the Rails

Anthony Green Anthony.Green at bbc.co.uk
Wed Jan 7 01:45:58 PST 2009


> It would be great if people could also offer their experience of using other
> frameworks such as Ramaze in production. There's no need for a formal
> presentation, if you make yourself know at the evening (or in advance via
> email).

I watched the Ramaze presentation from RubyConf

But examples like this

Class MainController < Ramaze::Controller
  map '/'
  layout :page

  def index
    @title = "Test"
    "<p>Hello, World!</p>"
  end

  def page
    %{
<html>
  <head>
    <title>examples/layout</title>
  </head>
  <body>
    <h1>#@title</h1>
    #@content
  </body>
</html>
    }
  end
end

with the routing, layout and controller code all in one place, I don't get.


-- 
Anthony Green
Client Side Developer



http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					



More information about the Chat mailing list