svonix
svonix copied to clipboard
Guides for SPA and LiveView equivalent features
Hi, hope you remember our talk on Elixir
forum over year ago.
The only reason for not trying svelte
yet was missing SPA
guide with Phoenix
backend.
Here are possible interesting points:
- [ ] Generating a basic
Phoenix
app - since we do not need lots ofPhoenix
stuff, like controller, layout, template and view, so maybe we should even have a simpleplug
for rendering basicHTML
withsvelte
usage - [ ] An example of loading extra
svelte
component after some event (likeclick
) as an example of fetching extra code only when needed - [ ] Mention all
svelte
router libraries especially those that do not depend on hashtags (#
) inurl
- [ ]
svonix
andJavaScript
i.e. isnode
needed when we havePhoenix
server andnode
vsesbuild
(currently used inPhoenix
apps) - [ ] using
phoenixjs
for connecting with channel - maybe simplestchat
example (just broadcasting messages without storing them) - [ ]
Phoenix.LiveView
stream equivalent - [ ] File Uploads like guide
- [ ]
Elixir
andCQRS
withSvelte
SPA minimal example usingcommanded
andPhoenix
channel API - [ ]
Svelte
SPA with pureJSON
orGraphQL
API usingabsinthe
- [ ] A simple guide with links to helpful resources like
svelte
documentation or other howtos/guides i.e. how to continue after trying all above
What do you think about it? What other interesting topics could/should be covered in guides?