Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic Data Blocks #19

Open
excitedbox opened this issue Nov 23, 2020 · 0 comments
Open

Dynamic Data Blocks #19

excitedbox opened this issue Nov 23, 2020 · 0 comments

Comments

@excitedbox
Copy link

What I miss most in online HTML editors is adding DB/dynamic content. The way I imagine it is that you insert a dynamic data item and when you click on it it presents you with a list of data item names. Kind of like how form tags and form fields in html work. In the main dynamic tag you select the table/query and key variable and a method such as post or get and the individual dynamic items can be placed around the page to display the db row content.

This would also allow content blocks such as list/table/card/loop where you define your query in the main tag and then create a repeated item template maybe even in a popup sub builder window. This could either be a table row or card layout and on a live load this template is repeated with the selected data. For more advanced cases it should also allow adding code to modify the data values limited by the content block type that is used.

Links can be appended with keys and using a get method can pass dynamic data between pages or posts can allow the addition of form processing and data storage.

Form fields could also be pre-filled this way by adding a plus button to the placeholder input field that allows you to select the value to fill it with.

I could even see a version where DB tables and columns can be created directly in the builder eliminating the need for users to edit SQL code. This feature shouldn't be much more work to add than a form builder but the possibilities it opens up are enormous.

I believe this would be the killer feature to bring wysiwyg editors out of the realm of editing text and into the full blown website builder territory since this addition would allow anyone to build a webapp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant