News Feed
Sections




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

Johannes Schlüter's Blog:
Symfony 2 and mysqlnd
October 03, 2011 @ 09:22:52

Johannes Schlüter has a new post to his blog today about a bundle he's created for the Symfony2 framework that integrates some of the advanced statistics mysqlnd provides back to the framework's profiler tool - JSMysqlndBundle.

Symfony provides a nice feature, which is the Symfony Profilier, an extensive logging and reporting system for Symfony developers to understand what's going on. A part of it is the Doctrine query logger which lists all database queries executed by Doctrine and their execution time. This is nice but when we're using mysqlnd in our PHP build we have more information available. "So why not use that information," I thought and built a new bundle for Symfony 2 doing exactly that.

His bundle takes the "150 or so" statistics and drops them into the profiler, giving you even more insight into how your script is running. The bundle is available on github, making it simpler to fork and extend to add other features (some he suggests include caching and replication decisions using information from other mysqlnd plugins).

1 comment voice your opinion now!
mysqlnd symfony2 profiler mysql bundle


blog comments powered by Disqus

Similar Posts

Jakub Zalas' Blog: Managing object creation in PHP with the Symfony2 Dependency Injection component

Vincent Composieux: Run a Symfony application using Docker and docker-compose (English)

Internet Super Hero: PHP: mysqlnd and its tests

DevShed: Building an ORM in PHP

Wojciech Sznapka: Injecting repositories to service in Symfony2


Community Events

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


php7 interview introduction laravel library framework composer voicesoftheelephpant version api performance podcast community application release series example opinion symfony2 testing

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