The Dink Network

Reply to New Generation 9 Test

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
January 5th 2005, 03:51 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
I decided to put on the ol' thinking cap today, and ended up created a pretty neat (in my opinion) proof-of-concept example of what a future D-Mods listing page might feel like.

I've only got it to successfully work in Mozilla Firefox so far.

You can view it in all of its glory right here.

Essentially, you can dynamically sort the list. Click on the 'A' in a column to sort it in Ascending order, click on the 'D' in a column to sort it in Descending order. I didn't bother to add in multiple page support yet, but that could be possible as well.

Now I'll be speaking some technical mumbo-jumbo, so unless this sort of thing interests you dearly, go play with the buttons some more. The D-mod listing data is actually stored in an XML file that it reads in on-the-fly when the page is loaded. In the final implementation, the XML would be updated only when a change was made to the contents (an updated file, new review which modifies the review score, etc). Plus, it would be possible to do this without any server-side scripting at all, besides the update of the XML file. Everything could be done client side.

This poses other problems though, such as compatibility with older browsers. I may end up having *optional* support for this, to make changing categories and sorting much more responsive, while having some sort of server-side implementation as a backup.

But I am very intrigued by Javascript's ability to read in XML... I mean, this could make super-cool forums and such.