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.

Pagination is useful when displaying a large dataset which might have hundreds results and provides a much nicer user experience. In this tutorial, you’ll learn how to use CodeIgniter’s pagination library to create a paginated list of results from a MySQL database.

Extensible Markup Language (XML) is a big building block of today’s web with hundreds of XML-based languages having been developed, including XHTML, ATOM, and SOAP just to name a few. Knowing how to process XML data is a crucial programming skill today, and thankfully, PHP offers multiple ways to work with it. In this article you’ll learn what XML is and how to use the XML Parser and SimpleXML extensions to parse it.

The hard fight against mean machines that enjoy enslaving humans and using them like plain batteries will hopefully end up in a resounding triumph… if only Neo adheres to the Liskov Substitution Principle.

CakePHP is a framework that provides a solid MVC base for PHP development, allowing users at all skill levels rapidly develop robust web applications. In this article you’ll learn about two of CakePHP’s most useful features: automatic code generation with Bake, and dynamic scaffolding.