The Situation
I have to create a web-application that allows me to, starting from a blank page, insert new html
, images and so on, and allows to edit it with features like: resize
, positioning
and so on.
To figure out what I'm talking about, see: https://www.scrollkit.com in its editor
section.
My Question
How should I save the new html
I create, with the CSS
bound to it, to my server?
Should I use a JSON
structure in which I put all my elements
with something like:
{
attributes: ,
tag: div,
html: some-html,
..
}
Or should I save the entire (maybe compiled?) html
page to the file-system?
Thanks in advance to all.