Skip to content
Greg Bowler edited this page Mar 2, 2023 · 13 revisions

The Document Object Model (DOM) is an object oriented interface for interacting with HTML webpages and other XML documents. It's been made extremely popular by its use in JavaScript within the browser.

The DOM represents a document with a logical tree. Each branch of the tree ends in a node, and each node contains objects. DOM methods allow programmatic access to the tree. With them, you can change the document's structure, style, or content.

This project provides access to a DOM within your PHP scripts on the server, for use with HTML or XML Documents, allowing developers to take advantage of the well known web standards and widely understood DOM technologies to produce dynamic pages alongside, or instead of, a template engine.

Using this guide

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:

Help & Support

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.

Report bugs on the Github issue tracker.

Contributing

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.