I am working on a project using symfony 2.5 It should be able to have a webpage that is editable text, bg color, bg image, and images etc. I use tinymce for inline editing.
my question is how should I save these web pages to the database. I am going to us jquery/AJAX. I have a lot of elements that has editable background, image and text.
how should I save these to the database I am planning to get all the editable content then pass it to php to be saved inside the database should I use json array and pass it to php then save it as json array inside the database?