Hacker News new | ask | show | jobs
by TotempaaltJ 2825 days ago
It seems to be meant for people who build a lot of customizable, relatively simple websites. The devs write the HTML & CSS, and Vapid automatically generates admin dashboards for content management.
1 comments

How is that different from what Django does?
Just spent 10 minutes with the demo. Here's what it appears to be:

- You create a bunch of static HTML pages with a bunch of tags like: {{field_name type=7_to_choose_from ...opts}}

- Vapid runs a node server that scans all your HTML files and parses out the tags in each html file

- The node server runs a CMS webapp (the "dashboard") that generates field inputs for the parsed tags (text inputs, image selectors, wysiwyg editors, etc... whatever matches your tag type)

- Data you input is persisted in a SQLite DB

- The node server serves up your static HTML pages as if they were any standard template (mustache, etc)

- It runs a watch server, so any changes to your files are auto updated

Onboarding demo seems to run as a 'development' server. Quick perusal of the docs don't describe what the production mode is (probably no watch server?).

That's all as far as I can tell. Seems fine for lightweight pages, as promised.

Django's admin is great, but it's semi-automatic at best: you still have to specify exactly what the models should look like. This tool seems to infer the models and forms that are required from the html.
I think Vapid is for static sites. Unlike Django, WordPress, etc, there's no backend. Correct me if I'm wrong.
There does appear to be a backend, it’s just only used to generate the static files that are eventually served.