4 ms·
Don't forget that a Shopify store is 100% customizable by merchants using Liquid (Turing complete, not that you should try). There is no .html.erb layer. Think
by cbothner 6y ago
Don't forget that a Shopify store is 100% customizable by merchants using Liquid (Turing complete, not that you should try). There is no .html.erb layer. Think of Storefront Renderer as a Liquid interpreter using optimized presenters for the business models.
- benatkin 6y agoLiquid is designed so template authors don't have to be trusted. That's great and I wish it were more common. Here's an example of a disclaimer that should be attached to most templating languages: https://mozilla.github.io/nunjucks/templating.html https://mozilla.github.io/nunjucks/templating.html
- harrisonjackson 6y agoSeconded! I've had to do a lot of weird stuff in django to get around this for our user templates.