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

SitePoint PHP Blog:
The past, Present and Future of the PHP-FIG
Sep 16, 2016 @ 13:17:40

On the SitePoint PHP blog Larry Garfield, a member of the PHP-FIG group, has written up an article covering the past, present and future of the PHP-FIG. In it he tries to give readers a perspective on where the group came from, some of the growth they've seen along the way and, finally, the proposal for PHP-FIG 3.0 - a restructuring of the organization based on things they've learned so far.

The PHP Framework Interoperability Group (PHP-FIG, or just FIG for short) is at a crossroads. Many electrons have been sacrificed talking about FIG’s tribulations of late, but sadly much of it has been FUD, with little effort spent on the positive. At SitePoint’s invitation, I’d like to offer a more positive outlook on FIG and the PHP community, and demonstrate why FIG can, and should, continue to have a positive impact on the PHP ecosystem.

He starts with where the group began (an "uncomfortable beginning") at php[tek] 2015 and the proposal/passing of the PSR-0 autoloading specification soon after. He then gets into the "slow but steady growth" the group had over the next several years and some of the groups that became involved (not just framework projects either). He covers some of the other PSRs created/passed, the impact they've made on the community and the growing pains they've gone through. He ends the post talking about the PHP-FIG 3.0 proposal and some of the support, opposition and discussion that has come along with that.

tagged: phpfig article past present future organization framework interoperability phpfig3

Link: https://www.sitepoint.com/the-past-present-and-future-of-the-php-fig/

SitePoint PHP Blog:
The PHP Channel’s Survey Results and 2016 Plans
Jan 22, 2016 @ 10:12:46

A while back the SitePoint PHP blog did a survey asking for reader feedback about the content they provide, what they thought was good/bad about it and what they'd like to see more of in the future. In this new post they share some of these results.

On the last day of 2015, we published a survey asking you, the readers, for an opinion about the PHP channel. It was a pretty open survey with mostly freeform answers allowed, so you could tell us literally anything. All in all, we collected 78 responses so far (the survey will remain open indefinitely, in case someone wants to give us more feedback).

On the average satisfaction scale, we scored 7.42 out of 10, and that’s without excluding the potential trolls who voted 1. That’s a very good result, but we’re determined to improve it further.

The rest of the post then gets into the results in detail, talking about:

  • overall satisfaction with the blog and its contents
  • opinions on the newsletter
  • author feedback
  • favorite types of posts
  • their presence on social media

They end the post with a summary of the things people wanted the most out of the site including more demos/practical examples and more PHP 7-related content. While these results are mostly applicable to the SitePoint PHP blog, they also can be applied a bit more widely across the community and on other sites that publish articles with technical content.

tagged: sitepoint channel survey results article feedback

Link: http://www.sitepoint.com/the-php-channels-survey-results-and-2016-plans/

SitePoint PHP Blog:
Tutorial on Using Drupal 8 Plugin Derivatives Effectively
Jan 20, 2016 @ 12:24:38

The SitePoint PHP blog has a tutorial posted for the Drupal users out there showing you how to use plugin derivatives effectively.

In this article we will explore the long answer to that and learn what derivates are and how we can use them. For the latter, we will build an example inside the demo module that can be found in this git repository and which should hopefully help us better understand what’s going on. For a slightly more complex example, the Menu system is great as it provides an individual block for each of its menus (similar to Drupal 7 but using plugins).

They're basically creating a system that allows the dynamic creation of Node Blocks for each of the article nodes but it's just an example of how (and not a recommendation on what you should do). They start in by talking about plugin derivatives - what they are and how they fit into the overall Drupal 8 code structure. The tutorial then shows the creation of the derivative class and explain each part of the code that makes it up. Following this is the other half of the functionality, is the block plugin class that will generate the instances of itself as requested.

tagged: drupal8 plugin derivatives example tutorial node block article

Link: http://www.sitepoint.com/tutorial-on-using-drupal-8-plugin-derivatives-effectively/

