PDA

View Full Version : Searching with Default2 skin - fantastic!



max.spicer
2005-08-15, 11:41
I've just noticed the search behaviour with the default2 skin (and assumedly exbrowse2). As you type your search terms into the web interface, the results are returned dynamically and instantly, without any page refreshes. It's really impressive! I've no idea if this is new behaviour, but well done to all who made it so. Anyone who hasn't ventured into the world of Default2, should definitely give it a go.

Max

Dan Sully
2005-08-15, 11:51
* max.spicer shaped the electrons to say...

>I've just noticed the search behaviour with the default2 skin (and
>assumedly exbrowse2). As you type your search terms into the web
>interface, the results are returned dynamically and instantly, without
>any page refreshes. It's really impressive! I've no idea if this is
>new behaviour, but well done to all who made it so. Anyone who hasn't
>ventured into the world of Default2, should definitely give it a go.

That's also the case in 'Default' as well. And all of the other skins.

-D
--
"It has become appallingly obvious that our technology has exceeded our humanity." - Albert Einstein

twynne
2005-08-15, 12:13
I've just noticed the search behaviour with the default2 skin (and assumedly exbrowse2). As you type your search terms into the web interface, the results are returned dynamically and instantly, without any page refreshes. It's really impressive! I've no idea if this is new behaviour, but well done to all who made it so. Anyone who hasn't ventured into the world of Default2, should definitely give it a go.

Max

Wow! No more screen refreshes in the browser either - this was probably the single greatest annoyance with the web interface before. Great work guys!!

:-)

max.spicer
2005-08-15, 12:14
No it isn't. Default requires you to press the Search Music button. I don't see how Default could do this instantly as it requires page reloads to get new data. I assume that Default2 is doing clever things with Javascript and XML to do the search dynamically.

Max


* max.spicer shaped the electrons to say...

>I've just noticed the search behaviour with the default2 skin (and
>assumedly exbrowse2). As you type your search terms into the web
>interface, the results are returned dynamically and instantly, without
>any page refreshes. It's really impressive! I've no idea if this is
>new behaviour, but well done to all who made it so. Anyone who hasn't
>ventured into the world of Default2, should definitely give it a go.

That's also the case in 'Default' as well. And all of the other skins.

-D
--
"It has become appallingly obvious that our technology has exceeded our humanity." - Albert Einstein

Dan Sully
2005-08-15, 12:17
* max.spicer shaped the electrons to say...

>No it isn't. Default requires you to press the Search Music button. I
>don't see how Default could do this instantly as it requires page
>reloads to get new data. I assume that Default2 is doing clever
>things with Javascript and XML to do the search dynamically.

Default doesn't require you to press the Search Music button - it's just
there for backwards compatability with older browsers.

-D
--
<iNoah> kernel's original recipe: 11 secret args and switches

Jacob Potter
2005-08-15, 12:37
On 8/15/05, max. spicer <max.spicer.1ttl71 (AT) no-mx (DOT) forums.slimdevices.com> wrote:
> No it isn't. Default requires you to press the Search Music button. I
> don't see how Default could do this instantly as it requires page
> reloads to get new data. I assume that Default2 is doing clever
> things with Javascript and XML to do the search dynamically.

Works for me on Default... what browser are you using?

This is a bit technical, but here goes...

The standard skins' livesearch uses the Prototype library, and
retrieves plain ol' HTML from the server and stuffs it in to the
document. You could call it AJAX, although there's not really any XML
involved. Dan Sully wrote all the livesearch code.

ExBrowse2 and Default2 (both of which I wrote :)) are completely
AJAX-based. EB2 uses my own JXTK library for everything, and
communicates to the server via XML and HTTP GET requests. This works,
but it's somewhat unreliable and occasionally suffers from caching
issues. The livesearch data is retrieved as pure XML. It's styled on
the client via XSLT (under Mozilla browsers only) or Javascript DOM
manipulations.

To complicate things further, I'm a few days away from being done with
yet another rewrite of EB2, based on JSON-RPC (very similar to
XML-RPC) rather than plain-old-XML. It's a LOT more reliable, and a
bit faster as well.

- Jacob

max.spicer
2005-08-15, 12:53
Oh yes, you're right (of course). It does take much longer to bring up the results though. I counted about five seconds before they appeared, or is this just my imagination that Default2 was much quicker?

Max


* max.spicer shaped the electrons to say...

>No it isn't. Default requires you to press the Search Music button. I
>don't see how Default could do this instantly as it requires page
>reloads to get new data. I assume that Default2 is doing clever
>things with Javascript and XML to do the search dynamically.

Default doesn't require you to press the Search Music button - it's just
there for backwards compatability with older browsers.

-D
--
<iNoah> kernel's original recipe: 11 secret args and switches

chris
2005-08-16, 14:15
My only problem with default2 is that there is no On/Off control for my player (that I can find). It's there with default