PHP Yii Framework - What are Widgets and why are they so good?

preview_player
Показать описание
What are framework Widgets and what benefits are there using them?
PHP, Yii2, Yii frameworks

--------
Follow Me

Рекомендации по теме
Комментарии
Автор

Thank you! This is a big boost for the Yii framework. Very unpopular in Africa.

cameronkylesoupen
Автор

I really hope you want to make fundamental series tutorial until advance

radenpapang
Автор

For me widgets are the worst part of this framework. I have had so many headaches with them in a legacy project and the whole concept is like ages old now ( the server to configure the UI ). Like I have to open the source code to see all the options, sometimes you need to write JS ( yes, like callbacks) as a PHP string which is just horrible. What about the Recaptcha widget ? Well, if you have a recaptcha in a dynamic ( only shown when the user clicks on a specific place) form it doesnt work immediately, you need to call recaptchaOnloadCallback() global function every time you open your dynamic form and that doesnt even exist as a use case anywhere in the docs. I assume this looked really cool like 10 years ago but now I would very much prefer using Vue.

ryancoper