Comment Comment by TooBrokeToBeg I always hated the DI fervor in PHP, like it solves all problems. You get such gems from phptherightway as> We can demonstrate the concept with a simple, yet naive example.> Here we have a Database class that requires an adapter to speak to the database.It tries so hard to be java, which seems backward. parent TooBrokeToBeg 8 years ago
> We can demonstrate the concept with a simple, yet naive example.
> Here we have a Database class that requires an adapter to speak to the database.
It tries so hard to be java, which seems backward.