Expandable Trees [for Anime Views]

Please report any sort of feature requests or bugs on the tracker instead of the forum! http://tracker.anidb.info

Moderator: AniDB

Locked
Isochroma
Posts: 27
Joined: Sat Aug 28, 2004 2:31 am

Expandable Trees [for Anime Views]

Post by Isochroma »

First off, my thanks for the continued reliability and funtionality of this great service!

I browse lots of sites, some like Microsoft's Technet, which have these excellent expandable trees implemented in various ways. The idea would be to use them on anime main pages and all other pages that use expandable items. [EditRar: this bit was added, right?]

Here is one good example:

http://www.mattkruse.com/javascript/mktree/

This Google search finds lots of code samples:

http://www.google.com/search?q=html+cod ... le+tree%22

The great thing about the expandable trees, is that when a user clicks the + sign next to an item, it pops out instantly rather than requesting data from the server. This means instant browsing, and also has the advantage that the entire page loads rather than just parts.

Since HTML is compressed in transmission, the additional overhead of sending the entire tree rather than parts, is largely offset by the better compression that is achieved by a larger textsize.

Also, a server sending many small pages is more latency-constrained than raw datarate constrained, so this prevents lots of small requests by coalescing them into a single send.

Plus, users get significantly improved response times, especially through slower or busy connections.

[EditRar: Putting this random rant back to how it was]
Last edited by Isochroma on Tue Apr 03, 2007 10:42 pm, edited 1 time in total.
Rar
AniDB Staff
Posts: 1471
Joined: Fri Mar 12, 2004 2:41 pm
Location: UK
Contact:

Post by Rar »

What the fuck are you even talking about? The anime page? Try looking at the dev forum.

Rar
Isochroma
Posts: 27
Joined: Sat Aug 28, 2004 2:31 am

Post by Isochroma »

Pardon my intrusion; the topic for this section of the forum is "Bug reports and Feature Requests". I assume this is a feature request, but if the post belongs in the Development forum, maybe you can move it there, or I can delete it and repost there?
Der Idiot
AniDB Staff
Posts: 1227
Joined: Fri Mar 21, 2003 10:19 am

Post by Der Idiot »

what he meant is "look at the dev forum"

where you can find:
http://www.anidb.net/forum/viewtopic.php?t=5374
Isochroma
Posts: 27
Joined: Sat Aug 28, 2004 2:31 am

Post by Isochroma »

ah thanks for the link! i already moved it to the development forum, but don't know how to delete this one, so if anyone could delete it that would be great, thanks!
Rar
AniDB Staff
Posts: 1471
Joined: Fri Mar 12, 2004 2:41 pm
Location: UK
Contact:

Post by Rar »

Oh, jesu, dealing with Iso is such a pain. YOU MADE NO REQUEST. A speech about treeviews in websites with nothing pertaining to anidb isn't useful, wherever you post it.

IF you were trying to say "I want this for the anime page" look at the thread the baka pointed you at, though the "without requesting data from the server" bit is a bad idea (tried clicking 'show all' on Naruto page recently?). If you were just interested in them in general, look at the categories page, which has had an interactive tree imp. since before something was something.

Rar
Isochroma
Posts: 27
Joined: Sat Aug 28, 2004 2:31 am

Post by Isochroma »

Yeah, the page you linked to is just what I was thinking about, I really like the way it works! Just like windows explorer, those neat & tidy little plus-minus widgets that instapop the datacrop...
Locked