Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

PHP DOM Builder API

BOOS Core has been released as version 2.1

The new release of BOOS Core has gotten ARM architecture with instruction set version 5, some independent algorithms of any compilers, root interface for all interfaces, and many tiny aspects, which were implemented in it.

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.