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

What this book covers

Chapter 1, Understanding CMS Extensions, introduces the key differences between tags, user-defined tags, and modules, and teaches you to determine which is optimal for any given purpose. This chapter focuses on understanding the different approaches and deciding which to use to solve any particular problem.

Chapter 2, Programming with Smarty and Core Modules, demonstrates the use of Smarty and template logic to achieve complex functionality without installing anything beyond the CMS Made Simple core. You'll see how to do things you never thought were possible - all without writing any PHP code.

Chapter 3, Getting the Most out of Tags and User-Defined Tags, gives examples of Tags and User-Defined Tags, and shows how to create tags to handle such varied tasks as setting Smarty variables, filtering content, interfacing with modules, and interacting with web services. This chapter also includes information on some key CMS components, security pointers, and more.

Chapter 4, Getting Started with Modules, shows how you can use tools to jump start the module writing process, and demonstrates how to write fully-localizable modules in a maintainable and memory-efficient fashion. This chapter will give you a good basic understanding of how modules are organized and how they work.

Chapter 5, Using the Database API, shows how to interact with the underlying database using the Database API for safe, platform-independent access. This also includes discussion of updating database tables during module upgrades, getting better performance from your database with indexes, and generating unique IDs.

Chapter 6, Using the Module Form API, demonstrates how to render and process complex forms and user interfaces with the Form API. This chapter includes an example of a complete web form-handling application, along with tricks for debugging forms and sanitizing parameters.

Chapter 7, Your Module and the Community, gets you fully involved in the CMS Made Simple community. This chapter gives you a brief tour of the Developer's Forge, shows you how to use shared source-control repositories, and explains how to publish your modules.

Chapter 8, Creating Useful Admin Panels, teaches you how to build tabbed admin-side panels so site administrators can manage and configure your module. This chapter also covers custom content block types, admin permissions, setting preferences, and displaying messages to site administrators.

Chapter 9, Using Events, demonstrates handling events with User-Defined Tags, and both triggering and handling events with modules. This chapter explains how you can use events to enable complex interactions with tags and modules.

Chapter 10, Advanced Module Tricks and SEO, explains how to implement SEO-friendly URLs, making your module's content available to site search, override module strings, and export module data to desktop applications.

主站蜘蛛池模板: 集安市| 道孚县| 涡阳县| 宁武县| 思南县| 桃江县| 桂东县| 筠连县| 平武县| 中江县| 宣化县| 正安县| 东辽县| 旬阳县| 壤塘县| 安阳市| 新营市| 郎溪县| 江达县| 松潘县| 德钦县| 达州市| 凤阳县| 汕头市| 扶余县| 南漳县| 宁强县| 锡林浩特市| 肥城市| 依安县| 镇坪县| 吉木乃县| 玛纳斯县| 广丰县| 永修县| 昌吉市| 广丰县| 阿尔山市| 东阿县| 岚皋县| 新泰市|