cafca / souma

Souma is a distributed and end-to-end encrypted community platform based on humanist ideals
Apache License 2.0
5 stars 3 forks source link

Store layouts in database #185

Open cafca opened 10 years ago

cartisan commented 10 years ago

You just implemented the db model, but didn't change that we operate on layouts.jss, right? Future transition going to be to load data from layouts.jss to db? What is the idea behind this transition? Dynamic layout modification by souma?

cafca commented 10 years ago

You just implemented the db model, but didn't change that we operate on layouts.jss, right?

Yes

Future transition going to be to load data from layouts.jss to db?

Yes

What is the idea behind this transition? Dynamic layout modification by souma?

The JSON has become so complex that adding a single field with a default value means work. Specifically, I want to layout the single-star-view using PageManager and for that I need to define (among other things) separate layout cells for star metadata and star attachments.

cafca commented 10 years ago

Also, this is of course work in progress.