Mandi! Antoine In chel di` si favelave... > What do people feel about db abstraction layers - can we introduce a
...they are good things, that, apart open the codebase to wider worlds ;), can aid to make better code. > dependency for 5.0, 5.1? Would PDO be the best place to start? Or > simply abstract everything out into functions and use db-specific > functions? AFAIK there's out there a plently of ``abstraction layer'', as the first option i think it is better to look at them... The real question is: we need a ``soft'' abstraction layer, because we use the DB as a mere data repository and so we need only some cosmetic changes on query, o we need a ``hard'' abstraction layer, because we want to use hardly the DB (triggers, referential integrity, ...) and so we need an abstraction layer that also reimplement some DB logic if not here? -- dott. Marco Gaiarin GNUPG Key ID: 240A3D66 Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it/ Polo FVG - Via della Bontà , 7 - 33078 - San Vito al Tagliamento (PN) marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797 _______________________________________________ Glpi-dev mailing list [email protected] https://mail.gna.org/listinfo/glpi-dev
