Yii3 - How to start

Comparing #68 with #69

Revision #69 was created by rackycz rackycz on Aug 31, 2026, 7:37:27 PM.

UpdateAction

Content

[...]
- [UpdateAction](https://github.com/rackycz/yii3web/blob/master/src/User/Action/UpdateAction.php)
- [View](https://github.com/rackycz/yii3web/blob/master/src/User/View/update.php)
- [Form + Validation](https://github.com/rackycz/yii3web/blob/master/src/User/Form/UserUpdateForm.php)

In Yii3, validation rules are not part of the model - special form-class must be created. In Yii2 you didn't need the form-class for model-driven forms.
 
 
## JS client - Installable Vuejs3 PWA If you create a REST API you may be interested in a JS frontend that will communicate with it using Ajax. Below you can peek into my very simple VueJS3 attempt. It is an installable PWA application that works in offline mode (=1 data transfer per day, not on every mouse click) and is meant for situations when customer does not have wifi everywhere. See my [Gitlab](https://gitlab.com/radin.cerny/vuejs3-pwa-demo-plus).