Troels Knak-Nielsen
For this tutorial, I'll show how you can render the well known super awesome button into a sprite that can be used in most current browsers and look just as good as they do in webkit. You can use the... Read More
pearhub.org provides a place where you can register a project, that is hosted on Github, Google code or similar.Read More
The advice for PHP developers in Google's recent "make the web faster" campaign are plain wrong. Troels tackles some of the tips and provides some words of wisdom on how to really optimise your... Read More
Troels got fed up with the lack of a decent Dependency Injection container for PHP, so he did what any diligent programmer would do ... he built his own. Check out Bucket, released today as an open... Read More
Just a quick tip, since I spent a good hour figuring this out recently. PHP has no native way of doing an interactive password prompt, when running as CLI. You can however use bash for the task. Of... Read More
Markdown is one of the most popular alternatives to writing markup -- partly because it's easy to understand for non-technical users. Here, Troels introduces an implementation that includes a live... Read More
Troels Knak-Nielsen offers some thoughts about the naming of $_GET and $_POST and general HTTP confusion.Read More
php-tracer-weaver is a tool for automatically generating docblock comments, with parameter types.Read More
I’ve been tinkering with dumping PHP objects, and have found myself constantly running into a brick wall. The output from print_r and friends is fine in some contexts, but for larger structures, it... Read More
Fredrik Holmström recently posted a small template engine, based on DOM-manipulation. While there are certainly a lot of template engines around, I find this approach interesting. The concept is... Read More
Ever been stuck trying to shoehorn UTF-8 encoded strings into a Latin1 character set? Troels encountered this problem recently, and this is how he tackled it.Read More
Just a quick hint to people with an interest in the development of PHP, but no time for following php-internals. Since March, there has been a wiki at wiki.php.net. The most interesting section is... Read More
I just checked in a little project, I’ve been working on for the last couple of weeks. It really begun at the last Copenhagen php-meetup; Joakim Nygård and Jacob Oettinger made a presentation... Read More
While debuggers exists, there isn’t much of a tradition for using them in PHP. People have largely come to rely on injecting debugging code directly into the program, for inspecting program... Read More




