4 ms·
Yeah, I'm getting the feeling that the OP has no idea of PHP frameworks (or anything that has happened with PHP in the last 5+ years for that matter), and prefe
by adamors 13y ago
Yeah, I'm getting the feeling that the OP has no idea of PHP frameworks (or anything that has happened with PHP in the last 5+ years for that matter), and prefers to throw the baby out with the bathwater because of this.
- marklit 13y agoI was using PHP frameworks between 2007 and 2011. Have you been watching what has been happening with the Python-based frameworks in the past 10+ years?
- adamors 13y agoWere you really? Because saying things like "There is package management in PHP but I never found any code bases in the wild" or getting excited by writing RESTful APIs paints another picture.
- marklit 13y agoYou've taken the wrong impression from those statements. Have a look at my CV if you wish.
- mgkimsal 13y agoTo be fair, it's pretty hard to refactor existing spaghetti PHP in to any comprehensive framework, at least production systems within a company with deadlines and customers.
- debacle 13y agoIs that something intrinsic to PHP? It's hard to refactor any code when you have no time allocated to maintenance.
- mgkimsal 13y agoI do think it's a bit harder in PHP, given the nature to which it allows for spaghetti code to happen in the first place. Certainly it's never easy in any platform, of course; I do think "bad" PHP is harder to refactor than "bad" other code. Just an opinion, of course.
- debacle 13y agoAny particular reason? You can do fewer terrible things than you can do in Perl, C, C++, etc.
- methodin 13y agoIndeed but it's ungodly easy to add composer, follow FIG standards and be on your merry way to refactoring. At some point if you keep it up it will be easy to transition into a good framework like Symfony. I just refactored an old class hierarchical system where each class extended a random other one and all functions were called from a global parameter or $this-> so if I can do that, anyone can!