GithubHelp home page GithubHelp logo

leftbrained / zenddevelopertools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zendframework/zend-developer-tools

1.0 2.0 0.0 183 KB

Module for developer and debug tools for working with the ZF2 MVC layer.

Home Page: http://framework.zend.com/zf2

License: BSD 3-Clause "New" or "Revised" License

zenddevelopertools's Introduction

Module for developer and debug tools for working with the ZF2 MVC layer.

Install

Copy ZendDeveloperTools/config/zenddevelopertools.local.php.dist to ./config/autoload/zenddevelopertools.local.php.

In your index.php add the following:

define('REQUEST_MICROTIME', microtime(true));

Redux

  • Collectors
    • Allow third-party collectors via ServiceManager/PluginManager. [Done]
    • Every collector runs after MvcEvent::EVENT_FINISH. [Done]
      • Possible exceptions are the TimeCollector and MemoryCollector. They could listens to every MvcEvent to provide more accurate data. This behavior can be turned off via config. [Done]
    • Listen with a low priority and flush the response before the collector starts collecting if the Toolbar/FirePHP is disabled && the profiler is in silence mode. [Done]
    • Default Collectors
      • Db (Zend\Db)
      • Event
      • Time
      • Mail
      • Memory
      • Request
      • Configuration ¹
  • Configuration
    • Dis/enable every collector via config. [Done]
    • Dis/enable a strict error handling (throw exceptions). If the strict mode is disabled, every error will be saved in the report. [Done]
    • Matcher: Dis/enable the profiler if the request matches your pattern. Possible matches would be request url/path, ip, time, access role. The "matcher" should support custom matches.
  • Report
    • In-depth Web Profile Viewer
      • Requires saved reports or an imported report.
      • Every collection (even third-party) should provide a template.
    • Web Toolbar
      • Resizable toolbar – hides some parts on lower resolutions/window sizes. [Done]
      • Template overloading, so you can add your preferred collector data to the toolbar. [Done]
    • Storage
      • Support for memchache(d)?, Redis, MySQL (mysqli, PDO or Zend\Db?), SQLite, PostgreSQL?, MongoDB, CouchDB?
    • FirePHP
      • Provides the same information as the web toolbar.
  • CLI
    • Debug helper for routes, config, template etc.

¹) Which config key got overwritten by which module. Won't save any config values in the report!

zenddevelopertools's People

Contributors

bjyoungblood avatar coss avatar evandotpro avatar mhujer avatar sasezaki avatar weierophinney avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.