Projects tagged ‘class’ and ‘database’


Jump to tag:

Projects tagged ‘class’ and ‘database’

Filtered by Project Tags class database

Refine results Project Tags php (2) db (2) mop (1) odbms (1) perl (1) source (1) indexing (1) json-rpc (1) code (1) assembly (1) store (1) mysql (1)

[5 total ]

7 Users
 

KiokuDB is a persistent object graph manager for Perl. It uses multiple backends and layers on Moose's introspection and Search::GIN for indexing.
Created about 1 year ago.

0 Users

This is a handy PHP Class for a MySQL Database
Created 4 months ago.

0 Users

Go mine
Created 3 months ago.

0 Users

I'll writeup a full description when I'm good and ready.
Created about 1 year ago.

0 Users

This class extends the PDO object to provide DB abstraction - a simple way to query different types of databases without needing to change your code. PDO: PDO provides a data-access abstraction ... [More] layer, which means that, regardless of which database you're using, you use the same functions to issue queries and fetch data. PDO does not provide a database abstraction; it doesn't rewrite SQL or emulate missing features. You should use a full-blown abstraction layer if you need that facility. - http://php.net/manual/en/intro.pdo.php However PDO does not cover DB query-abstraction - for that you have to use some huge class like ADOdb or PEAR:DB. Which of course will slow your site to a crawl if you are using shared hosting. This class fills this gap and provides DB query-abstraction for common functions like SELECT, REPLACE, INSERT, UPDATE, and DELETE queries. The actual PDO object is not changed in anyway - each of these functions still returns a PDO Statement Object. The total package size is only 18kb! And that is with LOTS of comments explaining the code! It is the missing link for people who love the DATA abstraction PDO provides but also need QUERY abstraction. Currently it only works on SQLite2-3 and MySQL. However because it is built for the SQL langauge - it will be supper simple to add PostgreSQL or MSSQL support as well (copy mysql class and change 3-5 functions). I just don't have a copy of either DB up and running to test it. [Less]
Created about 1 year ago.