Difference from FastUI and Template Engines #34
Replies: 3 comments 5 replies
-
thank you very much for the kind words :-) This really motivates me to continue working on this project. And you have a really good point about deserving a more in-depth comparison with other tools. I didn't really think about that until now, but that would also help people understand what Ludic does and how it differs from other tools. I'll definitely add that to my roadmap. As for the contributors, it's only me for now. I was thinking about similar framework for a while and after I heard about HTMX, I thought it is time to give it a try. When I started working on it, I got really excited about how nicely it works and here we are - I have a lot stuff on my roadmap. What do I have on the Roadmap?I'm currently mostly working on layout components inspired by https://every-layout.dev/ which seems like a huge productivity boost when creating websites. Creating components in ludic copying this layout approach, I am able to create responsive HTML pages literally in a couple of minutes. I'm also creating a more interactive documentation so that people can quickly test how Ludic works. It is too limiting to use only readthedocs. And I also want to create a cookiecutter so that getting started with the framework is as fast as possible. The most potentially problematic thing I'm facing is #3 And than there are more features from the HTMX library that should be tested, implemented in examples, and so on. Than the framework requires more propagation, it would be nice to create a discourse, social networks and so on. All in all, quite a lot of work, unfortunately I also have a full time job so it won't be that fast as I would like :) |
Beta Was this translation helpful? Give feedback.
-
Happy to hear that.
I think it will help a lot. I'm highly excited about the idea of building web interfaces using only Python but all the other options like GradIO, Reflex, NiceGUI, FastUI, etc. do depend on some sort of frontend framework like VueJS, ReactJS, Svelte, etc. while separating the connection between frontend development and backend development.
I just noticed that. You've done a great job! Why don't you share your entire roadmap with us? There might be something an interested person could help.
The site you referred to looks quite interesting. Can you give an example of the process you just mentioned? Maybe a video or a small written tutorial?
I recommend trying MkDocs. I didn't try Ludic with PyScript but you can achieve something really interactive using pyodide. Checkout Pydantic documentation, it has really great presentation for examples.
Yet another recommendation is to use copier...
Good luck with that!
Let me know if you create one, especially a Discord channel could be really handy!
I totally get you 🫂. I also work full-time and check out my public repositories... Les then 20 percent of them are unfinished... |
Beta Was this translation helpful? Give feedback.
-
What do you think about a comparison table like this? Does it make sense to you or would you remove/add something? Thank you again for the idea. ComparisonHere is a table comparing Ludic to other similar tools:
(*) HTMX as well as Starlette are optional dependencies for Ludic, it does not enforce any frontend or backend frameworks. At it's core, Ludic only generates HTML and allows registering CSS. |
Beta Was this translation helpful? Give feedback.
-
The purpose of this question is mainly motivational.
Thoughts about FastUI
FastUI is growing and is an interesting package, it claims to be "A new way to build web application UIs" but there are quite a few similar attempts (like amis and layui).
I've been playing with it since it came out and it was very helpful to avoid JS, HTML, and CSS and stay in a Python environment.
There is a but, I never liked the "React" bridge. I was not able to interact with the DOM via Vanilla JS (in any abstraction level, you always need to inject some sort of script or override something for a darn reason...)
Thoughts about Template Engines
I'm bringing Template Engines question since Ludic looks like a direct alternative to many Template Engines in the web development scope.
I LOVE PYTHON. I want to do my business in a
.py
🐍 file, not an HTML dot JINJA dot IDK_WHAT_IS_NEXT file.Template engines bring their syntax, and they mostly lack editor support and auto-completion. Understanding their structure (thanks to awkward abstractions) is time-consuming.
Template Engines come with a nightmare; "micro-syntaxes" 😮💨.
Thoughts about Ludic
I also do love web dev but have never enjoyed so-called "Modern Web Dev" (might be because of JSX micro-syntax and bundling).
HTMX was and is a life savior, but I'm still writing HTML...
This package, Ludic, is the thing I've been dreaming (no I'm not a cyborg 🤖) of for two years now (check the motivation section at awesome-python-html) Thanks to everyone who worked on this project 🙏.
Comparing with FastUI
Comparing with Template Engines
Summary
I believe Ludic is a promising piece of tech and deserves a more in-depth comparison against many other tools.
These are the points that caught my eye.
I'd like to hear more from the author, and other contributors.
Beta Was this translation helpful? Give feedback.
All reactions