XHP

E452771

XHP is a PHP extension for Facebook's Hack language that lets developers write XML-like syntax directly in code to create robust, type-safe user interface components.

All labels observed (1)

Label Occurrences
XHP canonical 1

How this entity was disambiguated

Statements (47)

Predicate Object
instanceOf PHP extension ⓘ
UI component system ⓘ
open-source software ⓘ
designGoal safer string interpolation in HTML ⓘ
stronger typing for markup ⓘ
developedBy Facebook ⓘ
executionModel compiled to PHP/Hack code ⓘ
feature HTML structure validation ⓘ
attribute type checking ⓘ
automatic HTML escaping ⓘ
compile-time validation of markup ⓘ
component-based architecture ⓘ
custom elements ⓘ
integration with Hack type system ⓘ
namespaced elements ⓘ
prevents XSS vulnerabilities by default ⓘ
runtime validation of attributes ⓘ
server-side rendering ⓘ
type-safe UI components ⓘ
goal bring XML-like syntax into PHP code ⓘ
improve safety of HTML generation in PHP ⓘ
make UI code more maintainable ⓘ
reduce cross-site scripting bugs ⓘ
inspiredTechnologies React JSX (conceptually related) ⓘ
integratesWith HHVM ⓘ
Hack typechecker ⓘ
license open-source license ⓘ
originallyDevelopedFor Facebook codebase ⓘ
paradigm component-based UI development ⓘ
declarative UI definition ⓘ
primaryUse building user interfaces ⓘ
defining UI components ⓘ
programmingLanguage Hack ⓘ
PHP ⓘ
providesSyntax XML-like syntax in PHP ⓘ
repositoryHost GitHub ⓘ
supports composition of components ⓘ
custom attribute definitions ⓘ
reusable UI components ⓘ
supportsLanguage Hack ⓘ
PHP ⓘ
syntaxStyle XML embedded in PHP ⓘ
usedFor rendering HTML ⓘ
rendering XML ⓘ
usedIn web applications ⓘ
validates HTML attributes ⓘ
HTML element structure ⓘ

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

Hack → feature → XHP ⓘ
subject linked to: Hack (programming language)