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

Thomas Weinert's Blog: Using PHP DOM With XPath

Volker Dusch's Blog: Running your Unittests everytime you save a file

php|architect: Putting glob() to the test

Jaisen Methai's Blog: Stop including class files and use __autoload() instead

Alessandro Nadalin's Blog: Behaviour what?


Community Events





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


series testing interview language library application developer podcast laravel api unittest wordpress configure threedevsandamaybe introduction install list community code release

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