-
-
Notifications
You must be signed in to change notification settings - Fork 25
Home
The Document Object Model (DOM) is an object oriented interface for interacting with HTML webpages and other XML documents. Its use has been made extremely popular by its use in JavaScript within the browser.
This project provides access to the DOM within your PHP scripts on the server, applying the standardised and widely understood DOM technologies to produce dynamic pages alongside or instead of a template engine.
Navigate to a particular section of this guide using the menu, or read through each section by clicking through the links at the bottom of each page.
Sections of the guide:
- Introduction
- Working with the DOM
- JavaScript in the browser
Use Stack Overflow to get help with technical issues. Tag your question with php.gt
and dom
, and a developer will be alerted to provide you an answer as quick as possible.
Join the PHP.Gt developer's community on Google+ to keep up to date with news and share your creations.
Report bugs on the Github issue tracker.
If you are interested in contributing to this project, a concise overview of how to contribute to the project is available on the Contribution guide page.
- An introduction to the Document Object Model - general overview of the DOM and outline of where this project fits.
- Using traits - how traits are utilised within the hierarchy.
-
Live properties - to provide classes with live properties, DOM classes should use
prop_*
methods instead of using__get
and__set
.
PHP.Gt/Dom is a separately maintained component of PHP.Gt/WebEngine.