Web UI: ditch the frames and use ajax

Got an idea? Missing something? Post your feature request here.

Moderator: moderators

Web UI: ditch the frames and use ajax

Postby mancubus220 » Fri Mar 06, 2009 4:43 pm

As a web developer, frames are really frustrating. I can understand why they are used though since it's much easier to implement. I love subsonic and I'd love to see it get better. The web ui would be much more fun if it used ajax to update the page rather than having to refresh whenever you clicked a new folder or search or saving things to playlists, etc. Understandably, this is a rather large request. I've downloaded the source code, so if I get the time I'll see if I can help out with this :D
mancubus220
 
Posts: 7
Joined: Fri Mar 06, 2009 3:51 pm

Postby mistaox » Fri Mar 06, 2009 9:14 pm

Flash would be even better.
mistaox
 
Posts: 54
Joined: Sat Dec 09, 2006 7:36 am

Postby sindre_mehus » Sun Mar 08, 2009 8:41 am

Yeah, what can I say. If I were to start developing Subsonic now, I would probably select a completely different technology...
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby matthew » Tue Mar 10, 2009 1:42 pm

I would love to see Subsonic take the next step and start using AJAX :)
matthew
 
Posts: 59
Joined: Thu Jan 25, 2007 9:59 pm
Location: USA - Glendora, Californina

Postby awpti » Wed Mar 11, 2009 4:00 am

Such a change would probably require a SIGNIFICANT recoding effort on sindre's part.

http://yaass-project.sourceforge.net/

That one uses a Flash/FLEX interface, but it's clunky, buggy as hell and deep in alpha.

Subsonic still wins hands down for capability. Would a more modern face help subsonic? Yes.

Would it make much a difference? Not really, when it comes down to it. SS works as it is and it's stable.
awpti
 
Posts: 15
Joined: Thu Jan 15, 2009 5:53 am
Location: Phoenix, AZ

Postby mancubus220 » Mon Mar 16, 2009 3:25 pm

My suggestion wasn't merely for aesthetic reasons. Using AJAX, especially with JSON, would drastically increase the speed and responsiveness of the interface. It may require a lot of extra coding effort, but it is almost entirely "view"-related code, so no stability on the backend would have to be sacrificed. When I get the chance, I'm going to look through the code to see how difficult it'd be.
mancubus220
 
Posts: 7
Joined: Fri Mar 06, 2009 3:51 pm

Postby sindre_mehus » Mon Mar 16, 2009 3:49 pm

Just for the record - some parts of Subsonic is already using AJAX:

o The playlist
o The tag editor
o The "Now playing" sidebar
o The lyrics popup
o The cover-art lookup
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby zeekay » Wed Mar 25, 2009 3:41 pm

One of the nice benefits of using frames is that you can browse while listening to music. If you could somehow use ajax for the navigation to prevent reloading the web player during browsing/selecting different albums/songs that would be extremely impressive, but as it stands the frames work wonderfully, and in all honesty, for such a huge amount of work there would need to be some sort of return. For private use, there is no real advantage to ditching the frames, as they are compatible with every popular browser out there.

Adding a bit more ajax to smooth the browsing experience could be beneficial in theory...

All things considered I think the interface works great!
zeekay
 
Posts: 63
Joined: Sun Aug 03, 2008 6:33 pm

Postby agroni1888 » Sat Mar 28, 2009 10:44 pm

I have no clue what you have about the frames...sure it isnt used anymore today...but in subsonic it fits perfect and for all actual browsers they are pretty ok too....

edit:

lol didnt read zeekays post, I totally agree :)
agroni1888
 
Posts: 31
Joined: Thu Feb 19, 2009 12:09 pm

Easy Ajax

Postby cwilliams » Tue Apr 07, 2009 12:34 am

As a web developer, was just going to point out Ajaxify for jQuery to you Sindre:

http://maxblog.me/ajaxify/

Makes adding ajax so easy it hurts.
cwilliams
 
Posts: 30
Joined: Tue Apr 07, 2009 12:28 am

Postby mason » Tue Apr 07, 2009 12:16 pm

first is would congrat you on that nice app... im right now in the process migrating from jinzora (since there isn't much further development and subsonic is faster with a big filebase!).

only thing that is naggin me is that index list on the left side, thank god its not reloaded on every click ... but with more than 2500 artits, the list takes a while to populate. i would hope that with ajax this could be a little more optimized. or are there any other speed tweaks i can try? so +1 for ajax ;)
User avatar
mason
 
Posts: 29
Joined: Tue Apr 07, 2009 12:13 pm

Postby cridenour » Wed Apr 08, 2009 4:04 am

In terms of playing, it is possible to keep the player going while browsing (see thesixtyone.com)

I think this would be a great improvement to the app. I am very impressed so far. You might also want to work with ubuntu maintainers to get this added to the repo!
cridenour
 
Posts: 1
Joined: Wed Apr 08, 2009 4:02 am

Postby sindre_mehus » Sun Apr 12, 2009 8:50 pm

mason wrote:only thing that is naggin me is that index list on the left side, thank god its not reloaded on every click ... but with more than 2500 artits, the list takes a while to populate. i would hope that with ajax this could be a little more optimized. or are there any other speed tweaks i can try? so +1 for ajax ;)


This post might be of interest to you: http://forum.subsonic.org/forum/viewtopic.php?t=1558
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 5 guests