Category Archives: Tutorials

Implement a SOAP server with zend-soap

zend-soap provides a full-featured SOAP implementation. SOAP is an XML-based web protocol designed to allow describing messages, and, optionally, operations to perform. It’s similar to XML-RPC, but with a few key differences: Arbitrary data structures may be described; you are not limited to the basic scalar, list, and struct types of XML-RPC. Messages are often serializations of specific object types… Read more »

Implement an XML-RPC server with zend-xmlrpc

zend-xmlrpc provides a full-featured XML-RPC client and server implementation. XML-RPC is a Remote Procedure Call protocol using HTTP as the transport and XML for encoding the requests and responses. Author’s note When I started at Zend in 2005, I was in their nascent eBiz division, tasked with maintaining and improving the web properties. Zend Framework was an internal/invite-only project, but… Read more »

Implement JSON-RPC with zend-json-server

zend-json-server provides a JSON-RPC implementation. JSON-RPC is similar to XML-RPC or SOAP in that it implements a Remote Procedure Call server at a single URI using a predictable calling semantic. Like each of these other protocols, it provides the ability to introspect the server in order to determine what calls are available, what arguments each call expects, and the expected… Read more »

Introspecting your Code with Z-Ray for Azure

Quick experimentation, easy collaboration, automated infrastructure and scalability, together with advanced diagnostic and analytical tools  – all provide PHP developers with good reasons to develop in the cloud. Z-Ray for Azure is one such reason. If you’re new to Z-Ray, it’s a powerful debugging tool that gives developers deep insight into all the various PHP elements constructing a page, starting from the request level,… Read more »

Installing Zend Server with Ansible

      5 Comments on Installing Zend Server with Ansible

This piece is a short tutorial on how to install Zend Server 8.5 using Ansible. Zend Server is a complete and certified PHP stack with a wide variety of advanced features for developing, deploying and monitoring PHP apps. The latest version, Zend Server 8.5, was released a few months ago with a bunch of new features, including the Zend Gallery – an… Read more »

Developing a Z-Ray Plugin 101

      4 Comments on Developing a Z-Ray Plugin 101

One of the great things about Z-Ray is the ability to extend it to display any info you want about your app. This is done by creating plugins. In this tutorial I’m going to describe how to create a new Z-Ray plugin. I’ll be supplying code snippets to insert in the various plugin files but of course feel free to… Read more »

Developing Joomla on AWS with Z-Ray

      No Comments on Developing Joomla on AWS with Z-Ray

Development in the cloud is all the rage these days and the PHP world is no exception to this rule as more and more developers are opting to move their development work to the cloud and other virtual environments (did I hear someone say Docker?) The workflow detailed below showcases only one of the many options currently available for PHP developers, but… Read more »

A new type of PHP, part 2: Scalar types

      No Comments on A new type of PHP, part 2: Scalar types

In our last installment, we talked about the benefits of more robust variable typing in PHP 7, and specifically the new support for typed return values.  That is already a big boon to the maintainability of our code, but PHP 7 goes a step further. So far, we’ve only talked about typing against classes and interfaces.  We’ve been able to… Read more »

A new type of PHP, part 1: Return types

Every significant release of PHP adds a number of new features, with one or two that really define the release.  For PHP 5.3, it was namespaces and anonymous functions.  For PHP 5.4, it was traits.  For PHP 5.5, generators.  For PHP 5.6, variadics. While PHP 7 has a large array of new improvements to make developers lives easier and involve… Read more »

Introducing Z-Ray on Azure

      No Comments on Introducing Z-Ray on Azure

This article introduces a new and cool way to develop PHP in the cloud, with Z-Ray on Microsoft Azure. You’ve probably already heard of Z-Ray, but just in case you haven’t – here’s a short recap. Z-Ray is an advanced debugging and productivity tool for PHP developers that provides info on what’s going on under the hood of your apps, in… Read more »