I like the beginning of a new year because it provides the perfect place to consider what happened last year and what I can do this year. In evaluating 2012, I've come to the realization that as a software developer, I need to aoup my gamea somewhat. Though I consider myself to be a great [...]
Just a quick post to announce that I'm speaking on aoDatabase Testing for Fun and Profita at the SunshinePHP Conference being held in Miami, Florida on February 8-9. Hope to see you there!
Andrew Podner has a new post to his site today sharing some of the things he discovered when looking into Lithium, a PHP framework that is "the first to break ground into major new technologies, including bridging the gap between relational and non-relational databases through a single, unified API."Enter my New Year's Resolution. I promised myself that I would pick up another framework this year and I had been introduced to Lithium at Codeworks in a presentation given by Elizabeth Naramore several...
Freek Lijten has posted the last article in his series looking at the SOLID development principles, this time looking at "D", the Dependency Inversion Principle.The DIP deals with avoiding mixing different levels of abstraction in your code. In this article we will explore the last of these principles in depth. [...] I want to show you how depending on abstractions makes our lives easier in a larger example. Since we're going to be loading, updating and storing bikes a lot in our application I would like...
Previously, on decoupling and dependencies, I said: aoSome [Symfony] commenters were dissatsifed with my use of unit testing requirements to discover what a package really depends on, as opposed to what its composer.json file states.a I'm willing to allow that a Continue reading a'
Matthew Setter has a new post to his site today introducing you to modules in Zend Framework v2 - the "application's heart".So it really is rewarding and exciting to begin covering all that it has to offer us. In part one of this series, I looked at a central concept of the revised framework - Dependency Injection. In this, the second part, I'm moving on to give a good introduction to the next most important aspect - Modules. In today's post, we'll be looking at what they are, some thoughts and quotes...
Recent releases from the Packagist:mjohnson/uploader (4.0.0-rc2)
rcrowe/librato-annotation (0.1.2, 0.1.1, 0.1.0)
maximebf/consolekit (1.0.3, 1.0.2, 1.0.1)
ner0tic/php-api-core (1.0.8, 1.0.7)
Wunderground Weather API
PHP Contact Form Script
Distribution of multidimensional array data into columns
Displays data from a multidimensional array
PHP GUI API
Random Image from Folders
On PHPMaster.com today there's a new tutorial posted about creating your own OAuth server in PHP using the oauth-php package to do the "heavy lifting".If you've ever integrated with another API that requires security (such as Twitter), you've probably consumed an OAuth service. In this article, I'll explore what it takes to create your own three-legged OAuth server allowing you, for example, to create your own secure API which you can release publicly.They include a visual representation of the OAuth...
If you've ever looked at getting your ZCE (Zend Certified Engineer) certification but didn't know where to start, Lorna Mitchell suggests that 2013 is the year to do it and offers some tips (and her own guide to help you along the way).A few people have told me it's their New Year's resolution to become a ZCE this year, and I'm sure they're not the only ones. I regularly help developers and teams prepare for ZCE, so I thought I'd make up a mini package of tips, tricks and a full set sample questions with...
Recent releases from the Packagist:chilldev/view-helpers-bundle (0.1.0)
goutte/tree-bundle (v1.7.1, v1.6)
dragonee/silverplate-form (v0.8.2, 0.8.2-rc1, 0.8.2, v0.8.2-beta1, 0.8.1)
Latest PECL Releases:
A few people have told me it's their New Year's resolution to become a ZCE this year, and I'm sure they're not the only ones. I regularly help developers and teams prepare for ZCE, so I thought I'd make up a mini package of tips, tricks and a full set sample questions with solutions and explanations, for anyone who won't be taking a whole preparation course. The package costs 25 USD (that's about 15 quid if you're local!), you can click on the button below to buy it, and/or keep reading for some of the...
OpenStreetMap: A Year of Edits 2012
Tuesday, January 1st 2013, 00:04 GMT
Just like last year I've analysed all the edits to OpenStreetMap and produced a visualisation. It was a bit trickier this year as I also wanted to visualize the work of the redaction bot as well as the "redaction period" and the switch to ODbL for OpenStreetMap data.
The result is: OpenStreetMap: A Year of Edits (2012):
OpenStreetMap: A Year of Edits (2012)
You can see the video in HD on Vimeo.
I have started to make...
The December issue of php|architect magazine has been released, the final issues brought to you by the current php|architect crew (see here for more info on that). Articles included in this issue include:
Introducing PHP to the Hubble Space Telescope Program - Eli White
30 Stupid (But Useful) PHP Tricks and Tips - Elizabeth Smith
Getting Organized: Namespaces for PHP Applications - Andrew Podner
Performance: PHP Isn't All You Need For Fast Web Apps - Matthew Setter
Bug Zapper: A New Adventure - Bart...
In his latest post, Stuart Herbert has shared some thoughts about the recently proposed PSR-3 proposal for a unified logging interface for PHP projects.PSR-3 is a proposed standard (voting has finished, it should appear as an accepted standard when the PSR folks recover from too much Christmas turkey) describing a common logging interface for PHP frameworks. It's based on a small subsection of RFC 5424, which describes the Syslog standard, which is a very sensible choice. Sysadmins think in terms of...
On PHPMaster.com there's a recent tutorial from Martin Psinas about how you can add text to an image with the help of Imagick, the image editing software that's available to PHP via an extension.In a previous article, Timothy Boronczyk wrote about how to create watermarks with Imagick using an overlay image. In this article, I'll show you how to achieve a similar effect using plain text.He takes a sample image (a headshot) and offers two versions of the same functionality - both the shell command (using...
I've just released a new version of Excel extension for PHP, v0.9.8. The main purpose of this release is to add compatibility for libxl 3.4. From the library ChangeLog there appear to be quite a few fixes to the library, so it looks like a worth while upgrade for most users.
You can download the tarball at http://ilia.ws/patch/php-excel-0.9.8.tar.bz2.
Sources are available at https://github.com/iliaal/php_excel/.
One important note, the 3.4.0 version of LibXL has a bug that causes numbers to be...
Recent releases from the Packagist:micjohnson/weed-php (v0.1)
Latest PHP Tweets