-
Notifications
You must be signed in to change notification settings - Fork 20
Home
FluentDOM is a small library that encapsulates PHPs DOM API. Up to version 4.x it was mostly an implementation of the jQuery Traversing and Manipulation APIs. Version 5 is an reimplementation. This interface is still here and implemented in the FluentDOM\Query class.
But it now provides several classes that extend the PHP DOM classes. They provide shortcuts, syntax sugar and some workarounds for bugs.
The original idea for the project was born in a workshop of Tobias Schlitt (http://schlitt.info) about the PHP XML extensions at the IPC Spring in Berlin. He used this idea to show XPath samples in the session. Since then he contributed several ideas and hints. The basic loader concept was his idea, too.
The FluentDOM class provides static functions that are entry points into the library.
FluentDOM\Query implements a jQuery like traversing and manipulation Api
This two classes are list classes for element and text nodes. The function FluentDOM()
is an shortcut for new FluentDOM\Query(...)
.
FluentDOM extends most of the DOM node classes. It adds DOM Level 3 properties and method as well as a lot of syntax sugar.
FluentDOM (6.1) extends the XMLReader and XMLWriter classes to provide improved namespace handling.
- Home
- Getting Started
- Tasks
- Plugins
- Functions
- Lists
- Creator (5.1)
- CSS Selectors
- Convertors
- Loaders
- Serializers (5.1)
- Transformers (5.1)
- Extended DOM
- XMLReader (6.1)
- XMLWriter (6.1)
- Interfaces