@vedmant, I disagree. It's not a complex approach. It's a very flexible approach.
@dberry I wouldn't say it's flexible, flexibility is when you can easily change anything in existent code, in this case it's very complex, to change package you first have to learn how it works in all details, check all dependencies, this is not flexible, this is very time consuming, especially when each package is written it's own way. For me, flexible means simple in the first place, when code is simple and fast to learn, it will be flexible as you can rewrite or extend it much faster.
@vedmant how many functions does a foreach loop execute? Perception is stronger then the truth. But honestly if you understand how any language translates it's syntax to machine code you'll be surprised. how many process are run for just a blank page.
Clue to foreach answer, it creates a for loop and the for is another series of functions that get exacuted. Pretty in genius when you break it down under the hood.
@vedmant You are totally wrong I think you just not experimented with laravel enough. You were ranting about it is not easy to extend auth and I showed you you can just extend one class to get it done like you expected and you're still ranting. You just didn't know how to do it. It is just as easy to extends filesystem, session driver and other component. Of course you need to dig a bit in the code but like anytime you extends a class/implements an interface from a framework. How would you extends a framework class without digging in the framework code ? Plus, this approach makes it easy for people to create and distribute packages, the end user just need to install the package and add its service provider.
Try to stick a bit with this and I'm sure you'll start to like it and to see its benefits. here you have a very narrow minded attitude. Trust me I don't like to use complex softwares I wouldn't stick with laravel if it wasn't classy.
Please or to participate in this conversation.