[Phpwm] xhp - another facebook release

David Goodwin david at codepoets.co.uk
Wed Feb 10 09:06:16 UTC 2010


Another facebook-ism; seems quite interesting - although I'm not overly 
fond of their class naming conventions...

But it would remove issues of XSS (Cross Site Scripting) and also 
ensures that html output is valid xml.

There's also a one-shot binary to process the code - removing the 
alternative of using an xhp extension to php.

http://www.facebook.com/notes/facebook-engineering/xhp-a-new-way-to-write-php/294003943919

The github page has additional documentation in it's wiki which is quite 
useful - http://github.com/facebook/xhp/

David.
-- 
David Goodwin

[ david at codepoets dot co dot uk ]
[ http://www.codepoets.co.uk       ]



More information about the Phpwm mailing list