4 ms·
Laravel represents what modern PHP can do and be. Clean, organised, fully object-oriented. Kudos to what Taylor Otwell has created both from a marketing perspec
by lukeholder 12y ago
Laravel represents what modern PHP can do and be. Clean, organised, fully object-oriented. Kudos to what Taylor Otwell has created both from a marketing perspective and technical standpoint.
- deweller 12y agoI was a little scared by the heavy use of static method calls in Laravel 4. L5 has made the statics easier to ignore if that is not your thing. But after understanding the Facade pattern that is widely used by the framework, I've concluded that the use of the static method calls is not an antipattern at all.
- raziel2p 12y agoIt really is less of an antipattern in PHP than other languages. With every request being its own process you don't have to worry about singletons as much, and as long as it's easy to swap with mocks/fakes/whatever it's all good.
- coldtea 12y ago>Laravel represents what modern PHP can do and be. Clean, organised, fully object-oriented. In a JavaEE circa 2003-5 way. Not exactly what modern programming is about...
- cbg0 12y agoWe got it the first time https://news.ycombinator.com/item?id=8997114 https://news.ycombinator.com/item?id=8997114
- coldtea 12y agoDifferent subthread, answering to another person. Besides, it's not like https://news.ycombinator.com/item?id=8656965 https://news.ycombinator.com/item?id=8656965 is some gem of a comment that hasn't been written 200 other times on HN for example.
- EugeneOZ 12y agoLaravel is the shame of modern PHP - ZERO OOP, almost all methods are static, no DI, array-oriented programming everywhere, a lot of hardcoded "new" (so you can't mock and test).