In this article, I'm going to cover an example of implementing some business logic in our usual Active Record patterns, and then I'll show how the same logic can be applied using the Data Mapper pattern. In both cases, we'll see how we can move our business logic into our business entities, thus avoiding anemic business domain. We'll also cover pros and cons of the two styles of ORMs and how they affect the way we write our code.
OpCache is like APC - it caches your compiled PHP so you don't need to rebuild it on every request. PHP 5.5 comes with OpCache out of the box. I happen to have PHP 5.4 and wanted it now, so I decided to install it. Here's how.
There's some confusion about what the PHP-FIG is. I'm here to add to that confusion.
Frameworks provide a tool for rapid application development, but often accrue technical debt as rapidly as they allow you to create functionality.
Using Tasksel and installing the lamp-server package still gives you php 5.3. Here's how to install a LAMP server with php 5.5.