CodePlexProject Hosting for Open Source Software
Can someone tell me the difference between a controller and a driver? When to use which one?
A controller acts at the whole request level, whereas a driver acts at the content part level.
I posted a detailed explanation of what happens when you navigate to a page here:
Even though your controller acts at the whole request leve', you can still have the html you return be wrapped with the theme of your website by applying the [Themed] attribute to your controller. For reference, look at the Hello World example:
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.