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:

www.app.com/view.php?action=edit
-
..which tells the app what view we're in, and what's the action.

but in RoR it's

www.app.com/controller/action
-
..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?

Alex