Doubt about templates using MVC

Asked

Viewed 22 times

0

Following the good practices of the MVC model, would it be correct for a template to evoke another template? Or it would be a feature unique to a map or controller?

  • What you mean by evoke?

  • @Andersoncarloswoss make a call for example

  • I do things in PHP using Smarty templates for View layer, and use and abuse of includes from one template in the other, and even view inheritance. Template type "frame" in a file using {block} and views inherit this, and includes for re-usable parts type "share bar"

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.