PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 1 to 20 of 242

php|architect: December 2012 Issue Released

php|architect: December 2012 Issue Released
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...

Stuart Herbert: Personal Thoughts On The PSR-3 Log Proposal

Stuart Herbert: Personal Thoughts On The PSR-3 Log Proposal
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...

PHPMaster.com: Adding Text Watermarks with Imagick

PHPMaster.com: Adding Text Watermarks with Imagick
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...

Excel Extension v0.9.8 Released!

Excel Extension v0.9.8 Released!
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...

Community News: Packagist Latest Releases for 12.31.2012

Community News: Packagist Latest Releases for 12.31.2012
Recent releases from the Packagist:micjohnson/weed-php (v0.1) lstrojny/fxmlrpc (0.5) ocramius/ocra-cached-view-resolver (0.1.4) dragonee/silverplate-form (0.8.0) twig/twig (v1.12.0-RC1) dandoescode/uhoh (0.0.1) webino/nette-debug (1.0.0) imbo/imbo (0.1.0) kunststube/potools (0.4) stripe/stripe-php (v1.7.11) jwest/strong (v1) iron-io/iron_mq (1.3.1) packfire/concrete (1.1.0) phpmyfaq/phpmyfaq (2.8.0-beta) thorsten/phpMyFAQ (2.8.0-beta) proem/proem (0.10.0-alpha2) proem-components/dispatch (0.10.0-alpha2)...

Community News: Latest PEAR Releases for 12.31.2012

Community News: Latest PEAR Releases for 12.31.2012
Latest PEAR Releases: Net_DNS2 1.2.5 Mail_Mime 1.8.7

Getting off the island in 2013

Getting off the island in 2013
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...

A Last Chance To Get A Bonus With Do This, Not That

A Last Chance To Get A Bonus With Do This, Not That
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 [...]

OpenShift, Cron, and Naked Domains

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 thorough test. 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. Cron OpenShift offers a Cron cartridge, which I was excited to...

2012 - What A Year

2012 - What A Year
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...

Community News: Packagist Latest Releases for 12.30.2012

Community News: Packagist Latest Releases for 12.30.2012
Recent releases from the Packagist:micjohnson/weed-php (v0.0-beta) mjohnson/decoda (5.0.0-beta) primal/record (v2.0a3) petebrowne/slim-layout-view (0.1.0) kunststube/potools (0.3) proem/proem (0.10.0-alpha1) proem-components/bootstrap (0.10.0-alpha1) proem-components/signal (0.10.0-alpha1) proem-components/service (0.10.0-alpha1) proem-components/routing (0.10.0-alpha1) proem-components/filter (0.10.0-alpha1) proem-components/dispatch (0.10.0-alpha1) proem-components/http (0.10.0-alpha1)...

Community News: Packagist Latest Releases for 12.29.2012

Community News: Packagist Latest Releases for 12.29.2012
Recent releases from the Packagist:cpliakas/jira (1.0.0beta1) pyrocms/lex (2.2.1) iron-io/iron_mq (1.3.0) sp/fixture-dumper-bundle (v1.0) sp/fixture-dumper (v1.0) batlock666/fnord-pod (0.1.0) batlock666/fnord-safename (0.1.0) doctrine/orientdb-odm (1.0.0-beta6, 1.0.0-beta5) murganikolay/smarty-module (1.0.0) stroker/cache (v0.01) fsi/datagrid-bundle (0.9.0) batlock666/fnord-utf8 (0.1.0) chh/pipe (v0.1.0) chh/pipe-silex (v0.1.0) congow/orient (1.0.0-beta5) ngyuki/phake (v1.0.3-p2) wrench/wrench (v2.0.0)

Personal Thoughts On The PSR-3 Log Proposal

Personal Thoughts On The PSR-3 Log Proposal
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: Video: Multi-tasking in PHP (from Atlanta PHP)

Jonathan Hill: Video: Multi-tasking in PHP (from Atlanta PHP)
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...

Phil Sturgeon: Arguing on the Internet

Phil Sturgeon: Arguing on the Internet
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...

EngineYard.com: Cloud Out Loud - Future of PHP (ZF2 & CakePHP)

EngineYard.com: Cloud Out Loud - Future of PHP (ZF2 & CakePHP)
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...

Community News: Packagist Latest Releases for 12.28.2012

Community News: Packagist Latest Releases for 12.28.2012
Recent releases from the Packagist:tkyk/markup (v2.0.0) dkcwd/dkcwd-zf2-munee (v1.2.1) sqmk/phue (0.1.0) sylius/cart-bundle (v0.2.0) cypresslab/gitelephant (0.9.10) neutron/datagrid-bundle (v1.0.2) alexmace/xmpp (1.0.5) mf4php/mf4php-beanstalk (1.1.0) mf4php/mf4php (1.1.0) trf4php/trf4php (1.1.2, 1.1.1, 1.1.0) trf4php/trf4php-doctrine (1.1.0) canoma/canoma (v0.0.3) webignition/html-document-type-identifier (0.4, 0.3) rodgermd/janrain-bundle (v0.1.2) maximebf/consolekit (1.0.0) maximebf/events (1.0.0)...

Site News: Popular Posts for the Week of 12.28.2012

Site News: Popular Posts for the Week of 12.28.2012
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...

James Fuller: First Impressions: Cloud9 IDE + PHP

James Fuller: First Impressions: Cloud9 IDE + PHP
James Fuller has posted a review of the online code editing tool Cloud9 and how well it works for his PHP development.At first I though Cloud9 would be a simple editor, perhaps a nice showcase of what you can do with HTML5 and some well-written javascript but it quickly became evident that this app was packing a lot of powerful features. [...] Sounds pretty awesome if you think about it. You can even connect you own server via SSH instead of using the build in sandbox (this is a paid feature). Is this...

PHP Town Hall Podcast: Episode #3 - The EE Revolt of 2012 and Why You Should Unit-test Your Shit

PHP Town Hall Podcast: Episode #3 - The EE Revolt of 2012 and Why You Should Unit-test Your Shit
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...