News for hackers. Stuff that matters.
Re:Why I Hate Frameworks (2005) by dotancohen on Wednesday October 20, 2021 @03:20AM (#28927747)

  > A framework with strong primitives makes it easy to create custom  
  > functionality that is still consistent with the framework's conventions.
  > But a framework thatrelies too much on magic makes this much harder.
This is what Laravel got right. It uses "Facades" (which differ from the Facade pattern) for the magic, but you don't have to use them. So socpers (Stack Overflow Copy-Pasters) can copy and paste their Facades without understanding them, but when I need to fix some edge case or write some functionality the framework designers did not anticipate, I can do it by reaching for the lower-level objects.

I've got tons of criticism of Laravel, but this is one thing that was done really really well.

There are no comments on this comment yet.