Results 1 to 3 of 3
Nov 9, 2007, 18:16 #1
- Join Date
- Dec 2006
- 0 Post(s)
- 0 Thread(s)
Hello. I'm coming from a non MVC background, mainly C and PHP - I'm wondering how the Controllers and RESTful framework deal with this:
In PHP, a URL would have both a view and an action in them, such as:
..which tells the app what view we're in, and what's the action.
but in RoR it's
..does this mean that I need as many controllers as pages?
How do you usually deal with this? how does the controller know which view to display? Seeing as a similar action could come from several different views?