> 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. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php