O'Reilly logo

Web Application Development with Yii 2 and PHP by Jeffrey Winesett, Mark Safronov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Overall Behavior

In this chapter, we'll look at some features of the Yii 2 framework that are non-local in some sense. They will not help you implement new features per se, but without these features, your ability to make robust applications both from the developer and user points of view will be severely hindered.

Here is the list of features we will explore shortly:

  • Logging messages
  • Handling errors
  • Caching
  • Compiling assets

As usual, in this book, we'll concentrate more on the practical aspects of actually using these features, as for the precise technical details of their implementation you can look up either in the excellent Yii documentation or directly in the source code.

Let's start with how message logging is implemented in Yii 2.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required