AJAX vs. frames
- Started
- Last post
- 13 Responses
- ukit
What's the best way in today's dev world to incorporate an element that needs to persist from page to page on a site (in this case, it's a music player). Are frames still the way to go for something like this? Or can it be handled by something like Ajax?
Thanks
- jDs0
what dev environment?
- ukit0
Yet to be determined. I'm just wondering, big picture, what are some of the best ways to achive such a thing on a large site that needs to be accessible to many users.
- UndoUndo0
sessions? includes? available through most languages
- ********0
I suppose it does depend on what the actual application will be..
If you wanted a music player that appeared on each page, and that was unaffected by going to different pages, then either use frames, or do the site in Flash..I think ajax is still to modern to be usable in that situation if you want to reach down to NN5, ie4 people, though god-knows why you'd want to.
To my mind its like not building a road somewhere cause it would be too steep for model T cars.
Flash in a frame, it sounds like.
- ukit0
Yes, that's what we're going for here. A music player that plays continuously from page to page. Ajax and frames were the two approaches I could think of (with my limited knowledge of web dev) to achieve this. I guess I'm trying to understand what the strengths and drawbacks of each are, since I know neither is perfect. Ajax is probably less accessible , but don't frames make your site difficult to index?
- ukit0
*bump*
- monNom0
in the ajax vs. frames competition, ajax is hugely more tricky.
if your worried about indexing, I'm sure you can set somethig up on your server that sniffs for the user agent and includes a navigation if it recognizes a bot. or pumps out the pages and nav seperately into frames if it's a browser.
- ukit0
Thanks monNom. Anyone else?
- ********0
what is ajax?
- netbanshee0
A List Apart has a new article up about AJAX. Check it out for a primer.
http://www.alistapart.com/articl…
- - - - -
I'm curious about what kinds of options are available for similar kinds of site functionality as well. I'm not pressing to learn and use AJAX at the moment (though I have to admit it is intriguing) and I don't like relying on a separate frame with the flash plugin in it to deliver content either. Working with a browser/platform sniffer, as mentioned before, is another method but I'd love to here about other possibilities.
- ********0
thanks!
- netbanshee0
*BUMP*
C'mon peeps... drop the gloves and show me what you got.
Any links, elegant solutions, half-baked concepts?
- blackspade0
why not have your audio this way...
http://www2.dilatedpeoples.com/b…
in a pop-up, solves some issues rather than frames. :?