News Feed
Sections




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

php|architect:
Looking for a simpler MySQL library? Try MeekroDB
March 28, 2011 @ 12:53:28

On the php|architect site today John Mertic has a new post looking at a simpler MySQL library - MeekroDB.

I remember fondly back in the day, when PHP 4.0 was all the rage, that if you wanted to interface with MySQL there was one choice: the PHP mysql extension. Then came database abstraction layers ( such as ADODB and PEAR_DB ) and newer extensions ( namely PDO and mysqli ), all with the goal of simplifying the code needing written to be able to get data successfully out of a database. But even then, it still could get a bit complex. Fortunately, someone saw this and wrote a library to make it even simpler. This library is MeekroDB.

A bit of code is included, comparing the MySQLi version of how to connect, create a query, bind some parameters and make the request to fetch the results to the MeekroDB version (compressed down and including a handy method queryFirstField). You can find out more about MeekroDB in its documentation.

0 comments voice your opinion now!
mysql library meekrodb simple


blog comments powered by Disqus

Similar Posts

Constantin Bosneaga: Using layout pattern with CodeIgniter

Rob Allen: Setting up PHP & MySQL on OS X 10.8 Mountain Lion

Lorna Mitchell: Simplest PHP Generator Example

Zend Developer Zone: Sams Publishing: The Phrasebook Collection

Crynobone\'s Blog: Creating our own RSS Aggregators


Community Events





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


laravel interview podcast release language opinion community framework version package library security voicesoftheelephpant composer tool series update symfony introduction application

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