News Feed
Sections




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

Master Zend Framework:
How to Use ZFTool Diagnostics To Ensure Your Modules Work
May 13, 2014 @ 10:55:19

The Master Zend Framework site has a new tutorial today showing you how to use the ZFTool diagnostics to make sure your modules are working correctly. The ZFTool is a stand-alone tool that can help with common tasks like working with application configuration and creating module and project skeletons.

Do you want to be sure that when you create Zend Framework 2 modules, that they'll work in whatever environment they're used in? At the very least, do you want a simple way for users to check, as well as something that's self-documenting? If so, you're in the right place. Last year, I gave a basic introduction to ZFTool, which is a command line tool to manage applications written in Zend Framework 2. [...] In addition to [the included diagnostic checks] we can write our own diagnostic checks, using the Success, Failure and Warning classes. So in today's tutorial, I'm going to show how to add diagnostics support to a module.

He's broken the rest of the tutorial up into four other parts, each with the code or commands you'll need:

  • Add Diagnostics Support
  • The Diagnostics Function
  • Running Module Diagnostics
  • When Checks Fail

You can find out more about the ZFTool and its usage in with diagnostics in the official manual

0 comments voice your opinion now!
zftool module diagnostic validate zendframework2

Link: http://www.masterzendframework.com/zftool-2/use-zftool-diagnostics-ensure-modules-work

blog comments powered by Disqus

Similar Posts

Rob Allen's Blog: Returning JSON from a ZF2 controller action

Kevin Schroeder's Blog: ZF2 Dependency Injection: Managing Configuration - Part 2

MaltBlue.com: Zend Framework 2 Modules - The Application's Heart

Dave Dash's Blog: Using sfDoctrine to match allowed email domains

Greg Beaver's Blog: Update to libxml2 in PHP - progress hath been acquired


Community Events





Don't see your event here?
Let us know!


mvc security version package opinion language release symfony community update composer framework tool introduction laravel voicesoftheelephpant series podcast library interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework