Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

PHP DOM Builder API 2.0

Baigudin Software participates in OS DAY 2017 conference

The Baigudin Software Company has participated in OS DAY – a fourth scientific-practical conference, which aims to determine a mission of Russia in developing sphere of operating systems.

PHP DOM Builder

PHP DOM Builder in examples

PHP DOM Builder is a library for generating valid HTML documents and operating those. The library provides friendly application programming interface for changing document type, finding tags by attributes and those values, and also includes methods for parsing web forms.

Download and support

Download

Setup and include

Namespaces in hierarchy of files and classes. The library including by autoloader or directly.

Сonfiguration and settings

The library settings for your needs. Settings description. Primary class for working with the library.

Beginning of work

HTML document creating. Basic concept of work with methods for elements creating.

DOM tree traversal

Sequential traversal of document. New elements adding.

Elements fetching

Elements fetching by using its names, identifiers, class names, or attribute values.

Elements finding

Selectors. Elements finding and filtering by query criteria.

Elements copying

Creating new branches of tree by using branches which already exist. Remove elements.

Work with fields of web form

Web form creating. Fields setting. Implementation example.

Optimization of source code

Elements fetching optimization. Indexing.

Multi-language mode

Document generation in determined language.