Re: Somewhat OT - Stored Procedures
| From: | Nathan Rixham | Date: | Fri, 04 Mar 2011 17:45:25 +0000 |
| Subject: | Re: Somewhat OT - Stored Procedures | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-311668@lists.php.net to get a copy of this message | ||
Richard Quadling wrote:
At a fundamental level, my PHP code isn't concerning itself with any physical data structures. As much as possible my PHP code treats the sql data source as a processor ready to supply data in a standardized form (even hierarchical) and to accept data for storage (again hierarchical). My PHP code knows next to nothing about the table structure (why should it - it isn't a database).Exactly - separation of concerns, a core principal to learn and apply wherever you can.