Facebook Adds XHP to the PHP Improvements Mix
On the heel’s of Facebook’s announcement of HipHop for PHP — their “source code transformer” of the PHP scripting language which many Facebook applications are built upon — comes XHP, an extension to inline XML. The full impact of using XHP is still to be determined, Facebook’s Marcel Laverdet says that this makes “front-end code easier to understand” and helps “avoid cross-site scripting attacks.”
Wading through a selection of Twitter tweets and a few blog posts on XHP, I was able to glean the following overall reasons to both use and not use XHP:
Reasons to use XHP
- Tightens security by avoiding cross-site scripting.
WORK SMARTER - LEARN, GROW AND BE INSPIRED.
Subscribe today!
To Read the Full Story Become an Adweek+ Subscriber
Already a member? Sign in