December 30, 2003
Sorting Tables
So those of you who are standards-compliant designers know that there's been a big move recently away from tables to CSS designs, which is all good and dandy. Of course, there are also a lot of uses still of tables ... for ... tabular data (that's right!).
Now, there's always been a problem with sites that use tables; how do you sort it? You *can* build in server-side solutions (e.g. "click here to sort", then the script orders it in the database).
However, ideally the burden of sorting would be placed on the client. That's where things get really interesting.
I've been recently building in new features (unannounced yet) and expanding on current features. One of the most important things I've been doing is using standardized functions for display on the administrator's section (e.g. the way tables are display, the ways forms are laid out, the method in which success and failure messages are returned).
Part of this is generating tables of data (like your entries) that are easily sortable. However, creating a modification of a SQL just to sort by date or whatnot is ludicrous.
Then I found out there is an easy client-side solution to creating tables that organize themselves.
I've been abusing this, so expect it to show up in Tabulas soon ... and check it out. It's beautiful and clean.
Now, there's always been a problem with sites that use tables; how do you sort it? You *can* build in server-side solutions (e.g. "click here to sort", then the script orders it in the database).
However, ideally the burden of sorting would be placed on the client. That's where things get really interesting.
I've been recently building in new features (unannounced yet) and expanding on current features. One of the most important things I've been doing is using standardized functions for display on the administrator's section (e.g. the way tables are display, the ways forms are laid out, the method in which success and failure messages are returned).
Part of this is generating tables of data (like your entries) that are easily sortable. However, creating a modification of a SQL just to sort by date or whatnot is ludicrous.
Then I found out there is an easy client-side solution to creating tables that organize themselves.
I've been abusing this, so expect it to show up in Tabulas soon ... and check it out. It's beautiful and clean.
Comment with Facebook
Want to comment with Tabulas?. Please login.