Menu

Post image 1
Post image 2
1 / 2
0

My 2 cents on Yii3

DEV Community·david duymelinck·19 days ago
#N1H1kHco
#php#yii#software#coding#yii3#configuration
Reading 0:00
15s threshold

I got to exploring Yii3 via Craft CMS . Craft is moving to Laravel with their sixth version . When I saw the announcement I was thinking Yii was having problems because Yii3 was stuck for a long time on 80 precent, if I can remember that right. But now I have seen Yii3 I think the decision is more because they needed change their guts anyway when they update to Yii3. Major changes Yii2 is, like most other frameworks, one pre-configured bundle . With Yii3 all components are separate and the glue that binds them together are the templates; web , api , console . The workhorse of the templates is the configuration. This loose structure allows the framework to use different setups depending on the need of the application. There are multiple runners to pick your flavour of PHP runtime. You can use the database package you prefer. The use of Yii::$app-> is discouraged . Routes can now be any callable you want, which brings Yii3 to the same level as the other frameworks.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More