CodePlexProject Hosting for Open Source Software
Can I to do some query to the database from view?
It's not advised - that's the whole point of the MVC separation between model and view. If you need extra data in the view you should pass it from the controller (or from the driver if you're working with content parts).
You can, but every time you do, a kitten is sacrificed.
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.