Revision #108 has been created by rackycz on Sep 22, 2019, 5:55:01 PM with the memo:
« previous (#107) next (#109) »
Yii v2 snippet guide
... and today I am beginning with Yii 2 so I will also gather my snippets and publish them here so we all can quickly setup the yii-basic-demo just by copying and pasting. This is my goal - to show how-to without long descriptions.
> ... technologies should not require users to study them deeply in order to run basic functionalities. Ordinary things should be copied and pasted so that one is happy that it works and thus motivated to study more ...I was suprised that the Yii 2 demo application does not contain some basic functionalities (like login via DB, translations etc) which must be implemented in the most of web projects so I will focus on them. Plus I will talk about GitLab.
I have 4 years of experiences with Yii 1, but I havent used it for almost 5 years so many things in Yii 2 are new for me again. Plus
If you find any problems in my snippets, let me know, please.
Now you can also create **CRUD** using GII:
CRUD = Create Read Update Delete = views and controller. On the GII page enter following values: