Open Haroenv opened 8 years ago
@Haroenv -
This is already possible. Pattern Lab 2 introduced PatternEngines. I have a simple write-up of the Pattern Lab ecosystem and there are a number of PatternEngines for node and PHP respectively.
Each PatternEngine is implemented in a language- and port-specific way. This means that node can have a node-based Handlebars PatternEngine and PHP may not have any support for Handlebars. We're just limited to which template language libraries have been implemented for the respective languages and how they've been implemented.
If you have further questions please let me know.
Aha, I can try that out to find what exactly needs to be done. Thanks
If you're going to build a PHP PatternEngine please let me know and I can write some docs quickly.
On Jul 26, 2016, at 1:35 PM, Haroen Viaene notifications@github.com wrote:
Aha, I can try that out to find what exactly needs to be done. Thanks
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub, or mute the thread.
I'd think it'd be useful to have more templating libraries (liquid, erb ...). How would this be done? preferably a straight-forward way to create "plugins" that work with php/node versions.