I have always written websites that interact with the endusers directly.
Now I want to create a website that lets users create their own websites - from scratch.
Almost like Drupal online, I provide all the unit blocks for them to use to build their own website. They just drag and drop text fields, buttons, (div) containers etc.
I have no experience with this and I wonder how an user's website should be stored in the backend.
I'm doing this with Sprouctore (Javascript framework for the frontend) and in the backend I run Rails with CouchDB. I'm going to use Heroku with this.
- Should a user's website be one "application document" in CouchDB (so that I only have one Heroku application) or should an user's website be one heroku application, and thus if I have 100 users I will have 101 Heroku applications - one is my own main website for creating websites.
- How do others do it? There are a lot of this kind of websites already.
- Something I have to know before I start coding?
- Tutorials/books for this kind of website create website programming (sounds like meta-programming would be something good to know)?