How to combine templates and frameworks

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.