Community News:
PHP 7 Has Arrived (and Everyone's Talking About It)
Dec 04, 2015 @ 09:58:09

The big news in the PHP ecosystem is the release of the stable version of PHP 7.0.0. This was officially released late yesterday and the response has already been great. Members of the PHP community (and some companies) have also posted about the release too:

These also come along with a whole host of tweets about the PHP 7 release too. If you have a post you'd like to have added to this list and I've just missed it, let me know and I'll drop it in!

tagged: community article blog feedback php7 twitter

Link: http://phpdeveloper.org

Cal Evans:
7 Days of PHP 7 – The Complete Collection
Nov 12, 2015 @ 12:35:47

With the upcoming release of the first stable version of PHP 7 Cal Evans has been posting a "7 Days of PHP 7" series, linking to information about the upcoming release, presentations, podcasts and more about this upcoming version. In this post to his site he gathers them all into one place with links to everything for easier consumption.

PHP 7 was originally supposed to be released today, November 12th, 2015. The Core developers weren’t comfortable releasing it just yet so they pushed the date back to November 26th, 2015. That’s fine, we all appreciate their diligence.

Still, I had already started my “7 Days of PHP 7” countdown when they made the announcement. Because the actual release date isn’t important to spreading the word about PHP 7, I decided to continue on with the countdown.

In his tweets he links to things like the PHP 7 migration manual, an article about PHP 7 performance and video tutorials on getting up and running with PHP 7. Check out the full post for more information on these and other useful PHP 7-related resources.

tagged: php7 7days tweet resource article tutorial language version release

Link: http://blog.calevans.com/2015/11/12/7-days-of-php-7-the-complete-collection/

SitePoint PHP Blog:
PHP7 Resource Recap
Apr 30, 2015 @ 09:46:10

With all the talk about PHP7 and the features that are coming with it, it's easy to get lost in the mound of information. Thankfully, the SitePoint PHP blog is here to help. They've posted a roundup of several PHP7-related resources you can use to sort things out (or start learning about) what's to come.

PHP 7 is well on its way. RFCs are being implemented and polished, projects are being tested, libraries upgraded. Extensions are being modified, and the word is spreading. All that remains is getting the shared hosts on the upgrade bandwagon – the arguably most difficult part of improving the global state of PHP. In this article, we’ll take a look at some of the most important PHP 7 related resources and tips you should go through in preparation for the new version.

Mentions in their list include both tutorials and tools including the PHP7 Vagrant box provided by Rasmus Lerdorf and the Go PHP7 Extensions effort to update extensions to be PHP7 ready. Following this there's serveral links to other important reading about what to expect and results of testing done with this upcoming version.

tagged: php7 resource recap summary tool article tutorial

Link: http://www.sitepoint.com/php7-resource-recap/

Giorgio Sironi:
The full list of my articles on DZone
Apr 25, 2014 @ 10:13:43

Giorgio Sironi has posted his quite impressive list of articles he's published on the DZone.com site to his blog today. They cover a wide range of topics - everything from refactoring to design patterns out to, well, lots of other random topics.

From 2010 to the end of 2013 I have written a few articles each week on DZone. Here is the full list as a reference.

Some of the posts fall into different "series" categories including "Practical PHP Patterns", "Practical PHP Refactoring", "Practical PHP Testing Patterns" and "Lean Tools". There's some great content here - and lots of it - so be sure to check out the list and see if there's anything that catches your eye!

tagged: article list dzone series reference

Link: http://www.giorgiosironi.com/2014/04/the-full-list-of-my-articles-on-dzone.html

SitePoint PHP Blog:
HHVM revisited
Dec 23, 2013 @ 10:57:01

The SitePoint PHP blog has a new post from Bruno Skvorc talking about a technology that's growing more and more popular all the time in the PHP ecosystem - HHVM, the virtual machine version of Facebook's HipHop software.

Just over two years have passed since the last post about HHVM by Matt Turland. What changed in that time? Did anything? Let's see just how successful PHP's quest for performance was.

Bruno takes a step back and, for those not sure what the HHVM is, explains the technology a bit and what some of the project's goals are. He talks about its compatibility with current software (like OSes and web servers) and the inclusion of FastCGI support. He also talks about some of the other main issues around the use of the HHVM like:

  • Performance considerations
  • Pre-analyzing
  • Authoritative Cache
tagged: hhvm update article performance fastcgi cache

Link: http://www.sitepoint.com/hhvm-revisited/

Web and PHP:
July 2013 Issue - "PHP, meet Node.js"
Jul 03, 2013 @ 09:42:54

The Web and PHP Magazine has released its latest issue - the July 2013 edition of their magazine, "PHP, meet Node.js". This new issue has several different articles in it (not just ones about Node and PHP) like:

You can pick up this issue for free by heading over to the Web and PHP site and hitting the "download" link at the bottom.

tagged: webandphp magazine july2013 nodejs article release

Link: http://webandphp.com/July2013

Win (TWO) Free Tickets To Hear Rob Allen Introduce Zend Framework 2 (Nomad PHP)
May 07, 2013 @ 12:51:26

The 7PHP.com site, in collaboration with the Nomand PHP user group is giving away two free tickets to attend this month's user group event (happening May 22nd).

NomadPHP is like a virtual PHP User Group mainly for people who do not have the chance to avail of a local PHP user group. But it is open to ANYONE around the world. NomadPHP is an initiative brought forward by the icon of The PHP Community, namely ‘His Awesomeness’ Mr Cal Evans. It will kick-start its first group talk session on the Wednesday 22nd May 2013 (i.e in some 16 days as from the date of this post). The speaker is the PRO PHP Guy / PRO Zend Framework Evangelist and author of the book Zend Framework in action, Rob Allen. Rob will be introducing and talking about Zend Framework 2 – it is a must for anyone willing to learn ZF 2.

The Nomad PHP user group is designed to be a "user group for those that don't have one". It's a virtual group meeting once a month that you can attend anywhere in the world. You do have to purchase tickets, however. This post shows you how you can enter to win one of the two free tickets, though - either via email or by writing a PHP article for 7PHP.com.

tagged: nomadphp win ticket email article community usergroup virtual

Link: http://7php.com/nomadphp-may-2013-free-tickets