官术网_书友最值得收藏!

Introduction

When implementing new features for their CMS Made Simple sites, people's first thought is often some kind of PHP extension: a User-Defined Tag or a Module. It turns out, though, that there is a whole class of problems that can be solved using Smarty or the Core modules.

This chapter will show you a number of tricks which may not be obvious at first, but that will open up a whole new world of possibilities.

There are many advantages to using the built-in approaches when you can. You save the overhead of installing Modules or Tags, and you don't have to worry as much about upgrades.

Most of the recipes that are presented here will serve to simplify the maintenance of your sites, or at least add useful capabilities without adding too much complexity. Several recipes are oriented towards simplifying tasks for the person or people who will be administering the site as editors or writers. It's important to remember that any time you reduce complexity for the people creating content for a site, you're reducing the opportunity for error.

As a web developer, one of the primary reasons for using CMS Made Simple is to allow your customer to take over a website once you've worked your magic. By simplifying the task for them, you're saving yourself support calls — and saving your customer's budget, so they can hire you for enhancing site capabilities in the future. By building a site in an easy-to-maintain way, you are essentially guaranteeing yourself more interesting jobs rather than tedious jobs like fixing broken formatting.

主站蜘蛛池模板: 民丰县| 博乐市| 吴堡县| 嘉善县| 吉木萨尔县| 民权县| 西平县| 北票市| 来宾市| 潍坊市| 高清| 甘孜县| 金寨县| 和田市| 福清市| 德保县| 泗阳县| 青川县| 桦甸市| 北票市| 菏泽市| 巫溪县| 高淳县| 彭泽县| 蒙山县| 苗栗市| 牙克石市| 无锡市| 阜宁县| 洛扎县| 西畴县| 仲巴县| 宜良县| 青铜峡市| 张家界市| 耒阳市| 获嘉县| 宁远县| 安阳市| 乐清市| 承德市|