VaporCMS - The greatest content management system that will never exist

Related tags

CMSVaporCMS
Overview

VaporCMS

The greatest content management system that will never exist

Overview

WordPress is a huge success but could it be done better? Maybe being more opinionated would help with consistency and / or simplicity. I don't really like PHP so that's gonna go. This initial sketch is going to use Python / Go but it's just a PoC. PostgreSQL is going to be the database (no ORM, but will have a storage facade). All state lives in the DB, nothing lives on the file system (stateless web servers, caching will play a role). In general, HTML rendering will be handled by the server.

Design

The core system is nothing more than a bare-bones set of relationships between the primitives described below. The expected "baseline" functionality of the CMS will be implemented as a set of pre-defined plugins that ship with the system. This ensures that the plugin design is flexible enough to meet most requirements. The page builder, plugin manager, user manager, etc will all be implemented as plugins.

Wouldn't that create a chicken and the egg problem? It would if these baselines plugins didn't ship with the application. They can always be replaced by others if desired (a diff page builder, for example). These are some intense dog-fooding goals but I think they are critical to get right. This project strives to achieve a similar level of design efficiency and orthogonality as the level design in Dark Souls 1.

Primitives

These are super important and should be selected with great intention. In no particular order:

  • Page
    • flexible
    • open-ended
    • what combo of HTML / CSS / JS?
    • how can they refer to other "partial" page templates?
    • how do you link up the jinja template data?
    • default set + custom models as needed?
    • page "types" like django? DetailView, ListView, etc? map to a model?
  • Form
    • represents data to be sent to the application
    • independent of a particular design / layout
    • just the field names, types, etc
  • Route
    • maps URLs to Pages
  • Model
    • Record type of data that the site cares about
    • User, page, form, route, etc (defined by core plugin)
    • Relationship as separate primitive? Or defined within models?
    • Should I leverage an ORM based on this? SQLA? Peewee? GORM?!?
  • Plugin
    • allow for near-arbitrary customization of appearance and behavior
    • can be dragged and dropped in as a bundle (like WP)
    • written in Python / Go
    • can contain static files (HTML / CSS / JS)?
    • can plugins define pages at all? or just models / behavior?
    • isolated: separate / sub process? container w/ a REST API?
    • require Dockerfile / plugin.yml to be in repo root?

Plugin API

Super rough sketch:

  • GET / - Return plugin metadata: name, version, models, implemented endpoints, etc

Model API

This is based on Kong's DAO concept. Each custom model definition will generate the following endpoints:

  • POST / / - Create a new record
  • GET / / - Get all records
  • GET / /:id - Get a record by primary key
  • PUT / /:id - Update an existing record
  • DELETE / /:id - Delete an existing record

References

asyncpg
starlette
uvicorn
Docker SDK for Python
Django-based CMS
Kong Plugin Structure
Kong Plugin DAOs
Kong Plugin DAO API
Kong Plugin Basic Example

Setup

This project uses PostgreSQL for persistent storage. To develop locally, you'll an instance of the database running somehow or another. I find Docker to be a nice tool for this but you can do whatever works best.

The following commands start the necessary containers and define environment variables that the app will look for:

docker compose up -d
export VAPORCMS_DATABASE_URL=postgresql://postgres:[email protected]:5433/postgres

You'll need to run the initial migrations, too:

psql $VAPORCMS_DATABASE_URL < create.sql

These containers can be stopped via:

docker compose down
Owner
Andrew Dailey
Andrew Dailey
Django e-commerce website with Advanced Features and SEO Friendly

MyTech® - Your Technology Django e-commerce website with Advanced Features and SEO Friendly Images and Prices are only used for Demo purpose and does

28 Dec 21, 2022
ConnectLearn is an easy to use and deploy Open-Source Project meant to make it easier for the right students to find the right teachers online.

ConnectLearn ConnectLearn is an easy to use and deploy Open-Source Project meant to make it easier for the right students to find the right teachers o

Aditya 5 Oct 24, 2021
Journey is a journaling app where users can create their own journal and entries in it!

Journey is a journaling app where users can create their own journal and entries in it!

