fquery
htmx
fquery | htmx | |
---|---|---|
5 | 633 | |
10 | 43,034 | |
- | 10.2% | |
7.0 | 9.7 | |
3 days ago | 2 days ago | |
Python | JavaScript | |
MIT License | GNU General Public License v3.0 or later |
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.
fquery
-
Solving the double (quintuple) declaration Problem in GraphQL Applications
Similar benefits without codegen (based on decorator magic) for a python based stack:
https://github.com/adsharma/fquery
* Use dataclasses for both database schema and the user facing operations
- Cut Out the Middle Tier: Generating JSON Directly from Postgres
- Against SQL
- Django for Startup Founders: A better software architecture for SaaS startups
-
SwiftGraphQL – A GraphQL client that lets you forget about GraphQL
Re: Conways law at Facebook
I was at Facebook when GraphQL was invented, maintaining a backend storage service where a core assumption was that storage should be reorganized based on access patterns and that predicates should be pushed down to storage where they can be executed more efficiently.
GraphQL was hard to push predicates down, because you don't know which of the edges were written in PHP.
My response was fquery[1], which is like what's being discussed here but with python as the source language instead of swift and amenable to preserving the largest possible query structure for backend optimizers, including SQL optimizers.
It has some early demos converting a GraphQL/fquery into SQL where possible. It should be possible to add enough metadata to fquery to identify if an edge is non-trivial (calls into another microservice) or trivial (can be optimized to a storage backend or SQL).
[1] https://github.com/adsharma/fquery
htmx
-
Your API Doesn’t Always Need to Be a Product
The Single-Page Application trend gained popularity partly because it allowed developers to avoid full page reloads during navigation or form submissions. HTMX has been generating buzz recently precisely because it enables bypassing full document reloads. At the same time, it sticks to a document-based approach for browser/server interactions. This eliminates the need to retrofit JSON API constraints. Additionally, it dramatically reduces the amount of JavaScript required on the frontend.
-
FastHTML and Heroku
FastHTML gets you up and running quickly while also making it easy for your users. It does this by selecting key core technologies such as ASGI and HTMX. The foundations page from FastHTML introduces these technologies and gives the basics (though you don’t need to know about these to get started).
- The Future of Htmx
-
Creating a To-Do app with Django and HTMX - Part 1: Creating the Django project with uv
In this series of posts we will create a To-Do app using HTMX and Django, following a TDD (Test-driven development) workflow.
-
My 2024 review
I'd definitely love to do something front-end related and therefore I'd like to play a little bit with htmx. But first I need an idea for a small application. This way I plan to code again in Golang (this year I didn't manage to code anything useful).
- Htmx 2.0.4 Released
-
Supercharge your HTML with mizu.js!
That's why I grew fond of libraries such as Alpine.js and htmx, which require no setup and are easy to use. However, I felt these had some limitations. Since they were mostly designed for client-side usage, it wasn't really possible to use them in server-side rendering contexts (including static generation).
-
Powerful form validation with OCaml's Dream framework
I'VE been a long-time proponent of the power of HTML forms and how natural they make it to build web pages that allow users to input data. Recently, I got a chance to refurbish an old internal application we use at work using htmx and Scala's Play Framework. In this app we often use HTML forms to submit information. For example:
-
If Not React, Then What?
I've spent years slowly migrating a personal project from PHP to Scala/React, and I'm devastated if React is out-of-date already. The web tech treadmill is relentless!
Seems the author recommended HTMX as an alternative in a couple of scenarios.
I checked out HTMX. The canonical example on the homepage (https://htmx.org/) was a button where a click calls the server and the response contains HTML to replace the outerHTML of the button.
I must be missing something here. Is HTMX really suggesting muddying the back-end code with front end code? So, any changes to front- or back-end would have to be carefully managed to avoid breaking the other side?
Feels like PHP all over again!
-
Django project - Part 4 HTMX, TailwindCSS and AlpineJS
Almost as easy as the AlpineJS, but with a little more work. Download the HTMX lib from HTMX website in the palindrome/static/js folder:
What are some alternatives?
django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
rel8 - Hey! Hey! Can u rel8?
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
prosto - Prosto is a data processing toolkit radically changing how data is processed by heavily relying on functions and operations with functions - an alternative to map-reduce and join-groupby
astro - The web framework for content-driven websites. ⭐️ Star to support our work!
DjangoChannelsGraphqlWs - Django Channels based WebSocket GraphQL server with Graphene-like subscriptions
unpoly - Progressive enhancement for HTML
jrutil
react-snap - 👻 Zero-configuration framework-agnostic static prerendering for SPAs
django_for_startups - Code for the book Django for Startups
django-unicorn - The magical reactive component framework for Django ✨