Changes
Title
unchanged
Yii v2 snippet guide
Category
unchanged
Tutorials
Yii version
unchanged
2.0
Tags
unchanged
tutorial,beginner,yii2
Content
changed
## My articles
Articles are separated into more files as there is the max lenght for each file on wiki.[...]
* [Yii v2 snippet guide II](https://www.yiiframework.com/wiki/2558/yii-v2-snippet-guide-ii)
* [Yii v2 snippet guide III](https://www.yiiframework.com/wiki/2567/yii-v2-snippet-guide-iii)
**Intro**
---
Hi all!
This snippet guide works with the basic Yii demo application and enhances it. It continues in my series of simple Yii tutorials. Previous two contain basic info about MVC concept, exporting to Excel and other topics so read them as well, but they are meant for Yii v1.
... and today I am beginning with Yii 2 so I will also ga* [Začínáme s PHP frameworkem Yii2 (I) česky - YouTube](https://youtu.be/ub06hNoL8B8)
* [Yii2 App Basic Plus](https://gitlab.com/radin.cerny/yii2-app-basic-plus) ... a compilation of the
r m
y 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.
If you find any problems in my snippets, let me know, please.ost used functionalities
* [VueJs3 PWA demo plus](https://gitlab.com/radin.cerny/vuejs3-pwa-demo-plus) ... a basic installable PWA project (written in JavaScript, VueJS3) for my REST offline clients (only 1 data transfer per day)
**Prerequisities**[...]
I found these two pages where things are explained: [link](https://www.savjee.be/2019/04/gitlab-ci-deploy-to-ftp-with-lftp/) [link](https://stackoverflow.com/questions/49632077/use-gitlab-pipeline-to-push-data-to-ftpserver).
You need to create file .gitlab-ci.yml in the root of your repository with thisfollowing content. It will fire a Pipeline job on commit using "LFTP client"
automatically. If you want to do it manually, add "when:manual", see below.
```[...]
only:
- master
when: manual
```
I just added some exclusions (see the code) and will probably add **--delete** in the future. Read linked webs.[...]
```
.
.
**Tests - unit + opa**
---
...
text ...
.
see next chapters ...
**Adding a google-like calendar**
---
I needed to show user a list of his events in a large calendar so I used library [fullcalendar](https://fullcalendar.io/).[...]