A step-by-step guide to building PHP web sites and applications using the Smarty templating engine
- Bring the benefits of Smarty to your PHP programming
-Give your designers the power to modify content and layout without PHP programming
-Produce code that is easier to debug, maintain, and modify
-Useful for both Smarty developers and users
Smarty is a templating engine for PHP. Designers who are used to working with HTML files can work with Smarty templates, which are HTML files with simple tags while programmers work with the underlying PHP code. The Smarty engine brings the code and templates together. The result of all this is that designers can concentrate on designing, programmers can concentrate on programming, and they don't need to get in each others way so much. Even if you are developing a site on your own, Smarty is a powerful way to make your code clearer to you and others, as well as easier to debug and modify later.
This book is a comprehensive guide to all aspects of using Smarty. It will help you to:
-Install and configure Smarty on your Web server
- Understand how Smarty affects your web site architecture, and build site foundations that make the most of what Smarty offers
- Designers will learn to work with templates that contain variables and logic, to modify layouts or content of Smarty web sites
- See how Smarty caching can improve the performance of your sites
- Develop custom Smarty functions and plug-ins to incorporate into your templates
Using a step-by-step approach based on realistic examples, the expert authors show you how to use Smarty in your own PHP development. The book is ideal for PHP developers who are new to Smarty, and for web designers who are working with PHP developers who are using Smarty.
《深入核心的敏捷开发:ThoughtWorks五大关键实践》内容简介:本书介绍了ThoughtWorks是如何实践敏捷开发的,主题包括测试驱动开发
神经网络控制已发展成为“智能控制”的一个新的分支,属先进控制技术,为解决复杂的非线性、不确定、不确知系统的控制问题,开辟
《卓有成效的程序员》就是讲述如何在开发软件的过程中变得更加高效。同时,《卓有成效的程序员》的讲述将会跨语言和操作系统:很
《OpenCV 4计算机视觉:Python语言实现(原书第3版)》内容简介:本书首先介绍OpenCV 4以及如何基于Python 3在各种平台上安装OpenC
手游与社交游戏是一个生机勃勃、令人兴奋的产业,飞速发展的互联网与相关技术,成就了一个又一个广为流传、收益丰厚的游戏产品。
《Head First Go语言程序设计》内容简介:Go是为高性能网络和多处理而设计的,但与python和javascript一样,该语言易于阅读和使用。
庄雅婷领衔“文艺加萌研究所”策划推出的国内第一套快乐开店指南+逛店秘笈分享。本辑“有胆有脑”主题,精选近30家国内成功店铺,
《实战移动互联网营销》内容简介:移动互联网的兴起,又为企业带来了新的挑战与机遇!越来越多的人,看到了移动互联网的价值与前景
《元好问诗选》内容简介:元好问,字遗山,金末元初著名文学家,七岁能诗,年十四,从郝晋卿学诗,二十岁成学,名闻京师。兴定五年
《恒温教养》内容简介:在教养孩子的过程中,面对孩子的大哭大叫、无理取闹,无助、心累、崩溃正席卷而来,因此父母时常会感到焦虑
《Web2.0动态网站开发:PHP技术与应用》以Web2.0网站开发的5种需求和28个重要元素为线索,从PHP开发Web2.0网站的三个理由出发,全
《微说论语》内容简介:《论语》是儒家经典著作,古人云的时代已经过去,但古人对话中的内涵却一直对我们有着深刻的影响。如何将知
Increasingly,designersneedtopresentinformationinwaysthataidtheiraudiencesthinkin...
Evernoticethat-inspiteoftheirpervasiveness-designingwebapplicationsisstillchalle...
Oracle达人修炼秘籍-Oracle 11g数据库管理与开发指南 本书特色 ·宏观上清晰呈现oracle数据库的知识体系和总体框架,微观上系统讲解oracle...
《马克思主义理论简明读本》内容简介:本书是由武汉理工大学马克思主义学院组织编写的,内容涵盖两个板块,一是马克思主义基本原理
《RT-Thread内核实现与应用开发实战指南:基于STM32》内容简介:本书基于野火STM32全系列开发板介绍RT-Thread内核实现与应用开发,
《学习脑:像训练肌肉一样训练大脑》内容简介:你知道吗:做总结、做标记、图形记忆、重复阅读—这些我们从小就在使用的学习方法都
20世紀最卓越的字型設計大師ADRIANFRUTIGER用「喝完湯後,如果你還清楚記得湯匙形狀的話,這支湯匙就是設計不良。」來比喻字型和
《小学生减压涂色书——给古诗涂上颜色》内容简介:这套书秉承着“疗愈效果的是传统之美”的理念,在诗、词、曲和神话中选取涂色的