RSS Feed for This PostCurrent Article

XHP: New Way of Writing 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.

Trackback URL

RSS Feed for This PostPost a Comment

Refresh Image