PHPNews

PSR-7 Request and Method Utilities

We all know the standard HTTP request methods and status codes, right? Or do we? We definitely know whether or not they should be integers or strings, and/or how string values should be normalized, right? And our IDEs can totally autocomplete them, right? Oh, that's not the case? Some time ago, a few folks …

Continue reading »

Written by Matthew Weier o'Phinney - - Aggregated on Thursday January 26, 2017


Automating PHPUnit with Node

I've been trying to automate everything this year. When working on OSS, this is usually as simple as setting up Travis CI ; in some cases , even that becomes a little more involved , but remains possible. But that's continuous integration . What about continuous development ? Continuous development? …

Continue reading »

Written by Matthew Weier o'Phinney - - Aggregated on Monday October 24, 2016


Using Composer to Autoload ZF Modules

One aspect of Zend Framework 3 , we paid particular focus on was leveraging the Composer ecosystem. We now provide a number of Composer plugins for handling things such as initial project installation, registering installed modules with the application, and more. It's the "more" I particularly want to talk about. …

Continue reading »

Written by Matthew Weier o'Phinney - - Aggregated on Wednesday August 17, 2016


Push-to-Deploy with AWS CodeDeploy

AWS CodeDeploy is a tool for automating application deployments to EC2 instances and clusters. It can pull application archives from either S3 or GitHub, and then allows you to specify how to install, configure, and run the application via a configuration specification and optionally hook scripts. When setup …

Continue reading »

Written by Matthew Weier o'Phinney - - Aggregated on Thursday June 30, 2016


Programmatic Expressive

Enrico just returned from phpDay , where he spoke about Expressive and the upcoming Zend Framework 3. One piece of feedback he brought back had to do with how people perceive they should be building Expressive applications: many think, based on our examples, that it's completely configuration driven! As it turns …

Continue reading »

Written by Matthew Weier o'Phinney - - Aggregated on Monday May 16, 2016


On Deprecating ServiceLocatorAware

A month or two ago, we pushed a new release of zend-mvc that provides a number of forwards-compatibility features to help users prepare their applications for the upcoming v3 release. One of those was, evidently, quite controversial: in v3, zend-servicemanager no longer defines the ServiceLocatorAwareInterface , …

Continue reading »

Written by Matthew Weier o'Phinney - - Aggregated on Tuesday April 26, 2016


Serve PSR-7 Middleware Via React

I've been intending to play with React for some time, but, for one reason or another, kept putting it off. This past week, I carved some time finally to experiment with it, and, specifically, to determine if serving PSR-7 middleware was possible. React For those of you unfamiliar with it, React is a project …

Continue reading »

Written by Matthew Weier o'Phinney - - Aggregated on Sunday April 17, 2016


Expressive 1.0 in the Wild!

A few hours ago, we pushed Expressive 1.0 . This is a huge milestone for the ZF3 initiative; I've even called it the cornerstone. It signals a huge shift in direction for the project, returning to its roots as a component library. Expressive itself, however, also signals the future of PHP applications we …

Continue reading »

Written by Matthew Weier o'Phinney - - Aggregated on Thursday January 28, 2016


Secure PHAR Automation

For a variety of reasons, I've been working on a utility that is best distributed via PHAR file. As has been noted by others (archive.is link, due to lack of availability of original site), PHAR distribution, while useful, is not without security concerns, and I decided to investigate how to securely create, …

Continue reading »

Written by Matthew Weier o'Phinney - - Aggregated on Thursday December 17, 2015


On 10 Years at Zend

10 years ago, as I write this, I was on a plane from Burlington, VT, to San Jose, CA, where I'd be starting work at Zend Technologies the next day as a PHP Developer. I started on the eBiz team under Daniel Kushner, and was tasked with moving our home-grown, website that was developed originally in PHP 3, and …

Continue reading »

Written by Matthew Weier o'Phinney - - Aggregated on Friday September 18, 2015


On 10 Years at Zend

10 years ago, as I write this, I was on a plane from Burlington, VT, to San Jose, CA, where I'd be starting work at Zend Technologies the next day as a PHP Developer. I started on the eBiz team under Daniel Kushner, and was tasked with moving our home-grown, website that was developed originally in PHP 3, and …

Continue reading »

Written by Matthew Weier o'Phinney - - Aggregated on Friday September 18, 2015


On 10 Years at Zend

10 years ago, as I write this, I was on a plane from Burlington, VT, to San Jose, CA, where I'd be starting work at Zend Technologies the next day as a PHP Developer. I started on the eBiz team under Daniel Kushner, and was tasked with moving our home-grown, website that was developed originally in PHP 3, and …

Continue reading »

Written by Matthew Weier o'Phinney - - Aggregated on Friday September 18, 2015


On PSR7 and HTTP Headers

Yesterday, a question tagged #psr7 on Twitter caught my eye: #psr7 Request::getHeader($name) return array of single string instead of strings in #Slim3? cc: @codeguy pic.twitter.com/ifA9hCKAPs @feryardiant ( tweet ) The image linked provides the following details: …

Continue reading »

Written by Matthew Weier o'Phinney - - Aggregated on Tuesday July 28, 2015


On PSR7 and HTTP Headers

Yesterday, a question tagged #psr7 on Twitter caught my eye: #psr7 Request::getHeader($name) return array of single string instead of strings in #Slim3? cc: @codeguy pic.twitter.com/ifA9hCKAPs @feryardiant ( tweet ) The image linked provides the following details: …

Continue reading »

Written by Matthew Weier o'Phinney - - Aggregated on Tuesday July 28, 2015


On PSR7 and HTTP Headers

Yesterday, a question tagged #psr7 on Twitter caught my eye: #psr7 Request::getHeader($name) return array of single string instead of strings in #Slim3? cc: @codeguy pic.twitter.com/ifA9hCKAPs @feryardiant ( tweet ) The image linked provides the following details: When I call $request->getHeade…

Continue reading »

Written by Matthew Weier o'Phinney - - Aggregated on Tuesday July 28, 2015