Yii v2 snippet guide

Comparing #178 with #179

Revision #179 was created by rackycz rackycz on Mar 21, 2020, 11:23:04 AM.

formatting

Content

[...]
... 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.

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.

If you find any problems in my snippets, let me know, please.

 
 
\n
 
\n
 
<br>
 
<br/>
 
<br />

**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
[...]