Revision #27 has been created by rackycz on Sep 20, 2019, 9:03:55 AM with the memo:
db
« previous (#26) next (#28) »
Changes
Title
unchanged
Yii v2 for beginners
Category
unchanged
Tutorials
Yii version
unchanged
2.0
Tags
unchanged
tutorial,beginner,yii2
Content
changed
[...]
Yii demo app + GitLab
---
... text ...
Translations (i18n) + changing languages
---
... text ...
User management + basic SQL commands
---
To create DB with users, use following command. I recommend charset **utf8_unicode_ci** (or utf8mb4_unicode_ci) as it allows you to use [more international characters](https://stackoverflow.com/questions/766809/whats-the-difference-between-utf8-general-ci-and-utf8-unicode-ci).[...]
Then use GII to generate model, views and controller. The URL will probably be
- [http://localhost/basic/web/index.php?r=gii](http://localhost/basic/web/index.php?r=gii).
- When creating the model, check this checkbox: **Enable I18N
** ... we will i18n it later
Login via database + Session
---
... text ...[...]