Re: RFC about automatic template escaping
| From: | Daniel Beardsley | Date: | Mon, 21 Mar 2016 06:21:43 +0000 |
| Subject: | Re: RFC about automatic template escaping | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-91805@lists.php.net to get a copy of this message | ||
> I agree XHP really is the right solution for this problem. It enables HTML
> to be created structurally and composably with a concise inline syntax, just
> like JSX/React does for JavaScript, and just like LINQ does for SQL in C#.
> It's much better than passing around snippets of HTML as strings that can
> easily break.
Yeah, XHP is a great way to go, but it's so different from traditional
templating and is a decent performance penalty that it's hard for pre-existing
large projects to adopt.