docs/one.org

31 lines
1.1 KiB
Org Mode
Raw Normal View History

2024-02-28 13:12:16 +01:00
* Home
:PROPERTIES:
2024-02-28 18:49:12 +01:00
:ONE: one-custom-default-home
2024-02-28 13:12:16 +01:00
:CUSTOM_ID: /
2024-02-28 18:49:12 +01:00
:TITLE:
:DESCRIPTION: Framework for creating Realtime SPAs using HTML over the Wire technology.
2024-02-28 13:12:16 +01:00
:END:
2024-02-28 18:49:12 +01:00
* Get started
:PROPERTIES:
:ONE: one-custom-default-doc
:CUSTOM_ID: /docs/get-started/
:END:
** What is Django LiveView?
Django LiveView is a framework for creating Realtime SPAs using HTML over the Wire technology. It is inspired by Phoenix LiveView and it is built on top of Django Channels.
It allows you to create interactive web applications using only HTML, CSS and Python. JavaScript ONLY is used to capture events, send and receive strings over a WebSockets channel.
** What are your superpowers?
2024-02-28 13:12:16 +01:00
2024-02-28 18:49:12 +01:00
- Create SPAs without using APIs.
- Uses Django's template system to render the frontend (Without JavaScript).
- The logic is not split between the backend and the frontend, it all stays in Python.
- You can still use all of Django's native tools, such as its ORM, forms, plugins, etc.
- Everything is asynchronous by default.
- Don't learn anything new. If you know Python, you know how to use Django LiveView.
- All in real time.