givanz / VvvebJs

Drag and drop page builder library written in vanilla javascript without dependencies or build tools.
https://www.vvveb.com/vvvebjs/editor.html
Apache License 2.0
7.24k stars 1.65k forks source link

dynamic blog integrate, Extended the functionality of blocks as dynamic #140

Open astutesixface opened 4 years ago

astutesixface commented 4 years ago

Hi.. Looks a great project. Can you please give me basic idea on how to get the dynamic blog content, like widget or else block take to convert as dynamic. I plan to integrate with php/codeigniter framework.

@givanz Any ideas will be helpful? Thanks lot..

excitedbox commented 4 years ago

I was thinking that it might be a good idea to make dynamic components such as a query component, a loop component, and some way of adding an echo into the content part of things such as the card or table components so you wouldn´t need to remake all these components as dynamic components.

It would require adding a way to nest components or else it kind of defeats the purpose of having a drag and drop editor if users have to add TR tags etc as part of their echo / print statements.

If you could have an open and close piece kinda like QUERY : TABLE : LOOP : TR : ECHO : /TR : /LOOP : /TABLE pieces for instance to fill a table. Or integrate a PHP component as a canvas and implement a blocky style of php/mysql.

astutesixface commented 4 years ago

Thanks for replay, can you please give me some example for that... any one..