Subscribe to ITTreats.com - PHP

Horde Hackathon 2011 part 2 – Horde news

Part 2 of my personal programming projects during the Horde Hackathon 2011 in Boston, featuring an autoloader cache which boosts performance a bunch.

Twig extension – Derick Rethans

Twig extension London, UK Monday, November 21st 2011, 09:20 GMT A while ago, Fabien asked me to have a look at porting one of Twig’s slowest methods, TwigTemplate::getAttribute(), into a PHP extension. It is a complex method that does a lot of different checks and look-ups. Fabien’s benchmarks showed that this method was responsible for [...]

We The State, Not We The People – Brandon Savage

By now, most if not all of us have seen the graphic images from UC Davis, where students were pepper sprayed at point blank range by two officers of the campus police force. These images have become more and more commonplace in our society, which is quite sad. The news seems more and more consistently [...]

ZetaCode.com: PHP GTK tutorial

Jan Bodnar has pointed out a great PHP-GTK tutorial on ZetaCode.com that walks you through some of the major points of this graphical frontend for PHP: This tutorial will teach you the basics of GUI programming with the PHP GTK. The tutorial has 8 chapters which cover the first steps with the library, menus, toolbars, [...]

Henrik Bjørnskov’s Blog: Travis & Composer sitting in a tree K-I-S-S-I-N-G

Henrik Bjørnskov has a quick new post today showing how to combine two powerful technologies into a simple, configurable autoload system in a Symfony Travis-CI build with Composer. To integrate your project with travis the only thing necesarry is to have a .travis.yml file and a working PHPUnit test setup like http://github.com/simplethings/SimpleThingsFormExtraBundle. Where the Tests/vendors.php [...]

Johannes Schlüter’s Blog: High Performance PHP Session Storage on Scale

In this new post to his blog, Johannes Schlüter looks at a high-performance solution to the usual storing PHP session information via a memcache frontend with a MySQL Cluster backend. Unfortunately even such a system [using MySQL and InnoDB tables] has limits and unfortunately replication is no good solution here to scale further as we [...]

DevShed: Building an ORM in PHP

On DevShed today there’s a new tutorial showing you how to build a basic ORM layer on top of a MySQL database. It includes all the code you’ll need (cut&paste-able, not as a download). Obviously, with so many ORMs at one’s disposal for free, it seems pretty pointless to develop a custom one; are we [...]

DZone.com: Creating a virtual server with Vagrant: a practical walkthrough

On DZone.com there’s a new post from Giorgio Sironi looking at how to automate a build of a virtual server with Vagrant, setting up a LAMP-based development instance. Vagrant ia a tool for building virtual machines (in VirtualBox’s format) that conforms to a specification. It’s written in Ruby, but it makes really no assumptions over [...]

Site News: Popular Posts for the Week of 11.18.2011

Popular posts from PHPDeveloper.org for the past week: PHPMaster.com: PHP Master: Writing Cutting-Edge Code php|architect: Finding Exactly Where You Are PHPBuilder.com: Building RESTful Web Services with the Zend Framework Community News: Zend Framework 2 Development – CLA Not Required! PHP.net: PHP 5.4 RC 1 Released Learncomputer.com: PHP Profilers Compared (PHP Quick Profiler & XDebug) Court [...]