dj-hyperview: A Django package for building mobile apps with Hyperview #1351
eamigo86
started this conversation in
Show and tell
Replies: 1 comment
|
This looks really interesting @eamigo86 thanks for sharing! It's always great to see what the community does with Hyperview. I'll take a deeper look at the tool and the HyperTodo app and let you know if I have any thoughts or comments. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi Hyperview community,
First, thank you to the maintainers and contributors for creating Hyperview and continuing to support it. It has been a genuinely interesting way to build server-driven native interfaces. I also appreciate how quickly the team responds to reported issues and works to resolve them.
I have published the first beta of
dj-hyperview, a Django package that provides backend infrastructure for Hyperview applications while keeping every screen and product decision inside the consuming project.Hyperview can work with any HTTP backend, but a Django application still needs reliable conventions for locating and rendering HXML, returning full documents and fragments with the correct media types, validating templates, and keeping cached or database-backed screens consistent.
dj-hyperviewbrings those pieces together using normal Django patterns.The beta includes:
It currently supports Python 3.12–3.14, Django 5.2 and 6.1, and targets the Hyperview 0.110.0 contract.
A minimal Django view looks like this:
The
screens/home.xmltemplate remains owned by the Django project. The package resolves, renders, validates, and returns it as Hyperview HXML.I also built
HyperTodo, an open-source test application with a Django backend and Expo/Hyperview mobile client. It is used to exercise file and database templates, fragment updates, Admin editing, caching, localization, native extensions, and realtime refresh behavior in a realistic application.Links:
This is the first beta, so I am especially interested in feedback about the public API, the getting-started experience, database/Admin workflows, and how the package fits real Django-backed Hyperview applications. It is not yet a claim of production readiness.
Thanks again for making Hyperview available to the community.
All reactions