♥bruyndoncx Posted April 3, 2015 Share Posted April 3, 2015 Just wondering with some discussions in other threads if enforcing referential integrity is no longer considered best practice ? Is the overhead just too much ? Is it not database independent ? Any reason why it isn't done ? KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt Link to comment Share on other sites More sharing options...
clustersolutions Posted April 4, 2015 Share Posted April 4, 2015 I learned from the world that a well designed schema shouldn't violates the normal forms, and we centralize all business logic in the back-end (referential integrity and stored procedures). I'm all for it. I can't imagine why would the overhead be too much as the logic will be done else where...just for the sake of ease of code maintenance... I am very familiar with Oracle, Informix, Postgres, and MySQL, other than NoSQL I believe that's the backbone of relational databases... I deal with a lot of open sources that the backend schema violates the normal forms and business logic is built in the middle tier...I say go ask the developer... Implementing RI now could be a can of worms...but if I were to do it I say do it along with rewriting the product and order and etc. classes... Just wondering with some discussions in other threads if enforcing referential integrity is no longer considered best practice ?Is the overhead just too much ?Is it not database independent ?Any reason why it isn't done ? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.