The SQLMap DataMapper framework makes it easier to use a database with a PHP application. SQLMap DataMapper couples objects with stored procedures or SQL statements using a XML descriptor. Simplicity is the biggest advantage of the SQLMap DataMapper over object relational mapping tools. To use SQLMap DataMapper you rely on your own objects, XML, and SQL. There is little to learn that you don't already know. With SQLMap DataMapper you have the full power of both SQL and stored procedures at your fingertips.

The SQLMap for PHP is based on iBATIS.NET - DataMapper Application Framework from http://ibatis.apache.org. The PHP version support most of the features found in iBATIS.NET exception the following:

  1. Dynamic SQL
  2. Distributed Transactions

What's covered here

This Guide covers the PHP implementations of SQLMap DataMapper. The Java and .NET implementation offers the same services with some changes in the API.

Since SQLMap relies on an XML descriptor to create the mappings, much of the material applies to both implementations.

For installation instructions, see the section called the SQLMap PHP Developer Guide.

A Tutorial is also available. We recommend reviewing the Tutorial for your platform before reading this Guide. SQLMap Tutorial


Add Forum and Trac.


SQLMap MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AS TO THE INFORMATION IN THIS DOCUMENT. The names of actual companies and products mentioned herein may be the trademarks of their respective owners.