Hi! I am totally new to ruby on rails and dynamic website creation (never done php or asp). I am reading "Agile Web D. with Rails" by D.Thomas, and I am wondering if I need to create multiple scaffold and controllers to be able to create a really basic CMS. Part of the website needed: -http://www.domain.com/ -http://www.domain.com/about/ -http://www.domain.com/articles/ -http://www.domain.com/contact/ etc... do I need to create a scaffold and controller for about, articles, contact...? Sorry for my bad english, and please be kind with me, I have very limited dynamic site knowledge. Thank you!!
on 2006-03-19 18:34
on 2006-03-19 19:18
You don't necessarily need multiple controllers, it just depends on how you want it laid out. One controller could possibly handle all of this: Maybe on controller for articles, the other for pages (about, contact, etc). You can use routes to manipulate the urls as you need them.
on 2006-03-19 19:25
yes you are right, multiple controllers = multiple pages = multiple urls (as you listed them)
on 2006-03-19 21:48
Roberto S. wrote: > yes you are right, multiple controllers = multiple pages = multiple urls > (as > you listed them) Does it have a bad effect on loading performance ?