Re:Top improvements for PHP developers
by TamDenholm on Monday November 29, 2010 @01:39AM
(#1949598)
I like the points about using php for logic instead of mysql, I've been doing that for years because I prefer to always do the heavy lifting in php which I know better than SQL.
I always felt it was against best practices though, but now I won't worry about it so much.
Also, aren't most PHPers using frameworks (like CakePHP or Symphony) now instead of raw-coding PHP? I can imagine this being useful for dealing with small or legacy systems, but I haven't had to write a raw SQL statement in almost a year now.
I always felt it was against best practices though, but now I won't worry about it so much.
http://blogs.sitepoint.com/2010/11/19/mysql-mistakes-php-dev...
Also, aren't most PHPers using frameworks (like CakePHP or Symphony) now instead of raw-coding PHP? I can imagine this being useful for dealing with small or legacy systems, but I haven't had to write a raw SQL statement in almost a year now.