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.

Try in SPARQL Jump to: Statements Referenced by

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 NERFINISHED
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 NERFINISHED
Hack typechecker NERFINISHED
license open-source license
originallyDevelopedFor Facebook codebase
paradigm component-based UI development
declarative UI definition
primaryUse building user interfaces
defining UI components
programmingLanguage Hack NERFINISHED
PHP NERFINISHED
providesSyntax XML-like syntax in PHP
repositoryHost GitHub NERFINISHED
supports composition of components
custom attribute definitions
reusable UI components
supportsLanguage Hack NERFINISHED
PHP NERFINISHED
syntaxStyle XML embedded in PHP
usedFor rendering HTML
rendering XML
usedIn web applications
validates HTML attributes
HTML element structure

Referenced by (1)

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

Hack (programming language) feature XHP
subject surface form: Hack