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

PHPBuilder.com: Implementing User Authentication and Session Management with PHP

SitePoint PHP Blog: Stored Procedures in MySQL and PHP

Vid Luther's Blog: Changing MySQL storage engine for one table in your Propel/Symfony project

Fabien Potencier: Don't use PHP libraries with known security issues

Richard Heyes\' Blog: RPC for PHP5


Community Events





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


release list framework laravel refactor install code introduction testing threedevsandamaybe podcast configure wordpress language community unittest interview series developer opinion

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