4 ms·
I've spent years building an open-source framework for building CRUD apps [0] I made it because I was tired of spending months designing beautiful interfaces,
by panphora 5y ago
I've spent years building an open-source framework for building CRUD apps [0]
I made it because I was tired of spending months designing beautiful interfaces, only to realize I was only 30% done with building a full app -- it was exhausting.
So I thought of a simpler way to create a dynamic app: treat HTML as a data structure.
---
Here's how to use it:
Tag your HTML elements as editable and/or containing data.
The syntax for this is simple:
<div object key:page-title="@innerText" edit:page-title>I am an editable page title</div>
This gets converted into:
{ "pageTitle": "I am an editable page title" }
---
Based on just some HTML templates marked up in this way, you'll get a full application with user accounts baked in -- where each user can edit their own copy of the HTML templates you made, filling it with their own data.
It's a super-fast way of building an application with multiple users, when all you have is some HTML and CSS. And it only requires learning ~8 custom attributes to build some pretty powerful apps [1]
---
Here's how it works behind the scenes:
1. The framework scans through the page, converting nested HTML into nested JSON data
2. The framework saves this JSON data to the current user's account
Pretty simple, right? I've spent years improving the syntax and behavior to make it really easy to use. I'd love your feedback.
I even made a client-side-only version, so you can test it out without installing anything [2]
---
[0] https://remaketheweb.com/ https://remaketheweb.com/
[1] https://recipes.remaketheweb.com/ https://recipes.remaketheweb.com/
[2] https://codepen.io/panphora/pen/rNMVYZz https://codepen.io/panphora/pen/rNMVYZz
- tweetle_beetle 5y agoThe concept looks very similar to the idea behind Mavo[1] and I think is great. Mavo is probably is too dumbed down for the HN crowd, but for simpler requirements I don't see how I personally could get a CRUD app running any quicker. A big part of this is being able to make the back end someone else's problem without fuss (local storage, GitHub, Dropbox, Firebase, Google Sheets, etc), but there are other options too. It looks like Remake (when run self-hosted) gives a bit more depth, control and ownership, but also the responsibility and complexity that comes with it. I'll have to check it out. [1] https://mavo.io https://mavo.io