Part 2 of my personal programming projects during the Horde Hackathon 2011 in Boston, featuring an autoloader cache which boosts performance a bunch.
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 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 [...]
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 [...]
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 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 [...]
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 [...]
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 [...]
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 [...]
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 [...]