Innovation Award
 April 2004
Number 5 |
Despite the MySQL popularity among PHP developers, it always had several limitations when compared to high end commercial databases. One of such limitations is the lack of support for stored procedures that could be used to encapsulate several SQL statements in a single function that just takes a few arguments to execute.
This class provides a MySQL client side solution that implements a stored procedure language using files to store the procedure SQL statments.
Despite the support for MySQL server side based stored procedurex is planned for one of the upcoming releases of MySQL, the solution provided by this class provides right now part of the benefits of using stored procedures in MySQL based PHP applications.
Manuel Lemos |
This class is meant to provide an emulation of stored procedures for MySQL.
It uses template files stored on the database client side that contain multiple SQL statements with special marks that identify placeholders that are replaced by procedure arguments when they are executed.
The result of the execution of procedure is an array containing either the handles of the result set of the SELECT statements or the number of affected rows of other statements.
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Good (83.3%) |
Good (83.3%) |
- |
Good (91.7%) |
- |
- |
Not sure (59.2%) |
767 |
| Month: |
Not yet rated by the users |
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.