Please can anyone explain me what is meant by smarty codes or templates and what is role of smarty in PHP.

Please can anyone explain me what is meant by smarty codes or templates and what is role of smarty in PHP.

Hello,

Smarty is basically template based 2-tier phpbase architecture. In that you have code your business logic differently to your presentation login. Means you php code is int .php file & your website presentation is into .tpl file. & that both file work to together with using smarty templete base engine.

You can find more detail on smarty official site "http://www.smarty.net/distributions/manual/en/Smarty-2.6.14-docs.pdf".

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.