https://github.com/jsdf/cosmos
reactjs based cms
https://github.com/jsdf/cosmos
Last synced: about 2 months ago
JSON representation
reactjs based cms
- Host: GitHub
- URL: https://github.com/jsdf/cosmos
- Owner: jsdf
- Created: 2014-09-02T14:28:36.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-03T11:20:23.000Z (about 10 years ago)
- Last Synced: 2025-03-06T06:40:46.203Z (about 2 months ago)
- Language: CoffeeScript
- Size: 215 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
cosmos cms
======*postgres 9.4 json documents + reactjs ui = cms*

Okay so I haven't got to far with this project yet but here are the big ideas:
## CMSes are for documents, so use a document store
Postgres 9.4 provides a JSON document column type backed by a fast binary representation, which is ideal for storing the kind of varied and structured data which CMSes tend to be used for. Typically, in the CMS use-case, document fields/attributes are often added and removed as 'content types' are built up interactively via an admin interface. By extracting the content type schema definition to a JSON schema document, we can enjoy the flexibility of interactive content type building, while also keeping the schema definitions in files which can be checked into version control. Additionally, we still have the full power of a relational database at our disposal.## Rendering on the server or in the browser
Being able to render our content using the same components on the server (for public-facing display) and in the browser (when creating content) enables powerful real time previewing and inline editing workflows.