2 ms·
That's why you can use several libraries at once, but you can only use one framework at a time. That's also why I refrain myself to use things like unity, unre
by jokoon 7y ago
That's why you can use several libraries at once, but you can only use one framework at a time.
That's also why I refrain myself to use things like unity, unreal engine, godot, etc.
Once you wrote something, a framework prevents you from using another framework, or the cost of porting is way too high. Libraries are more easily interchangeable.
- Ayesh 7y agoYou can do so to some extent in PHP. I'll wait for the PHP has rep to slow down.... In PHP, there is Framework Interior Group that created a few standards to which many frameworks implement their components. The interfaces are designed by FIG, and frameworks implement them (or rather, use libraries that implement them). Containers, HTTP message objects, request handlers, middleware, caches, they all can be interchanged if they implement these interfaces. Frameworks can now give the choice to the user to pick their own preferred libraries. There is Laravel, which is on the far end of opinionated frameworks, but Symfony andnSlim for example provided a lot of flexibility.