How thinkPHP integrates with smarty

Source: Internet
Author: User
How to integrate thinkPHP with smarty, how to integrate smarty with ThinkPHP, and how to integrate thinkPHP with smarty before asking,
How can smarty be integrated with ThinkPHP?

------ Solution --------------------
Google before asking
Http://hi.baidu.com/dckhello/item/a255b54a655cf700e93504bf
Too many
------ Solution --------------------
Manual description

7.6 template engine
The system supports native PHP templates and has built-in an XML-based efficient compilation template engine. the default template engine used by the system is the built-in template engine, for details about how to use tags of this template engine, refer to the template guide.

The built-in template engine can also directly support mixed use of PHP native code and template labels in the template file. if you need to completely use PHP as the template engine, you can configure:

'Tmpl _ ENGINE_TYPE '=> 'php'

To achieve the best efficiency.

If you use another template engine, you only need to set the TMPL_ENGINE_TYPE parameter to the template engine name.

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.