Did you know you could make changes to your code directly from Z-Ray?
Z-Ray’s Online Editor plugin allows you to open and edit any file on your file system without having to move one inch from your browser.
Here are a few short tips on how to use the Online Editor.
The first thing you’ll need to do is install the plugin. This is done by accessing the Plugins Gallery in the Zend Server UI, or the Z-Ray management dashboard if you’re using the standalone version of Z-Ray.
In the gallery, use the search box at the top of the page to locate the plugin.
Then, hit the Install button, and complete the wizard that pops up. The wizard displays information on the plugin such as the plugin’s readme file and licence agreement, and also validates dependencies exist.
Once installed, all you have to do is open your application in your browser.
Z-Ray will have a new panel titled Online Editor. This panel is basically a file explorer which you can use to locate a file on your file system and open it in Z-Ray. You can then edit your code and save your changes.
Another cool option is is to open the Editor from other Z-Ray panels.
Same goes for the Database Queries and Functions panels. Simply open the relevant file in Z-Ray and make your changes.
Last but not least – you can also change the look and feel of the Editor using the theme selector at the top-right corner of the panel.
The Online Editor plugin uses the latest available Z-Ray extension API for allowing server-side actions. More information is available here.