10 Reasons How Zend’s Z-ray Can Be A Productivity Booster For PHP Developers
Making new waves in the field of development, Zend’s new technological advancement Z-ray is proving to be quite a success with developers all over the world. It is a non-invasive productivity tool that does not require developers to change the workflow or develop new habits. Instead, it gives developers a quick and easy way to gain important insight about their code during the development process. It is essentially an information bar which shows PHP code responses in real time, enabling developers to quick study the effect of core code and code changes on the fly. Here are some compelling reasons why the Z-ray has been scoring heavily with developers –
In-depth look – Z-ray allows you to take a deep, in-depth look into what your code does during the development process. Many developers have likened it to being able to look at their applications with X-ray goggles and see what is going on inside. It is an improvement on related changes Zend started to implement with version 6 of their framework, and has so far proved beneficial.
Execution Time – You can now get detailed data about execution times takes by different components of requests, allowing you to understand better how the server handles the processes. Memory consumption meters are also provided.
Monitoring Events – You can use the elaborate events system of Zend server in Z-ray, setting up triggers for certain events to be displayed. This way, you can instantly learn about slow response times, high memory usage, slow execution and memory errors.
Errors – The dedicated errors panel displays all relevant PHP errors and warning messages generated during a particular page request. Information available includes the source and type of these errors and warnings.
Database Queries – You have a detailed list of all SQL queries executed in the process of a particular page request in this section. Apart from useful information like execution time, you can also run a code back-trace to study executing further.
Functions – This panel shows you a list of all PHP function calls during a particular page request. The nested view shows you crucial information regarding name, frequency of calls and time spend within the scope of a particular function.
Variables – You can monitor the changes in any “superglobal” PHP variables in this section of the utility. You can track changes between the start and the completion of a page request.
Compatibility – The Z-ray feature can be accessed from any compatible IDE as it shows information in the form of a web component that uses your browser to load.
Page Requests – Z-ray provides you with an in-depth look at your page requests. Using the tool, you can view requests from your page to the server, responses, response times, paths and methods in great detail. These are useful for diagnostic purposes, and there is the option to filter out irrelevant results in case of multiple requests.
Debugging – Z-ray comes in debugging efforts even when page requests do not actually originate from a browser – in case of web services and mobile use.