I’m building an e-commerce marketplace(I’ve built quite a few in the past). This time, I want to ensure the contents on the website’s frontend can be managed via the backend, like in a CMS.
The primary idea I have in mind is to create a DB table and manage everything from there - the sample goes like this
:
DB Table - Sample Website Contents
- HP-1st-title = Text value
- HP-2nd-subheading = Text Value
- HP-3rd-product_view = 3 (number)
After Experimentation
Upon trying this, I encountered that the table value contents get longer - irritating even when developing. And UI changes, like the sections view, are hard to implement.
Any other easier or more efficient way to implement such a solution?
Perhaps merge the data into less fields and seperate the different formatting and images using markdown or bb code so its more seamless
I understood about the BB code, but couldn’t grasp the
Could you elaborate
BBcode lets you store the formatting in the blog dataset and display with formatting. It’s a hacky way to create a blog app in Bubble.
Here are some posts about the concept: Convert bbcode text to html (keeping dynamic expressions)?
Managing Rich Text and Media with BBcode?
Try using JSON so don’t need hard sets of data fields and can be more dynamic with site content
2 Likes
Building a CMS-style setup inside Bubble is totally doable, but the structure matters a lot from the start. I’d separate content types clearly, use reusable elements, and create an admin-only interface for managing entries. I’ve learned the hard way that messy data fields become painful later. Planning relationships properly upfront saves tons of refactoring down the road.
I’ve set up my DB with quite a bit of optimization (it still needs tuning to perfection). CMS Style of Blog is easy, and I’ve previously been there, done that. As for an e-commerce and a marketplace, it is quite a hurdle to manage the UI. I want to change the whole text, not just the style like underline or italics. Kind of like what happens in WordPress
Hey @code-escapee I’ve set up my DB with quite a bit of optimization (it still needs tuning to perfection). CMS Style of Blog is easy, and I’ve previously been there, done that. As for an e-commerce and a marketplace, it is quite a hurdle to manage the UI. I want to change the whole text, not just the style like underline or italics. Kind of like what happens in WordPress