News Feed
Sections




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

Raphael Stolt's Blog:
Logging to MongoDb and accessing log collections with Zend_Tool
September 22, 2009 @ 09:49:47

Raphael Stolt has written up a new tutorial looking at connecting the MongoDb document-oriented database with the Zend_Log component of the Zend Framework to push log entries into the database.

I tinkered with the just recently discovered MongoDb and hooked it into the Zend_Log environment by creating a dedicated Zend_Log_Writer. The following post will therefore present a peek at a prototypesque implementation of this writer and show how the afterwards accumulated log entries can be accessed and filtered with a custom Zend_Tool project provider.

He extends the Zend_Log_Writer class to create the interface for the MongoDb and uses the mongo interface for PHP to bridge the gap. The application's INI file and Bootstrap are then modified to add in this new functionality and some example usage code is created both with and without the Zend_Tool tool.

0 comments voice your opinion now!
zendtool mongodb zendlog tutorial


blog comments powered by Disqus

Similar Posts

NetTuts.com: Learn to Create Interactive Drill-Down Dashboards with PHP and FusionCharts

DevShed: Working with Directory Iterators and Proxy Classes with PHP 5

SitePoint PHP Blog: Handle Incoming Email with SendGrid

ZendCasts.com: Logging in Users using Doctrine and Zend_Auth

Raphael Stolt's Blog: Logging to MongoDb and accessing log collections with Zend_Tool


Community Events

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


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

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