Hieu Ma 8 Dec 12, 2021
A Django content management system focused on flexibility and user experience

Wagtail is an open source content management system built on Django, with a strong community and commercial support. It's focused on user experience,

Wagtail 13.8k Jan 02, 2023
A Django content management system focused on flexibility and user experience

Wagtail is an open source content management system built on Django, with a strong community and commercial support. It's focused on user experience,

Wagtail 13.8k Jan 01, 2023
Abilian Social Business Engine - an enterprise social networking / collaboration platform.

About Abilian SBE (Social Business Engine) is a platform for social business applications, and more specifically collaborative / enterprise 2.0 busine

Abilian open source projects 63 Dec 29, 2022
A full stack e-learning application, this is the backend using django restframework and docker.

DevsPrime API API Service backing client interfaces Technologies Python 3.9 : Base programming language for development Bash Scripting : Create conven

Nnabue Favour Chukwuemeka 1 Oct 21, 2021
Simple yet powerful and really extendable application for managing a blog within your Django Web site.

Django Blog Zinnia Simple yet powerful and really extendable application for managing a blog within your Django Web site. Zinnia has been made for pub

Julien Fache 2.1k Dec 24, 2022
The easy-to-use and developer-friendly CMS

django CMS Open source enterprise content management system based on the Django framework and backed by the non-profit django CMS Association. Get inv

django CMS Association 9.1k Jan 08, 2023
Ticket shop application for conferences, festivals, concerts, tech events, shows, exhibitions, workshops, barcamps, etc.

pretix Reinventing ticket presales, one ticket at a time. Project status & release cycle While there is always a lot to do and improve on, pretix by n

pretix 1.3k Jan 01, 2023
The lektor static file content management system

Lektor Lektor is a static website generator. It builds out an entire project from static files into many individual HTML pages and has a built-in admi

Lektor CMS 3.6k Dec 29, 2022
A website (webapp) to get food recipes by recipes names & ingredients.

Ramy's tedbira A website (aka: webapp) to get food recipes by recipes names & ingredients that you have in your fridge, using Django-framework and Spo

Rami Berrekia 15 Dec 23, 2022
wger Workout Manager is a free, open source web application that helps you manage your personal workouts, weight and diet plans and can also be used as a simple gym management utility.

wger (ˈvɛɡɐ) Workout Manager is a free, open source web application that helps you manage your personal workouts, weight and diet plans and can also be used as a simple gym management utility.

wger Project 2k Dec 29, 2022
CMS framework for Django

Created by Stephen McDonald Overview Mezzanine is a powerful, consistent, and flexible content management platform. Built using the Django framework,

Stephen McDonald 4.6k Dec 29, 2022
A python open source CMS scanner that automates the process of detecting security flaws of the most popular CMSs

CMSmap CMSmap is a python open source CMS scanner that automates the process of detecting security flaws of the most popular CMSs. The main purpose of

RazzorBack 1 Oct 31, 2021
Django content management as it should be

Django content management as it should be. Documentation Read the full documentation or get a quick brief below. Install $ pip install djedi-cms Confi

5 Monkeys 75 Dec 13, 2022
A course management web application

umber a course management web app built with python Flask, sqlite3, and git. installation Tested on Ubuntu 18 with python 3.5. # -- Install the system

Jim Mahoney 6 Jun 03, 2022
LOOKING FOR NEW MAINTAINER - Quokka is a Content Management System - `docker run --rm -it -p 5000:5000 quokka/quokka`

Quokka The Happiest CMS in the world Quokka is a Content Management Framework written in Python. A lightweight framework to build CMS (Content Managem

Quokka Project 2.2k Jan 01, 2023
Flask-SQLAlchemy implementation of nested/threaded comment replies.

Threaded comments using Common Table Expressions (CTE) for a MySQL Flask blog or CMS Credits to peterspython Also read more about the implementation h

ONDIEK ELIJAH OCHIENG 5 Nov 12, 2022
Django Fiber - a simple, user-friendly CMS for all your Django projects

Django Fiber An important message about this project Hi Django Fiber enthusiasts! This project was started by the people at Ride The Pony, Leukeleu an

666 Dec 15, 2022