Why no universal plug-and-play data grid? A framework tries a server-declared approach

A developer who has built many admin data grids argues that frontend and backend keep duplicate descriptions of columns, sorting, and filters, which drift out of sync and leave generic grid libraries unable to solve the problem. They describe Semitexa, a PHP framework where the grid needs only an endpoint, and fetches its route contract via an OPTIONS request built from the same server attributes that handle requests. The contract also enforces limits: a sort or filter not offered is rejected with a 400 error before any rows are read. For live updates, the grid subscribes over Server-Sent Events with its current view, and the server sends only the row changes relevant to each subscriber's page, sort, and filters. Unchanged rows keep their DOM nodes, preserving focus and selection, and the grid does not poll.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in