-
Hi, I used Vue, Alpine and Python (with Flask) in minor projects, not extensively though. I don't know Django that much (yet).
thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Thanks for taking a look! Tetra is doing four things:
Hope that helps, happy to answer any other questions. |
Beta Was this translation helpful? Give feedback.
Thanks for taking a look!
Tetra is doing four things:
It proves the "glue" between Django and Alpine by making "public" methods (and attributes) that can be called directly from your alpine code. You don't need to build an API or have views that output HTML fragments for patching (as you do with vanilla HTMX). It should result in writing significantly less code.
Also Tetra components are "statefull", further calls to public methods (on the backend) from the front end maintain the full state of the Python Component instance. This is like Livewire for PHP, although I believe (I'm not a PHP dev) we are able to support a wider range of types as Tetra uses Python Pickle for serialising. (t…