Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Shopify's storefront is based around a liquid renderer instance. If you look up how objects are added to the liquid context that is pretty similar to the overall pattern (or at least was back when I worked there, hi pushrax :)


Yep, the main idea is to set up the liquid interpreter with the right variables/methods and the right liquid templates, and evaluate the result. There’s a lot of code that runs around that, but the path-specific code is quite small.

Hello :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: