Torsten Raudssus | 8 Mar 15:10
Picon
Favicon

[phpdba] Definitions

Hi,

We need a definition list, cause we are at a level where i personal see 
around 4 Layers that can be used.... I dont want to make a first 
"definition" in detail, but i would like to get a first overview or set 
something up for discussion.

I think we talk in general on DB stuff about 4 Layers, if someone makes 
additional splitting, go on :) i'm always interested.

At first there is a DatabaseAccessAbstraction Layer... example would be PDO

In Second i see a simple DatabaseAccess Layer or some other fine word... 
example would be PEAR DB (PEAR DB needs something like PDO to access the 
database)

In third there are DatabaseAccess Layer which offers a special 
"Standard" for operating with it, that would be PEAR MDB2 in our case 
(the splitting to PEAR DB is clear, cause MDB2 can use DB as a access 
layer, or it can use PDO direct, but its a different layer)

And then i see the layer that is just my interest: The ORM/DAO.... 
Something that maps the database totally to an object structure that can 
be used as objects... like DB_DataObject or DB_DO2 ;)

<mortalkombat>Fight!</mortalkombat>

Lukas Kahwe Smith | 9 Mar 18:31

Re: [phpdba] Definitions

Torsten Raudssus wrote:
> Hi,
> 
> We need a definition list, cause we are at a level where i personal see 
> around 4 Layers that can be used.... I dont want to make a first 
> "definition" in detail, but i would like to get a first overview or set 
> something up for discussion.
> 
> I think we talk in general on DB stuff about 4 Layers, if someone makes 
> additional splitting, go on :) i'm always interested.

I think your 4 layers are explained quite well over here (although I 
only skimmed the post):
http://www.xaprb.com/blog/2006/08/13/four-types-of-database-abstraction-layers/

regards,
Lukas


Gmane