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.
摘要/内容:随着信息技术的快速发展,信息系统也逐渐由低级到高级、由简单到复杂、由封闭孤立到开放协同地发展;具体表现为系统组
由Makerbot创始人之一BrePettis、Fab学院教授AnnaKaziunasFrance和3D打印领域的达人JayShergill所著,介绍了Make...
Struts是目前非常流行的基于MVC的JavaWeb框架。《精通Struts:基于MVC的JavaWeb设计与开发》详细介绍了在最新的Struts1.1以及不...
《分布式系统与一致性》内容简介:一致性是非常重要的分布式技术。众所周知,分布式系统有很多特性,如可用性、可靠性等,这些特性
Listenup,designers,andwipethosegrinsoffyourfaces!Itstimetogetseriousaboutyourdes...
五笔打字案例教程 本书特色 《五笔打字案例教程(计算机十二五规划教材)》由钱亚文、李奇、郭燕主编,全书共分5个项目,内容涵盖键盘的基本操作方法、正确的打字姿势与...
游戏场景设计 本书特色 本书共分五章:游戏场景设计概述、工具与表现阶段、观察分析与自我训练、构思与创作、优秀作品赏析。 本书内容深入浅出,与企业工作实际联系紧密...
信息系统与数据库技术 内容简介 本书属于上海市教育委员会组编的“高等院校计算机基础综合应用能力培养规划教材”系列,可以从机械工业出版社教材服务网(www.cmp...
《互联网时代的数字博物馆》内容简介:北京数字科普协会、北京联合大学、北京博物馆学会、中国博物馆协会博物馆数字化专业委员会、
《Excel数据管理:不加班的秘密》内容简介:数据管理对于企事业单位日常经营活动显得十分重要,可以更好地辅助经营管理决策。在用E
为一种开源数据库,MySQL已经成为最流行的服务器软件包之一。开发人员在其数据库引擎中提供了丰富的特性(只需很少的内存和CPU支
代码阅读有自身的一套技能,重要的是能够确定什么时候使用哪项技术。本书中,作者使用600多个现实的例子,向读者展示如何区分好的
《Ajax与PHP基础教程》通过大量实例,充分展现了如何将二者结合起来创建下一代网络应用。《Ajax与PHP基础教程》内容完备,不仅讲
《幸福请进门》内容简介:本书是由搜狐职场一言堂所请过的讲师共同创作的一本职场心灵鸡汤,按照心理学“21天改变观念”的心理周期
《101个有科学根据的减肥小偏方》内容简介:热量过多就是中毒,体重过多就是自杀! 专业医师邱正宏将多年的研究成果与实践经验,总
Matlabistheacceptedstandardforscientificcomputing,usedgloballyinvirtuallyallNeur...
大数据猩球-海量数据处理实践指南 本书特色 本书以实用的、可操作的视角解释了大数据——采用黑猩猩和大象的隐喻,基于棒球统计数据集,使用a...
并行程序设计(第2版) 本书特色 本书系统介绍并行程序设计原理及应用。除介绍常用的一些算法范例,包括分治、流水、同步计算、主从及工作池,还介绍了一些常用的经典数...
过去的竞争就如田径比赛,只要打败竞争对手就能赢得比赛,今天的竞争犹如体操比赛,还要赢得裁判才能赢得胜利。在服务竞赛中,裁
本书是Objective-C领域的经典著作,对Objective-C进行了系统而全面的阐述,权威性毋庸置疑。全书共分为四大部分:第一部分全面讲