Revision #23 has been created by rackycz on Sep 20, 2019, 7:38:12 AM with the memo:
prereq
« previous (#22) next (#24) »
Changes
Title
unchanged
Yii v2 for beginners
Category
unchanged
Tutorials
Yii version
unchanged
2.0
Tags
unchanged
tutorial,beginner,yii2
Content
changed
[...]
I have some experiences with Yii 1, but I havent used Yii for almost 5 years so many things are new for me again. Plus I was suprised that the Yii 2 demo application does not contain some basic functionalities (like DB login, translations etc) which must be implemented in the most of web projects so I will focus on them. Plus I will talk about GitLab.
Prerequisities
---
Skip this paragraph if you know how to run your Yii demo project...
I work with Win10 + [XAMPP Server](https://www.apachefriends.org/download.html) so I will expect this configuration. Do not forget to start the server and enable Apache + MySQL in the dialog. Then test that following 2 URLs work for you
- [http://localhost/](http://localhost/)[...]
- C:\xampp\htdocs\basic\web\index.php
If you set thing correcly up, following URL will open your demo application. Now it will probably throw an exception:
- [http://localhost/basic/web/](http://localhost/basic/web/)
The Exception is removed by enterinng any text into attribute 'cookieValidationKey' in file:
- C:\xampp\htdocs\basic\config\web.php
Yii demo app + GitLab
---
... text ...
Translations (i18n) + changing languages
---[...]