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

Zend Blog:
Top 10 PHP articles of 2016
Dec 30, 2016 @ 11:43:17

On the Zend blog they've posted a retrospective of 2016 and some of their most popular articles published over the last year.

The audience has spoken. From Zend Framework 3 release to Zend Server with PHP 7, from IBM i to AWS, the top ten articles on the blog from 2016 cover a wide range of topics to help you deliver PHP applications rapidly, reliably, securely, both on-premise and in the cloud.

Articles that made the list include:

Check out the original post for the full list. Predictably, most are related to Zend's own offerings but its good to see some other topics mixed in there as well.

tagged: top10 articles list 2016 retrospective zend

Link: http://blog.zend.com/2016/12/29/top-10-articles-of-2016/#.WGZ-8KIrJZ0

PHP Roundtable Podcast:
057: All things Zend
Dec 23, 2016 @ 11:50:54

The PHP Roundtable podcast, hosted by Sammy Powers, has posted their latest roundtable discussion talking about all things Zend. In this episode Sammy is joined by Adam Culp, Cal Evans (both from Zend) and Gary Hockin (of JetBrains).

There's a lot more going on at Zend other than Zend Framework. We chat about the Zend ecosystem, from Apigility to Zend Certification and what Zend's role is in PHP internals.

You can catch this latest episode in a few different ways either using the in-page audio or video player or you can watch the video directly over on YouTube. If you enjoy the episode, be sure to subscribe to their feed and follow them on Twitter for updates on when new shows will be recorded and released.

tagged: phproundtable sammypowers zend podcast video calevans adamculp garyhockin

Link: https://www.phproundtable.com/episode/all-things-zend-framework-apigility-certification

Zend Framework Blog:
Zend Framework 1 End-of-Life Announcement
Jul 01, 2016 @ 10:52:25

On the Zend Framework blog they've posted the announcement about the end of life for Zend Framework v1, the first version of the popular framework.

With the release of Zend Framework 3, it's time to halt development on Zend Framework 1. As such, we hereby announce that Zend Framework 1 reaches its End of Life (EOL) three months from today, on 28 September 2016.

Between now and then, we will only provide security fixes, if any security reports are made in that time frame. Past that point, we will offer custom bug and security fixes for Zend Framework 1 on-demand only to Enterprise users of Zend Server. [...] Additionally, as of today, access to our legacy subversion server is disabled.

You can still get the latest from the package archive, use Composer for updates. There are also services from Zend that can help you update your application as well as two trainings that can help you learn what you need for the upgrade.

tagged: zendframework zendframework1 endoflife announcement project zend

Link: https://framework.zend.com/blog/2016-06-28-zf1-eol.html

Alejandro Celaya:
Improving ZendServiceManager workflow with annotations
Apr 11, 2016 @ 10:19:57

In a post to his site Alejandro Celaya shows you how to make life easier when using the ZendServiceManager with the help of annotations and a package he's developed to make it all work together.

Everyone who regularly visits my blog knows that I'm a complete fan of the ZendServiceManager component. It is always my choice to deal with dependency injection in any kind of project, more now that v3 has been released, which is faster and has a better public API.

The workflow while working with the ServiceManager is usually the same. You create a factory or abstract factory that creates a service and then you register that service into the ServiceManager itself. Of course you have to optimize your code, and you should try to reuse the same factories whenever possible, and try not to abuse of abstract factories and initializers.

He points out the main problem with using services like this in a larger application, namely that you can end up with a large amount of them, making them difficult to manage (and find problems with). He proposed solution uses this library to minimize the amount of code needed buy injecting dependencies into the service based on "inject" annotations. He includes an example of this functionality in action and includes a few things to keep in mind using the package (like the slower parsing of the annotations some limitations it currently has).

tagged: zend servicemanager component services workflow annotations inject tutorial library package

Link: http://blog.alejandrocelaya.com/2016/04/09/improving-zend-service-manager-workflow-with-annotations/

Cloudways Blog:
The Speed Of The New PHP 7 Engine Truly Sets The Stage Going Forward, Says Adam Culp
Feb 24, 2016 @ 09:13:07

The Cloudways blog has posted an interview they've done with Adam Culp a senior consultant with Zend and organizer of both the Sunshine PHP conference and ZendCon.

Adam Culp is a very experienced PHP developer currently associated with Zend Technologies. He has been a trainer and speaker at various PHP events. He was the organizer of SunshinePHP 2016. He is also the member of Zend Certification advisory board and contributor to Zend framework. He is an expert developer of LAMP, Windows, IIS, MYSQL, CSS, AJAX, Javascript, and HTML. Without waiting anymore, let’s explore his life experiences and ideas.

In the interview Adam answers questions about:

  • His past and how he got in to software development
  • How he feels being a part of the Zend certification advisory board
  • Questions about the Sunshine PHP Conference and SoFloPHP user group
  • Why he prefers open source software
  • What trends he sees coming and where he sees current software standing in the big picture

You can read Adam's answers to these and other questions in the full interview.

tagged: sunshinephp zend adamculp interview cloudways developer php7

Link: http://www.cloudways.com/blog/interview-adam-culp/

Geert Eltink:
Zend-Expressive Console CLI Commands
Feb 12, 2016 @ 11:21:15

In a new post to his site Geert Eltink shares how he added console command support to Zend Expressive, a PSR-7 framework from Zend that recently hit it's v1.0 mark.

zend-expressive does not come out of the box with a console for handling cli commands. However it's easy to add this and make full use of the container and its dependencies.

He uses the Symfony console component to handle most of the "heavy lifting" with the command line interaction, pulled in via Composer. He shows the process for getting the component installed and how to create the "bootstrap" file needed to build an instance of the Application class. He follows this with a simple "greeting" command including the configuration to add a few arguments and output the simple "Hello" message. He then creates the functionality to wire it in to the Zend Expressive application and gives an example of it in use.

tagged: zend expressive framework console command commandline cli tutorial symfony component

Link: https://xtreamwayz.com/blog/2016-02-07-zend-expressive-console-cli-commands

Matthew Weier O'Phinney:
Expressive 1.0 in the Wild!
Jan 29, 2016 @ 09:33:08

In a new post to his site Matthew Weier O'Phinney has announced the release of Expressive v1.0 from Zend. The Expressive framework is PSR-7 based with a heavy emphasis on middleware and the reuse of other components to make a basic framework structure.

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 envision: composed of layered, single-purpose PSR-7 middleware.

He also links to this post on the Zend Framework blog with more information about the release including what's new in 1.0.0 (hint: not much) and what you can look forward to in the future from the framework. He mentions some of the other PSR-7 frameworks out in the PHP ecosystem right now and some of the reasoning behind the project being created in the first place. He also talks some about how it was started and some of the feedback/contributions they've received since then.

tagged: expressive zend release stable framework psr7 middleware component

Link: https://mwop.net/blog/2016-01-28-expressive-stable.html

Abdul Malik Ikhsan:
Using Routed Middleware class as Controller with multi actions in Expressive
Jan 06, 2016 @ 11:54:38

In this post to his site Abdul Malik Ikhsan shows you how to use a middleware class that does some extra routing as a "controller" in your Zend Expressive application.

If you are familiar with frameworks with provide controller with multi actions functionality, like in Zend Framework 1 and 2, you may want to apply it when you use ZendExpressive microframework as well. Usually, we need to define 1 routed middleware, 1 __invoke() with 3 parameters ( request, response, next ). [...] What if we want to use only one middleware class which facilitate [multiple] pages?

He shows how to take a sample route configuration for an "album" endpoint and handle it via an AbstractPage class that performs a bit of reflection on the request to route things the right way. Then the "controller" is created by extending this abstract class and functions are defined for each action, complete with access to the request, response and next middleware objects.

tagged: zend zendexpressive routing middleware controller reflection actions tutorial

Link: https://samsonasik.wordpress.com/2016/01/03/using-routed-middleware-class-as-controller-with-multi-actions-in-expressive/

Zend Blog:
Running a PHP Cluster on AWS
Dec 24, 2015 @ 10:33:17

On the Zend Blog they've posted a new guide showing you how to create a PHP cluster in AWS using the Zend Server software to help make things easier.

Running a cluster of PHP servers on AWS can be a complex task to say the least, and in this article we will look into the various tasks involved in managing a PHP clustered environment. We will look into why it can be a complex and tricky task and how Zend Server help alleviate the pain involved.

They start by introducing the guidelines of the challenge, easily creating the set of PHP nodes with simpler maintenance abilities, monitoring and session sharing included. While this isn't a step-by-step guide per-se, it does give you a good idea of some of the technology needs around clustering PHP instances (and how Zend Server (Cluster) helps solve some common issues). This includes screenshots of the interfaces used for these common tasks like:

  • Upgrading and synchronizing PHP code
  • Propagation of changes in PHP configuration
  • Monitoring of PHP log and events
  • PHP sessions sharing
tagged: zendserver zend guide aws amazonwebservices cluster zendservercluster

Link: http://blog.zend.com/2015/12/22/running-a-php-cluster-on-aws/#.Vnv0ypMrLyI

Cloudways Blog:
Zeev Suraski, Co-Founder Of Zend Technologies, Talks About Future Of PHP
Dec 02, 2015 @ 11:18:35

The Cloudways blog has posted an interview with Zeev Suraski, one of the founders of Zend Technologies and large contributor to the PHP 3 release.

Zeev Suraski needs no introduction. He is the Co-founder of Zend Technologies and is credited for some exceptional work around development during his career. In 1997, he created PHP 3 with his friend, Andi Gutmans. The name Zend is basically derived from Zeev and Andi.

Zeev’s contribution to PHP can never be ignored because it was his efforts from his early days that actually resulted in more than 20 million PHP based websites. He made significant contributions in writing the Zend engine and is also a member of Apache Software Foundation. I had the honor of interviewing Zeev, where he shared his experiences and thoughts.

In the interview Zeev answers questions about:

  • how he got started with PHP and why he became "a PHP guy"
  • his story about how he got into programming in general
  • the work he and Andi did for PHP 3
  • his opinion on PHP frameworks
  • his view of PHP moving forward including PHP 7

There's plenty more great content here so if you've ever wondered some about the history of the language and where Zeev fits in it all I'd suggest giving it a read.

tagged: cloudways zeevsuraski zend zendtechnologies interview future language

Link: http://www.cloudways.com/blog/zend-co-founder-zeev-suraski-interview/