Book Image

CakePHP 2 Application Cookbook

By : James Watts, Cake Software Foundation, Inc.
Book Image

CakePHP 2 Application Cookbook

By: James Watts, Cake Software Foundation, Inc.

Overview of this book

Table of Contents (20 chapters)
CakePHP 2 Application Cookbook
Credits
Foreword
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Chapter 10. View Templates

In this chapter, we will cover the following topics:

  • Using blocks

  • Building an XML view

  • Generating a PDF

  • Writing some PDF content to a file

  • Translations

  • View caching

  • The AssetCompress plugin