Book Image

Mastering TypoScript: TYPO3 Website, Template, and Extension Development

Book Image

Mastering TypoScript: TYPO3 Website, Template, and Extension Development

Overview of this book

Free, open-source, flexible, and scalable, TYPO3 is one of the most powerful PHP content management systems. It is well suited for creating intranets and extranets for the enterprise. While providing an easy-to-use web interface for non-technical authors and editors of content, its messaging and workflow system enable shared authoring and collaboration. TYPO3 provides flexible and powerful interfaces for both content editors and administrators, giving them full control of the core aspects the system. However for developers who need to customize the system, TYPO3 offers a powerful configuration language called TypoScript. Good knowledge of TypoScript is really a prerequisite for implementing complex applications with TYPO3 and gives developers full control over the configuration of TYPO3 and its template engine. TypoScript enables the complete output template to be created and manipulated, giving you full control over the layout of the site. TypoScript also allows you to integrate dynamic contents, JavaScript-based menus, Flash, Graphics, etc. with ease. You have maximum control over the design of the website and can control all options that would otherwise be addressed by HTML-simple text output, formatting, and much more. TypoScript also allows you to generate graphics at run time and display different content dynamically.
Table of Contents (19 chapters)
Mastering TypoScript: TYPO3 Website, Template, and Extension Development
Credits
About the Author
Preface

Caching


TYPO3 offers a caching mechanism. A glance at the operating mode of CM systems tells you how important this is. Except for static pages, most CMSs generate their contents from a database. With a high number of visitors, the page slows down considerably. To prevent this, the page is put into an intermediate storage position in the form of HTML code. If visitors call the page again, it is not composed afresh from the individual components of the database—the page already generated is displayed from the cache.

TYPO3 undertakes the caching of pages itself. But as soon as changes are made in the page, the cache is automatically deleted.

What is Cached in TYPO3

Configuration settings, the HTML output of static pages, and picture sizes are the main items cached in TYPO3. Extensions also make use of the caching function in order to maximize output speed. Some elements do not use the cache even though it is commonly assumed that they do. Among these are pictures created on the server.

Now that...