Git Product home page Git Product logo

dalmp's Introduction

DALMP - Database Abstraction Layer for MySQL using PHP

After many years of web developing with PHP, 99% of my sites are using MySQL so that is why I decided to create DALMP.

I have been using ADOdb, pear DB, Zend DB, etc. they are excellent applications, but many times they are too much for what I need, so that is why I started creating DALMP, a data abstraction layer that just feet my needs , taking the best practice code out there and put it on a single simple file.

%0 fat and extremely easy to use, just one file, define some constants and you are ready to go.

Details

  • redis support (http://code.google.com/p/redis/)
  • memcache single or multiple hosts and socket support (http://code.google.com/p/memcached/)
  • apc support (http://pecl.php.net/package/APC)
  • Disk cache support.
  • Prepared statements ready.
  • Ability to use different cache types at the same time.
  • Simple store of session on database or a cache like redis/memcache/apc.
  • Easy to use/install/adapt DALMP is just a single file.
  • Nested Transactions (SAVEPOINT / ROLLBACK TO SAVEPOINT).
  • Common methods are named exactly like ADOdb in case you want to try DALMP with an existing code that uses ADOdb.
  • sql queue.
  • http client + queue (for sending data via http to another server expecting an answer, if expected was ok then proceed other wise queue the http request).
  • trace everything enabling the debugger by just setting something like $db->debug(1).

share knowledge: irc.freenode.net #dalmp

dalmp's People

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.