data-access-layer

how to separate data access layer in codeigniter

Hi, I used to write the data access functionalities in model itself. Now I want to separate data access from business logic. I am using codeigniter as framework. It seems that one way of doing it is use ORM, but it will have a performance penalty I guess. are there any general best practices? ...

Independent DAL Design - Specific and Generic

Scenario: Creating an app for learning purposes and am trying to make it database independent. I have looked at the beerhouse architecture quite a bit where each database has its own dal an a mixture of SqlCommands and DataReaders etc. I no theres not a definite right or wrong, but generally in terms of maintenance, speed etc baring in ...