Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Lorna Mitchell:
Generating a File List for Phan
Nov 27, 2015 @ 10:38:33

Lorna Mitchell has shared a tip she's found helpful when using the phan static analysis tool for finding only PHP files via a simple grep.

Phan is the PHP Analyzer for PHP 7 code. I've been using it, partly out of curiosity, and partly to look at what the implications of upgrading my various projects will be. [...] I generated my filelist.txt files with a little help from grep - by looking for all files with opening PHP tags in, and putting that list of filenames into a file.

The phan tool is still pretty young but it provides a good example of how to use the new php-ast handling to parse and analyze PHP code.

tagged: phan file list generate quick tip grep static analysis tool

Link: http://www.lornajane.net/posts/2015/generating-a-file-list-for-phan

Ben Ramsey:
Lack of Hypermedia
Nov 27, 2015 @ 09:37:38

In a post to his site today Ben Ramsey shares his response to a question about hypermedia in APIs and how they could make the API more brittle if used incorrectly.

One of the most common problems I see in API development is lack of hypermedia, or none at all. By hypermedia, I mean links that describe relationships among data in the API. When hypermedia isn’t used, the API becomes brittle, and those building clients that talk to the API are forced to code to URLs. The URLs become an important interface to the API, and if they change, they break everything. This leads to URL-based versioning schemes, and the only upgrade path for clients is to modify their code to accommodate the new versions.

