How can we combine templates and frameworks? When I build a website, I use smarty to write my website. now, to speed up the website, I need to use a framework. but I just came out to work and didn't use the framework method. please advise !! How can we combine templates and frameworks? ------ Solution ------------------ the template is the view, the framework is to divide the view, whatever template is used for the view ------ solution ----------------- how to combine the template with the framework?
When I build a website, I use smarty to write my website. now, to speed up the website, I need to use a framework. but I just came out to work and didn't use the framework method. please advise !! How can we combine templates and frameworks?
------ Solution --------------------
The template is the view, and the framework is to divide the view.
------ Solution --------------------
Discussion
Does not conflict, that is, it is used by the code block that applies to it?
------ Solution --------------------
Most frameworks support the use of the custom template engine. you can just set it.
Maybe the framework you want to use is the default template engine using smarty, which is unknown.
------ Solution --------------------
Discussion
Reference:
Reference:
Does not conflict, that is, it is used by the code block that applies to it?
The smarty template only accepts variables, no matter what method you use, as long as the variable is the correct value, it can be correctly displayed.
How is the frame type a form? I have never touched on the framework before.