CMS enables you to build Storefront with option to edit themes and Admin panel helps to manage the data that flows through the entire app.
Basically there are two types of data at play here
The data to build the Storefront like the theme related
The data that is being used and manipulated by storefront i.e. customer data, orders, inventory etc...
Irrespective of the Front or Backend languages it is possible to do it. Try the below article it should give you some ideas : developers.bloomreach.com/blog/201...
People tell you to store html in database but I don't agree with that. On contrary you could store theme related data like font, logo, header size etc and generate a theme. Then use a generic theme builder to spit out html files whenever required.
Passing data for real time rendering comes from API from different database other than theme related data.
But may I ask why you are trying to solve an already solved problem ? Is it for learning or for monetisation?
Thanks for your answer, the insight you have given me is way more valuable than you can imagine ! I am trying to learn how Shopify operates and maybe get to build an alternative for my country (where payment methods like VISA , MasterCard .. etc are not a thing). Currently, I set up a JSON where snippets have a certain order and when I post to my flask environment with another order, the order changes. What could you recommend to modify the style with ease with a flask/jinja environment ? I will look further more on using a generic theme builder with the related data you told me about, thanks again !
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yes I'm building next shopify and have some problems on the cms :
Shopify has mainly 3 components:
Admin panel
CMS
Storefront
And all of these are connected through APIs
CMS enables you to build Storefront with option to edit themes and Admin panel helps to manage the data that flows through the entire app.
Basically there are two types of data at play here
Irrespective of the Front or Backend languages it is possible to do it. Try the below article it should give you some ideas : developers.bloomreach.com/blog/201...
People tell you to store html in database but I don't agree with that. On contrary you could store theme related data like font, logo, header size etc and generate a theme. Then use a generic theme builder to spit out html files whenever required.
Passing data for real time rendering comes from API from different database other than theme related data.
But may I ask why you are trying to solve an already solved problem ? Is it for learning or for monetisation?
Thanks for your answer, the insight you have given me is way more valuable than you can imagine ! I am trying to learn how Shopify operates and maybe get to build an alternative for my country (where payment methods like VISA , MasterCard .. etc are not a thing). Currently, I set up a JSON where snippets have a certain order and when I post to my flask environment with another order, the order changes. What could you recommend to modify the style with ease with a flask/jinja environment ? I will look further more on using a generic theme builder with the related data you told me about, thanks again !