XHP: New Way of Writing PHP
By admin on Apr 24, 2011 in php
XHP is a PHP extension which augments the syntax of the language to both make your front-end code easier to understand and help you avoid cross-site scripting attacks.
XHP does this by making PHP understand XML document fragments, similar to what E4X does for ECMAScript (JavaScript). While PHP is typically used to write front-end code, by itself it isn’t a very good language for generating HTML (as evidenced by the popularity of templating engines likeSmarty). XHP is something between a programmatic UI library and a full templating system.
Post a Comment