i am used to work with php, and mostly i create an menu on one page and the
content on another page (2 template and i load the one in the other), so i
dont have to put the menu on every page, when i want to update something
from the menu then i dont need to change it ex 20 times, like a Web user
control in asp
i am used to work with php, and mostly i create an menu on one page and the
content on another page (2 template and i load the one in the other), so i
dont have to put the menu on every page, when i want to update something
from the menu then i dont need to change it ex 20 times, like a Web user
control in asp
is there something like this in ruby
Well, there are numerous templating libraries written in Ruby, each with some form of external file inclusion.
-----Original Message-----
From: Nick [mailto:glenn.brutyn@telenet.be]
Sent: Sun 9/25/2005 6:11 AM
To: ruby-talk ML
Subject: something like PHP imports or ASP WUC
i am used to work with php, and mostly i create an menu on one page and the
content on another page (2 template and i load the one in the other), so i
dont have to put the menu on every page, when i want to update something
from the menu then i dont need to change it ex 20 times, like a Web user
control in asp
http://www.rubyonrails.com/
1. See the webpage for details on the mailing list.
2. Rails Layouts do exactly what you'd like. Running script/generate scaffolding foo will show you an example of a layout (under app/views/layouts).
Devin
···
-----Original Message-----
From: Nick [mailto:glenn.brutyn@telenet.be]
Sent: Sun 9/25/2005 6:11 AM
To: ruby-talk ML
Subject: something like PHP imports or ASP WUC
i am used to work with php, and mostly i create an menu on one page and the
content on another page (2 template and i load the one in the other), so i
dont have to put the menu on every page, when i want to update something
from the menu then i dont need to change it ex 20 times, like a Web user
control in asp