DALMP¶
Database Abstraction Layer for MySQL using PHP
What & Why DALMP¶
PHP and MySQL is one of the most popular combinations used in web applications, sometimes this “combo” join forces with tools like: redis, memcache, APC, etc, always trying to achieve the best possible performance.
Setting all this together becomes tricky, especially when your goals are “speed & security” and you have a short deadline.
DALMP makes all this integration without hassle, offering several methods that can help the developer to focus more in optimizing his ‘SQL statements’ rather than worry about how to properly configure cache instances or about duplicating current connections to the database.
See also
One of the main goals of DALMP is to avoid complexity at all cost without losing flexibility and performance. The main class uses the PHP mysqli extension, therefore there is not need to have the PDO extension (older version of PHP didn’t include PDO by default).
To take advantage of the cache class and methods it is suggested to install the following extensions:
- redis: http://github.com/nicolasff/phpredis
- memcache: http://pecl.php.net/package/memcache
See also
If you have a site on the cloud or in a load balanced enviroment, you could take advantege of how DALMP handle sessions by storing them in a database or in a cache engine.
See also
On FreeBSD you can install DALMP from ports: /usr/ports/databases/dalmp.
Thanks Navicat for supporting Open Source projects.
A great amount of time has been spent creating, crafting and maintaining this software, please consider donating.
Donating helps ensure continued support, development and availability.
comments powered by Disqus