uberswe / beubo

Beubo is a free, simple, and minimal CMS with unlimited extensibility using plugins
MIT License
21 stars 4 forks source link

Dynamic models/structs #36

Open uberswe opened 3 years ago

uberswe commented 3 years ago

I have had this idea for a long time so I thought it would be good to write it down. As I write this I am starting to get the functionality of components like fields down. Currently it directly correlates with frontend components in html templates but my future plan is to make these fields work for API endpoints as well even if it's not part of the core of Beubo. Once these fields are working well we can start making dynamic models and structs. I would like to make it easy for the user to work with data. A user should be allowed to make a form which adds data to the application, this data could then be stored in its own table with proper relations to the user or whatever model it should relate to. This allows a user to create things like product pages with categories without the need for any kind of plugin. These dynamic structs could then have their own API endpoints created with various API plugins.

Wordpress made it easy to make a basic website with dynamic pages and forms that send emails. What if Beubo could do the same but for databases and APIs?