flexbugs
django-unicorn
flexbugs | django-unicorn | |
---|---|---|
9 | 51 | |
13,647 | 2,188 | |
- | - | |
0.0 | 9.0 | |
4 months ago | 22 days ago | |
Python | ||
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flexbugs
- Flexbugs
-
Use any web browser as GUI, with Zig in the back end and HTML5 in the front end
For old features yes, for new ones it depends.
https://github.com/philipwalton/flexbugs
-
I am not that excited about new CSS features
First, we read all the articles that showed us how to use it. Then we need to understand the axes. After that, we needed to wait for browser support. In the meantime, some of us brave enough used float fallbacks. On top of all that, we needed to deal with bugs. Those were the happy times, but they got us to this point in the frontend development phase.
-
What are some cross-browser quirks to watch out for nowadays?
To actually contribute, there's some flexbox bugs here which are still valid. https://github.com/philipwalton/flexbugs
-
My Good Friend Flexbox
If you find yourself in a situation when you have to solve a flexbox related layout bug for IE11, you might want to have a look at this collection of known issues and workarounds which helped me a great deal in the past.
-
Make formal verification and provably correct software practical and mainstream
For functional stuff, sure, but I don't think this is achievable within the UI domain. CSS rules have implementation details that change how you write it, for example there's a documented set of issues in flex implementations maintained here: https://github.com/philipwalton/flexbugs
It might be practical and possible to become mainstream for some domains, but it's doubtful for others.
- I hit a wall learning CSS Flexbox alignment and justification two weeks ago, so I wrote a web page to try to figure it out. I accidentally documented all the differences between how Chrome and Firefox interpret flexbox alignment and justification. IDK if this is useful or not, but here it is.
- Long live Flexbox
-
Debugging CSS: Some Tips and Tricks
For example, I've regularly ran into flexbox issues that are Safari-specific. I've discovered these by testing in other browsers and confirming that the issue only shows up in Safari. A good reference of Flexbox browser-specific bugs is Philip Walton's flexbugs repo.
django-unicorn
- Use any web browser as GUI, with Zig in the back end and HTML5 in the front end
-
Coming to grips with JS: a Rubyist's deep dive
Then there are stack-specific libraries: StimulusReflex for Rails, Phoenix LiveView, Laravel Livewire, Unicorn and Tetra for Django, Blazor for .NET, … and the list goes on.
- Unicorn – A full-stack web framework for Django
-
Reflex – Web apps in pure Python
- you get one of the best ORMs in existence with great relationship handling and generated admins
https://www.django-unicorn.com/
Not 1.0 yet but I'm using it in production and omgosh is it easy to crank out UIs.
-
Django 4.2 Released
There's a brilliant project called Django Unicorn that aims to be the equivalent of Laravel Livewire for Django. You should take a look.
https://www.django-unicorn.com/
That and HTMX + Alpine.js are a strong combination.
(I also had a bash at building a similar tool for Django called Tetra but unfortunately haven't had the time needed to commit to it: https://www.tetraframework.com)
-
Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
I think all LiveView frameworks should be part of this.
Here are two Python ones I've tried:
https://www.django-unicorn.com/
-
Phoenix Liveview Implementations
I'm biased since I created https://www.django-unicorn.com/, but I have a few thoughts. :)
-
Frontend framework for django?
Have you looked into Django Unicorn?
-
Endless stack in Django
Check out https://www.django-unicorn.com/ it is like htmx but is closer to Django.
-
Rails has Hotwire (which as I understand is an SPA-like integrated frontend with much reduced complexity), is there something analogous in Django? Is this what HTMX is? I really don't want to learn React or Vue..
When I was exploring the space, django-unicorn looked interesting also. But HTMX got me so far, so easily, that I didn't give unicorn a fair shake.
What are some alternatives?
browser-compat-data - This repository contains compatibility data for Web technologies as displayed on MDN
django-htmx - Extensions for using Django with htmx.
magmide - A dependently-typed proof language intended to make provably correct bare metal code possible for working software engineers.
reflex - 🕸️ Web apps in pure Python 🐍
webui - Use any web browser as GUI, with your preferred language in the backend and HTML5 in the frontend, all in a lightweight portable lib.
htmx - </> htmx - high power tools for HTML
gnoga
PyWebIO - Write interactive web app in script way.
dafny - Dafny is a verification-aware programming language
flet - Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.
webui-demo - WebUI standalone binary template
Flask - The Python micro framework for building web applications.