News Feed
Sections




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

Alvaro Videla's Blog:
Integrating Facebook Hive with Symfony
February 02, 2009 @ 16:09:58

Alvaro Videla submitted a new tutorial he's written up on integrating of a powerful parser (Hive with the logging of a popular PHP MVC framework - symfony.

The Hive project allows to load a logs file and then filter it with SQL like commands. Hive is more than this raw description, you can read more about it here. My idea was to adapt the file logging format of symfony to make easy to import those files inside a Hive database.

He shows how he created the tables to store the results, parsing the logs via a delimiter and terminator, and dropping the information into the table. This can then be integrated directly into the framework to load the log file up, parse it dynamically and display out (with a little bit more data, like a date) attached.

0 comments voice your opinion now!
facebook hive search log file symfony integrate


blog comments powered by Disqus

Similar Posts

Fabien Potencier: Why Symfony?

php|architect: September 2006 Issue Released

Splitbrain.org: Joining .WAVs with PHP

FrSIRT Advisory: P-News Arbitrary PHP File Upload and Remote Information Disclosure Vulnerabilities

DevShed: Using the Memento Pattern with a File Reading Class


Community Events

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


language development video library community interview php7 release podcast series opinion extension framework introduction version laravel laravel5 unittest voicesoftheelephpant api

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