Answer the question
In order to leave comments, you need to log in
Rails page builder, where to start?
It is quite an interesting task to develop a CMS with a constructor, pages are created in the admin panel, in the page editor it is necessary to implement drag and drop content filling and template widget containers (plus templates can be different, there is a sidebar in one, not in the other, etc.).
The question is - how to implement rendering, how to store these outlined widgets, maybe someone has come across a similar one?
Answer the question
In order to leave comments, you need to log in
the editor sends JSON to the server - with the location of the blocks and content, then rendering takes place based on this information. Results can (and should) be cached.
See how it is implemented from the client side in sir-trevor.js , the idea should be clear.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question