Skip to content
Greg Bowler edited this page Oct 28, 2021 · 20 revisions

Built on top of PHP.Gt/Dom, this project provides dynamic data binding to DOM Documents, document templating and reusable HTML components.

Directly manipulating the DOM in your code can lead to tightly coupling the logic and view. Binding data using custom elements and data attributes leads to highly readable, maintainable view files that are loosely coupled to the application logic.

Main functionality

  • Bind data to HTML elements with data-bind attributes.
  • Inject data into HTML with {{curly braces}}.
  • Bind lists of data with data-template attributes.
  • Bind tabular data into HTML tables.
  • Using objects to represent bindable data.
  • Template pages using Partial HTML.