Debugging is an essential task of software development in any programming language. Unfortunately, the out-of-the-box experience with debugging in PHP is not always great. The “stock” PHP binaries available at php.net do not come configured with either of the two popular debug servers Xdebug and Zend Debugger. Developers are required to do additional configuration to make debugging possible with their… Read more »
Zend Server 8.5 introduces a brand-new concept called “Plugins”. This concept is centered around the Zend Gallery – a marketplace for plugins that extend Zend Server functionality, and that were developed by, and for, the Zend Server user community. What are plugins? Put simply, plugins are pieces of code that can extend Zend Server in either, or both, of the… Read more »
I’m working on an application that’s been around for a while. It uses a lot of static methods, and often, it instantiates objects from inside methods. This makes it a pain to test, and introducing tests is part of my job. Sometimes I’m able to refactor the code so that dependencies may be injected, but many times I can’t confidently… Read more »
Composer support in Zend Studio is quite simple. Sometimes users complain about lack of support for additional arguments e.g. for ‘install’ or ‘update’ commands. The new Zend Studio release includes support for running external programs inside your IDE. It’s called External Tools, and it’s well known to Eclipse users. It can be easily used to fill the gap between Composer… Read more »
Some PHP operators (e.g. ->, ::) can be quite a challenge for people who are used to different languages (like Java or C#). The new Zend Studio release introduces a new shortcut that will help developers work with: Object Operator (->) and Scope Resolution Operator (::), also called Paamayim Nekudotayim. To use it just press CTRL + . (dot) in… Read more »
A new tutorial describing how to develop a Z-Ray extension was published on the Zend blog. The tutorial demonstrates just how easy it is to extend Z-Ray by adding new panels with information you think is important for your development work. Using the publicly available extension APIs (https://github.com/zend-server-extensions), you can easily customize existing Z-Ray panels, or plug in your own… Read more »
The latest Zend Studio 12 Early Access includes support for PHP 5.6. Every user can install the new PHP binaries through the Welcome Screen (Help > Welcome Screen), but note that they are marked as experimental at the moment. You can also easily add your own version of PHP executables. First of all you need to have working pack with… Read more »
Hey everybody, In a previous post I introduced the serverAddToCluster Web API action which allows us to initiate clusters and join existing ones with Zend Server. That post showed some code and discussed how the clustering process is started; now I will talk about how we should track the progress of our cluster and deal with ongoing issues. In this article,… Read more »
p. This area is intended for everyone new to PHP. It opens with a series of informal, entertaining tutorials written by Vikram Vaswani, founder and CEO of Melonfire. These tutorials build on a previously-published 5-part series which has now been updated and extended to embrace PHP 5, making parts of it suitable for those of you who already have worked with PHP 4 in the past.
This tutorial teaches you, step-by-step, how to build an XML-RPC client in PHP using the XML-RPC library written by Edd Dumbill. It covers each of the PHP classes you will be using, and how they fit together to form the final client.
A primer is included to introduce the basics of the XML-RPC specification. The primer provides enough information to work with the XML-RPC library. If you want to learn more about the XML-RPC specification see http://www.xmlrpc.com.