With Umbraco 4.11.0, would I create a partial and use it as if it were a razor macroscript in the sence that all the calculations and output are created in the one file, or do I have to create a Model, Controler and View? I would just like to find out the best practices for Umbraco and MVC as I'm having trouble working it out for myself. I understand that if I were to compile the code for a view then it would run faster so how would I go about using it in this way?
MVC Partial Views and Controlers
With Umbraco 4.11.0, would I create a partial and use it as if it were a razor macroscript in the sence that all the calculations and output are created in the one file, or do I have to create a Model, Controler and View? I would just like to find out the best practices for Umbraco and MVC as I'm having trouble working it out for myself. I understand that if I were to compile the code for a view then it would run faster so how would I go about using it in this way?
is working on a reply...