Steve O'Brien is the founder of Newicon a UK based web application and software development company. He is a passionate coder and technology enthusiast with keen interest in machine learning and computational neuroscience. When he is not coding for Newicon, you might find him singing and riffing out with with his band In Extremis. You can connect with Steve on Facebook, Linked In, Twitter, or his blog www.steve-obrien.com.
This is the last article in the three-part series of the Yii Framework’s component class, this time discussing behaviors. The goal of the series has been to show you how Yii implements a component-based architecture and how its
CComponentclass handles the implementation details by making clever use of PHP’s magic methods.
This is Part 2 of a 3-part series that shows you some of the inner-workings of the Yii Framework’s component architecture. In this part you’ll learn how you can do event-based programming in PHP and how the CComponent class facilitates it.
This is Part 1 of a 3-part series that shows you some of the inner-workings of the Yii Framework’s component architecture. In this part you’ll learn how Yii’s CComponent class uses PHP’s magic __get() and __set() functions to take advantage of the benefits of getter and setter methods while still allowing access to properties as if they were public variables.