Re:The Last PHP PDO Library You Will Ever Need
by jiggy2011 on Friday November 04, 2011 @08:51PM
(#3198420)
Yes , totally agree with this but I still often see people put SQL (or HSQL or whatever) into controller/view level code.
I think part of the reason for this is it appears in allot of tutorials for different web frameworks, which I think they do because it makes the code smaller and therefor their framework look simpler.
I think part of the reason for this is it appears in allot of tutorials for different web frameworks, which I think they do because it makes the code smaller and therefor their framework look simpler.