Book Image

Drupal 5 Themes

Book Image

Drupal 5 Themes

Overview of this book

Drupal is an award winning open source Content Management System. Based on PHP/MySQL, its power and flexibility combined with its exceptional design mean it is already on the way to becoming the de facto standard for CMS Websites. Drupal?¢‚Ǩ‚Ñ¢s modular design and structured source code make it both highly flexible and easily extended and modified. Drupal is extremely scalable, making it ideal for both a simple personal website as well as an industrial strength commercial or institutional web presence.Drupal is a model open source project in that it has a large, friendly community of people who contribute to the project in various ways. Drupal is not only free and easy to use, but this community provides on going mutual support.
Table of Contents (14 chapters)
Drupal 5 Themes
Credits
About the Author
About the Reviewer
Preface
Appendix A

How does it Work?


PHPTemplate is a tool that helps separate the tasks of the programmer from the tasks of the designer. As a tool, PHPTemplate makes it possible for web programmers to work on the business logic of an installation without having to worry too much about the presentation of the content. In contrast, web designers can focus entirely on the styling of discreet blocks of content and items, comprising the layout and the interface. Developers and designers can divide their tasks and optimize their work.

By comparison, other approaches to theming exhibit less flexibility. Themes can be created only with the use of PHP. Pure PHP themes, however, are difficult for those less fluent in the PHP programming language. Pure PHP templates are also hard to read, more difficult to code, and awkward to preview.

Building themes with a theme engine represents a more manageable way of handling dynamic web applications. Every PHPTemplate theme file contains an HTML skeleton with some simple PHP...