Hacker GitHub

← All repos

hhvm/xhp-lib

View on GitHub ↗ ★ 1,381 Hack archived

Class libraries for XHP. XHP is a Hack feature that augments the syntax of the language such that XML document fragments become valid Hack expressions.

9 mentions on Hacker News by 9 people: 3 stories, 6 comments · first 2010-02-10 · latest 2024-04-29

Mentions per year 9 mentions · busiest year 2013 (4)
20082026
  1. > React with its component ideas was a smart and the first of its kind, yes. Tldr: React is just a port (the original version). Just as an FYI, The main concepts of react were first created in PHP. It was called XHP and was latter ported…
  2. ▲ 1
    Facebook XHP Expressions for PHP
    story by webdisrupt · 2014-11-05 · 0 comments
  3. AFAIK it's not true. First they don't use raw php: https://github.com/facebook/xhp/wiki Then they use it only for the view layer, it only pull some data from memcache to render HTML. But all the hard work is C++ / Java / Tornado / etc
    comment by byroot · 2013-09-06 · in Rambling On [PHP] Internals
  4. …people click more ads. But they're open sourcing some interesting things so it's not all bad. 1. https://github.com/facebook/xhp
    comment by ksherlock · 2013-06-06 · in Why did we build React?
  5. ▲ 2
    Facebook XHP
    story by tambourine_man · 2013-05-30 · 0 comments
  6. ▲ 2
    Facebook releases XHP, PHP extension allowing inline XML document fragments
    story by abailin · 2013-03-15 · 0 comments
  7. …on their infrastructure looks nice and modern. [1]: https://github.com/facebook/hiphop-php [2]: https://github.com/facebook/xhp
  8. XHP is orthogonal to HipHop, since XHP is available as a module for Zend PHP - https://github.com/facebook/xhp .
    comment by nbm · 2012-04-10 · in PHP: A fractal of bad design
  9. So, it seems you need to include init.php. Not sure why that doesn't happen automatically. http://github.com/facebook/xhp/issues#issue/2
    comment by chaosmachine · 2010-02-10 · in XHP: A New Way to Write PHP (from Facebook)