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

  1. Tightens security by avoiding cross-site scripting.
AW+

WORK SMARTER - LEARN, GROW AND BE INSPIRED.

Subscribe today!

To Read the Full Story Become an Adweek+ Subscriber

View Subscription Options

Already a member? Sign in