by Bob Baldwin
XHP is a PHP extension which augments the syntax of the language such that XML document fragments become valid PHP expressions. It fits somewhere between a templating language and a programmatic UI library. XHP allows you to use PHP as a stricter templating engine and offers a very straightforward way of implementing reusable, extensible components. Facebook is increasingly using this technology across our web presence, include our home page, dashboards, and lite.facebook.com.
This session will cover: how XHP works; syntax of building simple, complex, and dynamic structures; and using XHP as building blocks that cater to your web apps. I'll include lessons Facebook has learned about moving quickly from concept to product using XHP.
1st–4th June 2010