Our goal with the table ooification is to refactor the current tables, which are written as a mix of procedural php + html + javascript + inline css. These are being replaced with a set of DataTable
classes and functionality, which aim to provide an easily readable set of methods for developers to compose a DataTable object.
(Eventually, once routing and controllers are introduced, these DataTable objects will be passed to a View rather than echoed out in the script itself. More on that later!)
For example:
An original Roll Groups table
and
the refactored version of the same table.