jacob-grahn / platform-racing-2-server

Multiplayer server for Platform Racing 2
MIT License
49 stars 17 forks source link

Templocalypse #409

Closed jacob-grahn closed 5 years ago

jacob-grahn commented 6 years ago

First came the PDOcalypse Then came the Lintocalypse

Now it's time to bring in the Templocalypse! The goal will be to separate pr2's logic (php) from presentation (html)

Most template engines will also automatically escape data, so there's a security perk on top of cleaning up some tangled code.

The only template engnine I've used with php is Plates. If anyone has a preference or experience with another templating engine, I'd love to hear about it.

joseph12311 commented 6 years ago

so this https://twig.symfony.com/

bls1999 commented 6 years ago

@jacob-grahn I'm concerned about people (including me) having to learn how to correctly write in the template engine's language. I'm also concerned that Travis might create some false positives.

bls1999 commented 5 years ago

I'm gonna go ahead and assume this ain't happening.