He suggests that when APIs use hypermedia they tend to no longer rely on the URLs of the resources (as they're linked from the meta in other requests). He also shares the slides for a presentation he gave at this year's True North PHP Conference with more information on the topic.

tagged: hypermedia lack url resource link

Link: https://benramsey.com/blog/2015/11/lack-of-hypermedia/

Developer Drive:
Looming PHP 7 and its effect on WordPress
Nov 26, 2015 @ 11:54:15

On the Developer Drive site they've posted an article for all of the WordPress users (and other curious folks) about the impact PHP 7 will have on the current WordPress system.

It’s no big secret now that PHP 7 is just on the horizon, and with that development comes questions on how it affects sites that run on WordPress. PHP 7 is a massive update to the server-side web development language called PHP, yet it’s also going to have an impact on any PHP-powered CMS like Drupal, Joomla and Magento.

They go through some of the major changes in PHP 7 and talk briefly about what kind of effects they'll have on those running this popular CMS including:

  • Performance upgrades
  • New and improved operators
  • Continuous 64-bit support
  • Anonymous class support

They recommend that you keep an eye out for messages from your host that they might be upgrading, backing up your site to prevent loss and update your plugins/themes prior to any PHP 7 switch over.

tagged: php7 wordpress features update recommendation hosting

Link: http://www.developerdrive.com/2015/11/looming-php-7-and-its-effect-on-wordpress/

SitePoint PHP Blog:
Liking, Watchlisting and Uploading through Vimeo’s API
Nov 26, 2015 @ 10:26:40

The SitePoint PHP blog continues their series looking at using the Vimeo API from PHP with the second part of their series, enhancing the previous functionality. In this new tutorial they show you how to hook in to the Vimeo API and "like" videos, add them to watchlists and even push them through as uploads.

In a previous post, we used the Vimeo API to build a rudimentary video application with Silex and Twig. We added login and user feed functionality and wrapped it all up with a video searching feature. In this one, we’ll add in liking a video, adding a video to a watchlist for later, and uploading videos via the Vimeo API.

You'll need to have the functionality from part one in place first. From there they take off running, showing you how to interact with videos to perform the "like" and "add to watchlist" actions. The interaction with the API is fired from Javascript on the page and passed through a backend script through to the API. They follow this with the handling for the uploads, using a standard file upload form for input with a few validations once submitted. The code then uses the library to pull in the contents of the file and push it through to the API.

tagged: vimeo api tutorial part2 series watchlist like upload video

Link: http://www.sitepoint.com/liking-watchlisting-and-uploading-through-vimeos-api/

Zend Framework Blog:
Zend Framework 3 Update and Roadmap
Nov 26, 2015 @ 09:47:33

On the Zend Framework blog they've posted the roadmap and latest updates on the work being done for the next major version of the framework: Zend Framework 3.

In October, while at ZendCon, I presented a talk on Zend Framework 3 entitled "Components, PSR-7, and Middleware: Zend Framework 3." You can view it online, but this post discusses current status, details some decisions, and points to the work still to be done. It's a long read; grab a warm beverage, maybe some popcorn, and take your time.

They start by outlining some of the major concepts that ZF3 integrates and are key to how it will handle requests:

  • the component-based system it's built on, making major use of Composer-style packages and installation techniques
  • using the PSR-7 standard for handling of HTTP requests and responses
  • the use of middleware to modify the request/response and add logic

Finally, they get into the overall view and roadmap for the framework. They talk about the ServiceManager/EventManager, the role middleware plays in the request dispatching and the goal of reducing dependencies. The post ends with a look at the improvements they're striving for with new and better documentation and the next steps in the roadmap for the coming months.

tagged: zendframework3 roadmap update overview psr7 middleware component documentation

Link: http://framework.zend.com/blog/zend-framework-3-update-and-roadmap.html

PHP 7.0.0 RC 8 Released
Nov 26, 2015 @ 08:36:56

The latest (and last in the series) Release Candidate for PHP 7 has been released as mentioned on php.net today. This is a development preview release only and is not intended to be used in production.

The PHP development team announces the immediate availability of PHP 7.0.0 RC 8. This is the thirteenth pre-release of the new PHP 7 major series. All users of PHP are encouraged to test this version carefully, and report any bugs and incompatibilities in the bug tracking system. [...] PHP 7.0.0 RC 8 contains fixes for 11 reported bugs.

This release fixes several final bugs that were preventing the final stable release of PHP 7.0.0, some relatively major. You can download this latest release from either the QA download page or from the Windows QA site. If you're interested in what's changing in this release (and in PHP 7 overall) check out the NEWS file.

tagged: php7rc8 release candidate language final development preview

Link: http://php.net/archive/2015.php#id2015-11-26-1

Zend Developer Zone:
PHP 7 and Beyond: The Future of PHP – Anthony Ferrara at PHP World
Nov 25, 2015 @ 11:56:26

On the Zend Developer Zone they've posted about a presentation given by Anthony Ferrara at this year's php[world] conference that just wrapped up in Washington, D.C. In it he talks about the future of PHP, PHP 7 and beyond.

PHPWorld was a great conference. If you didn’t attend, you missed a lot. Several of the keynotes just rocked the house including both Lorna Mitchell and Tessa Mero. The highlight for me however was Anthony Ferrara’s closing keynote, “PHP 7 and Beyond: The Future of PHP”. Anthony is a Core developer but also a vibrant member of the community.

Anthony is a good friend of mine but this is the first time I have ever had the chance to see him deliver a keynote talk. I do hope it won’t be the last. The recording of Anthony’s talk is embedded below the storify. I highly recommend watching it.

He (Cal Evans) includes his set of live tweets from during the presentation as well as an embedded version of the video if you'd like to watch the entire thing. It was also posted to YouTube if you prefer to watch it there.

tagged: phpworld15 anthonyferrara php7 beyond keynote future language community

Link: http://devzone.zend.com/6927/php-7-and-beyond-the-future-of-php-anthony-ferrara-at-php-world/

Thijs Feryn:
In interview in the Nevada desert with ContinuousPHP: tech & community in Luxembourg
Nov 25, 2015 @ 10:47:16

In his latest video interview Thijs Feryn talks caught up with the ContinuousPHP team out in the Nevada desert while at this year's ZendCon.

I did a fair number of interviews while I was at Zendcon in Las Vegas. The entertainment capital of the world is located in the desert. So it seemed fun to do this interview in the desert.

ContinuousPHPThis week’s episode features Frédéric Dewinne and Oswald De Riemaecker from ContinuousPHP. We talk about how they met and how they almost instantly founded the company. ContinuousPHP is a Platform As A Service that focuses on continuous delivery and continuous deployment in the PHP space.

They talk about ContinuousPHP, how it started out and where some of the funding came from initially. They also talk about life as a startup and growing a community around the service and the PHP community there in Luxembourg. You can check out this latest episode either through the in-page video player, directly on YouTube or, for the audio-only version, over on Soundcloud.

tagged: thijsferyn interview video continuousphp luxembourg zendcon15

Link: http://blog.feryn.eu/2015/11/23/in-interview-in-the-nevada-desert-with-continuousphp-tech-community-in-luxembourg/