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.
《我们都是科学家:那些妙趣横生而寓意深远的科学实验(修订版)》内容简介:本书让你通过身边的有趣实验完成前沿科技的奇妙体验。
《物含妙理总堪寻 (理解科学丛书)》内容简介:本书来源于作者长期以来在北京师范大学开设的一个科普讲座“从爱因斯坦到霍金的宇宙
《一千零一夜》内容简介:《一千零一夜》又名《天方夜谭》,是阿拉伯民间故事集。相传国王山鲁亚尔痛恨王后与人有私,将其杀死,此
Theultimateguidetothecellphone,theubiquitousandindispensablepocket-sizedgadgetth...
《JavaScript框架设计》内容简介:本书是一本全面讲解JavaScript框架设计的图书,详细地讲解了设计框架需要具备的知识,主要包括的
《瓜豆集》内容简介:《周作人自编集:瓜豆集》收录周作人一九三六年五月至十二月的作品。较之此前之作,内容上有些新的成分。正如
《量化投资:以MATLAB为工具(第2版)》内容简介:本书分为基础篇和高级篇两大部分。基础篇通过Q&A的方式介绍了MATLAB的主要功能、
《移动基站设备与维护》全面、系统地阐述了现代移动基站的基本原理、基本技术和当今广泛使用的各类设备及维护技术规范,较充分地
DOS/BIOS注册表/组策略技术手册 本书特色 做电脑的主人,成为人人羡慕的电脑高手!超值的内容:dos命令的精彩应用——探索windows界面下的秘密,bi...
PacoHope,是Cigital公司的一名技术经理,《MasteringFreeBsDand0penBsDsecurity》(由O’Reilly出版)的合著者...
《抖音电商从入门到精通》内容简介:本书从抖音电商角度出发,精心介绍了手机短视频5大核心内容:策划、拍摄、制作、引流与运营,具
《Node.js实战(双色)》通过8个实例讲解了Node.js在实战开发中的应用,涉及Node.js常用框架、非关系型数据库、关系型数据库、运
Visio 2013图形设计从新手到高手-全彩印刷-超值多媒体光盘DVD 本书特色 visio 2013是微软公司所研发的办公软件之一, 也是目前市场上主流的绘...
网页设计(DW/FL/PS)从新手到高手-(随书赠送光盘1张) 本书特色 本书是一本网页设计学习宝典,全书通过150多个实战案例,以及250多分钟全程同步语音教...
《零基础入门学习C语言:带你学C带你飞(微课视频版)》内容简介:《零基础入门学习C语言——带你学C带你飞(微课视频版)》提倡“
《ECMAScript6入门》全面介绍了ECMAScript6新引入的语法特性,覆盖了ECMAScript6与ECMAScript5的所有不同之处,对涉及的语法...
《Linux集群之美》内容简介:全书共9章,主要是以作者的项目实践为基础,以CentOS 7.5x86_64为主操作系统、AWS云为平台,介绍Linux
《信息图表设计入门》是一本信息图表制作的实用入门书。信息视觉化是一种潮流,无论是商业宣传活动、专业设计领域还是制作供非专
《中等职业学校电子与信息技术专业课程标准汇编(上)》内容简介:本书是根据《教育部人力资源和社会保障部财政部关于实施国家中等
LearnhowtobemoreproductivewithScala,anewmulti-paradigmlanguagefortheJavaVirtualM...