B
B
Boris Penkovsky2014-05-30 22:41:13
Ruby on Rails
Boris Penkovsky, 2014-05-30 22:41:13

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

1 answer(s)
S
Sergey, 2014-05-31
@Able1991

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 question

Ask a Question

731 491 924 answers to any question