jyoungblood / slime-render

PHP abstraction functions to help more easily render views for Slim Framework with Handlebars (LightnCandy).
MIT License
1 stars 0 forks source link

Add support for other templating languages #1

Closed jyoungblood closed 1 month ago

jyoungblood commented 1 year ago

HBS is great (and really the only kind of templates I care about), but I'm wondering if it would be helpful to provide these same kinds of abstractions for other template languages?

I'm specifically thinking:

There are more (HAML, Pug, Nunjucks, Smarty, Golang, etc) but I don't want to get carried away.

If so, we'd probably need to add some instructions for installing the supporting rendering packages.

What do you think? Cool idea? Too much? Sound off in the comments!

jyoungblood commented 1 month ago

Not doing this for slime-render. Made a new package (stereo-render) that uses BladeOne instead of LightnCandy but is otherwise the same as this one (so it's compatible with SLIME)