How-To On Ajax Code To Show Movies and Slide Shows 73
An anonymous reader writes "Sites like Flikr and YouTube show just the tip of the full potential for media on the Web. An IBM DeveloperWorks article provides some easy implementations of video and image browsing that you can use in your own project. Learn how to combine media with technologies such as PHP and Ajax to create a compelling experience. All Sample code is made available, and if you're into Mashups the site's Mashup resource space should have everything you need to create a Mashup of your own."
Confusing parser error... (Score:1, Redundant)
"There will be a how-to on Ajax code. The how-to will show movies and slide shows."
It was like, that's nice... a well-made how-to I guess... But this is a how-to that tells you how to write AJAX code, such that said AJAX code will be able to show movies and slide shows...
Re: (Score:3, Insightful)
Great, more Ajax (Score:5, Insightful)
We really need to get back to simple, clean cut pages that display the information and resources that your site is offering. The trend towards flashier
page is rapidly decreasing the utility of the web while increasing overhead and security issues. Simple can be beautiful, and it is almost always useful.
Re: (Score:3, Insightful)
Re:Great, more Ajax (Score:5, Insightful)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
It runs on Windows XP, Vista and Mac OS X. The Linux version is an open source effort.
You do understand this is a Microsoft product and so is subject to 'no business case' discontinuation of versions for Mac OS X and Windows XP. Yes, Flex is not as good as Silverlight but at least Abobe does not have a vested interest in discontinuing versions of their product in an attempt to hurt competitors.
]{
Re: (Score:1)
In this context, I totally agree the the GP. Flickr and YouTube don't show the tip of the full potential, the show a reasonable usage of Ajax, and that's why they are successfull. Add more Ajax, and these sites will become less usable.
Re: (Score:1, Interesting)
Somewhat... Yes Ajax can make a web page feel more like a computer program. The problem with Ajax is that it's based off of JavaScript, which is clunky, bloated, and insecure. The fact is that you can deliver these web applications in a much faster way. I know I will get criticized, modded down or whatever, but that is one of the huge advantages of .NET. You can create these interactive web pages using something like C#. If you are looking for something not Microsoft, yo
two words (Score:3, Informative)
it might surprise you that when you're using C# for creating these interactive web pages, that it's just acting as a javascript 'translator' in the sense that you do end up creating and sending javascript to the the client browser. before you dismiss javascript as bloated and insecure, and attribute all the supha cool interactivity to
and never, ever, suggest JSP or C# as a replacement for javascript when talking about client (browser)
Re: (Score:2)
Any developer thats been working with
On top of that,
Re: (Score:1)
I don't agree with you on one single point here. There is nothing insecure about JavaScript. The insecurity is in your web app running on the server, your browser's JavaScript interpreter, or the OS you are using. I don't even know what clunky means. Maybe what you are trying to say is that JavaScript is slow. Well, it's not that slow. Browser rendering is slow. That is pretty much what causes JavaSc
Re: (Score:1)
Re: (Score:1)
Re: (Score:2)
The problem with Ajax is that it's based off of JavaScript, which is clunky, bloated, and insecure
I've been using JavaScript a bit recently for a project that is not related to the web. JavaScript is actually a very nice language to use. It's a clean prototype-based OO language. It's not quite as clean as Self, and the syntax is a little less readable, but it's close. It has all of the standard things you'd want from a language (introspection, closures, etc.) and all it really lacks is a clean Lisp-style lambda operation (you can force a beta reduction via a function call returning a closure, but i
Re:Great, more Ajax (Score:4, Insightful)
A site designed around the notion that as long as "Firefox and IE" can morph the bootstrap HTML page through an infinite number of morphs to something completely different, then the site is good. Those kinds of sites are neigh impossible to use via Wget, perl, lynx or any client not having:
1) A Javascript engine
2) A DOM engine
3) a special variant of A and B combined in such a way that they replicate the same quirks (attributes and behavior) inherent in IE and Mozilla.
So to sum it up, I don't think anyone has anything negative to say about requesting data fragments as an alternative to doing full posts/gets to the server. It's when people are being forced to one of a select few specific applications in order to use the web that irritation starts surfacing.
Re: (Score:2, Insightful)
Re: (Score:1)
It's all about exploiting the browser a little more, handing some of the workload over to the client.
AJAX also provides the ability for offline-mode applications (see Google Gea
Re: (Score:1, Insightful)
Data and layout separation are very important, and this is often overlooked with Ajax/Javascript code. If Ajax
Re: (Score:1)
Re: (Score:1, Insightful)
Re: (Score:2)
Re: (Score:3)
Like anything else Ajax can be abused, but no one can refute that it powers many very useful, successful, and popular sites.
Get off my lawn! (Score:1)
Re: (Score:1)
Re: (Score:2)
Which is why I hate web-based slide shows. They either switch the slides too fast, or take too long to read.
Re: (Score:1)
Keep It Simple Straightforward (Stupid!)
You are a geezer (Score:1)
Re: (Score:1)
Hmmm, I agree with you completely when it comes to the web. However, I think Ajax has improved the INTERNAL user experience where I work (where everyone is browsing using the same environment). Ajax has made applications more responsive and more like standard Windows apps. It's not about flash - it's about avoiding unnecessary postbacks ;)
So far the experience has been pleasant
Re: (Score:1)
Re: (Score:2)
Earlier today I went to get an update to Process Explorer from Microsoft (http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/ProcessExplorer.mspx), and noticed a link to a Video by Mark Russinovich (http://www.microsoft.com/emea/spotlight/Mark_Russinovich_Advanced_Malware_Cleaning.aspx). To watch this movie you need to install Microsoft's propr
Damn. (Score:4, Funny)
Putting things in prospective (Score:2, Informative)
Ajax is one single function: XMLHttpRequest, a extension to the browser DOM invented by MS. In other words its a propierty hack on the browser API, nothing more.
Re:Putting things in prospective (Score:5, Informative)
"proprietary hack"? Not for long:
http://www.w3.org/TR/XMLHttpRequest/ [w3.org]
Re: (Score:1, Funny)
For those of you that think that Ajax is the new next generation platform, let's just things in prospective.
Ajax is one single function: XMLHttpRequest, a extension to the browser DOM invented by MS. In other words its a propierty hack on the browser API, nothing more.
And I thought Ajax was for cleaning toilets.
Re: (Score:2)
Re: (Score:2)
Both Ajaxes (Ajaxen?) in that book kicked serious ass, and deserve more recognition.
Re: (Score:2)
Re: (Score:2)
I also used to balk at it - in much the same way as most of you also balk at web2.0 - but I feel it's helped inspire great design concepts and propel the development of such Javascript projects as Prototype, Mootools, Dojo, and the stalled-but-promising TIBET from Technical Persu
Re: (Score:2)
In the old days we'd use javascript to dynamically create an iframe on the client, set the onload callback and src attribute, and got whatever data we wanted. We liked it, too.
Gahhh! (Score:1)
Re: (Score:2)
Re: (Score:2)
<shrug/>
Re: (Score:1)
Can you stop using that word please? (Score:2)
And there's no need to capitalise it.
Re: (Score:1)
Font popu menu in aja* (Score:1)
Not knowing how to _safely_ get a font menu appropriate for the user's machine is one reason I find myself trying to use Java instead of Javascript.
With Javascript, the browser presents a runtime which includes a "pretty decent" default event-handling and printing environment, whereas with Java I find myself re-building the event-handling from something that is anything but scratch, and a bit contrary to my ex
not the whole page (Score:1)
Just the bingo game part of the page. Besides, most browsers, the average user doesn't know where to get at the font settings, and the settings are really designed more as preferences than for trying several different fonts to see which looks like it will print up best.
Compelling, indeed (Score:2, Insightful)
Re: (Score:1)
ajax (Score:2)
Then there were exploits based around iframes and they became a dirty word, although the exploit was mainly one of a malicious phishing style, where the site appeared to be 1 thing but the content was coming from elsewhere. As long as all the content is coming from the same server,
Why not improve the slide show? (Score:1)
http://www.scriptio.us/slides/ [scriptio.us]
The Ajax-based library is open source, and easier and cheaper than Flash development. Since you don't need Flash, it also works on iPhones/iPodTouch and is not thwarted by Flash-blockers.
http://www.scriptio.us/ [scriptio.us]
Disclaimer: I wrote it and put this library in the public domain.
Matt Clark
Enough ajax talk already (Score:1)
I liken ajax to any other browser markup... it's nothing fancier than knowing how to use a <div> tag or knowing how to create new DOM elements dynamically. We don't see articles about how to use divs, so why do we keep getting articles on how to use XMLHttpRequest? XHR is just another tool we can use; there is no big mystery or learning curve to using it. It's simple, has limited functionality, and takes -- at maximum -- a couple of hours to master.
Learn to use XMLHttpRequest. Learn how to manipulat