Example TODO app as SPA using DX and DX-VAL
https://xtompie.github.io/dx-spa-todo/ -> Click TODO 0
- Modular
- No dependecy
- No npm
- No webpack
- Easy to deploy (composer.json -> script -> build)
- Autoload module by _export.php
- Html in .html, JavaScript in .js
- Router pushState popState
- JavaScript code completion
- Global Registry Pattern, IoC - check Task module
- Fully accessible via keyboard without the need for a mouse
- PubSub example in App.Window.Boot - App.Router.OnBeforeNavigete
- Reactivity example in App.Window.Boot - App.Task.Todo.subscribe
List
a
- adds
- focus searchEnter
(in search) - submit searchArrowUp
,ArrowDown
- Select next, prev taskEnter
(when selected) - go to task detail
Add
Escape
- go to listEnter
(in input) - submit form
Detail
Escape
- go to listEnter
- togle status: done, todoe
- go to editd
- go to delete
Edit
Escape
- go to detailEnter
(in input) - submit form