Although I have to disagree that PHP5 features are used in Cake, generally I think Cake encourages good programming practice.
Even OO programmers can easily lapse into bad habits with PH, simpyl because its such an easy language to ´just get things done.´ But now I am so much more familiar with MVC, front controller, Registry, and various other patterns because of Cake, my normal PHP code is much cleaner. On Oct 27, 12:08 am, "John David Anderson (_psychic_)" <[EMAIL PROTECTED]> wrote: > On Oct 26, 2007, at 3:50 PM, carSign wrote: > > > > > So today I was having a discussion with a coworker who is not a fan of > > using CAKEphp. > > > He is in favor of building his sites from scratch and clams that he > > gets a faster development time (though I argue that he is writing puny > > sites) > > Alas, I must agree with your wise friend. > > Recreating and testing a database access layer from scratch is > usually faster than downloading one. And when you've re-invented the > wheel, it is far more tested than say, a widely popular framework ORM > layer used by tens of thousands across many different platforms and > installations. I mean, you know what you wrote, right? > > Besides, the free work you get from the community could be from evil > hackers. > > Why use something that works, is well tested, documented, in wide > use, and freely contributed to... when you can do what's already been > done? > > > He also claimed that use of a framework like CAKE will result in > > programmers that don't know how to write object oriented code. Anyone > > agree - disagree? > > Once again, this friend is correct. > > Since CakePHP is purely procedural, most OOP programmers' skills will > indeed wane when using this framework. Those using some sort of black > box written by someone they *dont* *even* *know* can't be trusted. > You have to intimately know what's going on during every line. > > That's why most PHP programmers know all the C and machine language > underlying these mystery PHP functions like "strlen" or "echo." > Anyone who blindly uses these functions without understanding the > full ramifications is fooling themself. > > ;o) > > -- John --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
