Jump to content

How breaking MVC pattern is affecting performance


hakeryk2

Recommended Posts

Hi folks,

I am wondering if using in .tpl files code that will break mvc rules, something like this 

<strong>{Product::getProductCategories($product->id|intval)}</strong>

instead of proper method like passing those values into smarty variable is affecting performance?
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...