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 PEAR Releases:
And so 2012 draws to a close. The world didn't end, to the disappointment of many. In some ways it was an eventful year, in others rather ho-hum follow-ups to the excitement of 2011.
In the Drupal world, though, 2012 will go down as the year Drupal finally began replacing NIH with PIE. Compare Drupal's 8.x branch a year ago with it today. A year ago, we had one class of 3rd party PHP code, in an uninteresting corner of the update system. Today, it contains 3rd party code from no less than five different...
When I released Do This, Not That: Object Oriented PHP, I also included a free bonus of aoProgrammer in Command: What Aviation Teaches Software Developersa. This manifesto contains several suggestions that I learned over time as the best software development practices. I offered it until January 1st, 2013, and since that's coming up on us [...]
As an experiment, I migrated my website over to OpenShift yesterday. I've been
hosting a pastebin there already, and have found the service to be
both straightforward and flexible; it was time to put it to a more
In the process, I ran into a number of interesting issues, some
of which took quite some time to resolve; this post is both to help
inform other potential users of the service, as well as act as a
reminder to myself.
OpenShift offers a Cron cartridge, which I was
Well, 2012 is wrapping up. What a year it has been! Here's a partial recap of some of the things that happened to me and that I did this year:Top 5 Blog Posts (By Page View):PHP Sucks, But I Like ItThe True Problem With PHPAnatomy Of An Attack: How I Hacked StackOverflowOOP vs Procedural CodeThe Secure Programmer's PledgeBottom 5 Blog Posts (By Page View):Upcoming Presentations - Fall 2012The True Power of Open SourceThe Grass Is Always BrownerProgramming With Anthony - Responsive Web DesignProgramming...
Recent releases from the Packagist:micjohnson/weed-php (v0.0-beta)
Recent releases from the Packagist:cpliakas/jira (1.0.0beta1)
doctrine/orientdb-odm (1.0.0-beta6, 1.0.0-beta5)
I've mixed feelings about the PSR standards to date.
PSR-0 has standardised autoloading in a practical way. Sure, it does have an evil design flaw (different classes can map to the same file on disk), but in practice it's not a problem that happens.
I'd have personally liked to have seen PSR-1 go further, and address method naming in more detail (in particular, that method names should start with a verb), and also address getters/setters and protected vs private.
I've no personal interest in PSR-2, and...
Jonathan Hill has posted the video of his recent presentation at the Atlanta PHP User Group, "Multi-tasking in PHP".When it comes to multi-tasking and interacting with the operating system, PHP is no lightweight. In this December 6, 2012 presentation Jonathon Hill (@compwright) explores PHP's little-known POSIX, Process Control, and Semaphore extensions and shows you how to introduce a parallel dimension to your applications.His presentation covers the use of multi-tasking to accomplish some common tasks...
In his latest post Phil Sturgeon shares some thoughts in response to this article from Shawn McCool about the "death of CodeIgniter", citing a few specific points.I have referenced Shawn McCool's blog a few times, "Why CodeIgniter is Dead" and people are wondering why I argued so hard against it back in May but then gave CodeIgniter such a hard time in my last article. For the record I'm not team CodeIgniter or team Laravel, I'm a PHP user who has some opinions, and some of those opinions change over...
Engine Yard has recently posted two podcasts looking at the "Future of PHP" as it relates to two of the popular PHP frameworks out there - CakePHP and Zend Framework 2, as interviewed by Davey Shafik.The first episode is an interview with some of the core ZF2 contributors about the framework and where they think it's headed. They cover the planned roadmap, targets for next year involving PHP 5.4 and 5.5 as well as how it compares to other frameworks out there today.In the second episode Davey talks with...
Recent releases from the Packagist:tkyk/markup (v2.0.0)
trf4php/trf4php (1.1.2, 1.1.1, 1.1.0)
webignition/html-document-type-identifier (0.4, 0.3)
Popular posts from PHPDeveloper.org for the past week:Vance Lucas: Introducing Bullet: The Functional PHP Micro-Framework
NetTuts.com: How to Setup Laravel 4
Matthew Weier O'Phinney: On php-fig and Shared Interfaces
Andrew Podner: CodeIgniter: Keeping M-V-C straight
PHPMaster.com: Why Suppressing Notices is Wrong
Community News: Packagist Latest Releases for 12.22.2012
Nikita Popov: Cooperative multitasking using coroutines (in PHP!)
PHPMaster.com: What's New in Zend Framework 2
Anthony Ferrara: Seven...
The PHP Town Hall podcast has posted their latest episode - Episode 3: "The EE Revolt of 2012 and Why You Should Unit-test Your Shit".ExpressionEngine Pro Anna Brown and Testing Hero Chris Hartjes join Ben Edmunds and Phil Sturgeon to discuss the recent rumblings in the ExpressionEngine community and the new EE StackExchange site. We talk about Inversion of Control (IoC), what it is, why its useful and how it's done. We also talk a little bit about how PHP has been (and is continuing) to move towards a...