In my nightmare that is Zend, we had a call with some of their representatives about migration strategies, and my boss asked what the benefits of ZF2 are over ZF1.
They stated that ZF2 follows modern "best practices" of getting away from global scope objects, functions, and variables.
But the more I thought about this the more it seemed misleading. Everything within the Zend framework, and anything you integrate into it, runs under the scope of their Application class. And anything under that scope can access the configuration, events, services, requests, responses, etc., just as a conventional application could access those things from the global scope.
So my question is simple: How is their "application scope" any different in concept than PHP's default "global scope"?
It seems like the very same thing in practice, just shifted down into an object. And if that is thee defining difference, what makes that fundamentally "better"?
Because I'm just finding it to be a pain in the rear. Of course, I think I'm resistant to any framework that inherently limits the flexibility of PHP. If I wanted a limited environment I'd be programming Java...