Why having PHP frameworks tethered to third party libraries is a bad idea

Опубликовано: 29 Сентябрь 2024
на канале: David Connelly
564
28

Today, I have for you a short video discussing why having PHP frameworks (or any frameworks for that matter!) aligned with or tethered to third party libraries is a bad idea.

Unfortunately, it's a yet another example of a bad practice that has become the norm in our community.

What I'm saying can be boiled down to two points. When framework makers tether their frameworks to third party libraries:

1). They subject their community to an endless cycle of bugs, rewrites and glitches.

2). They deprive their own community of choice. YOU - as the developer - should be free to choose what CSS, JavaScript or other third party libraries you'd like to use.

I'm going to use Yii2 as a case study here but there's no particular reason for picking on Yii2. In truth, I could have chosen from a wide assortment of popular PHP frameworks.