Ajax and the Ken Burns Effect
An anonymous reader writes "IBM DeveloperWorks has an interesting project posted that shows how to design a client-side slide show using the 'Ken Burns Effect.' From the article: 'If the Web 2.0 revolution has one buzzword, it's Asynchronous JavaScript and XML (Ajax). [...] Here, you discover how to build XML data sources for Ajax, request XML data from the client, and then dynamically create and animate HTML elements with that XML.'"
"In his documentaries, Burns often gives life to still photographs by slowly zooming-in on subjects of interest and panning from one subject to another. For example, in a photograph of a baseball team, he might slowly pan across the faces of the players and come to a rest on the player the narrator is discussing. ... This technique came to be known as the Ken Burns Effect, even though he did not originate the technique, and has become a staple of documentaries, slide shows, presentations, and even screen savers."
Ken Burns effect in Ajax: Use good ole DHTML and XML to whip stuff around on your screen. Or as the link says "I animate the images with random slow moves, zooms, and fades to give a pleasing version of the Ken Burns Effect without having to download Macromedia® Flash or any other heavyweight animation tools."
Funnypics
It's Exxxcellent.
The use of AJAX technique in that example is spurious, at best. It's almost sad, really, since that's probably the only reason this article was accepted.
Slashdot - where whining about luck is the new way to make the world you want.
Yes, AJAX is great. Of course, the XML bit of it gets in the way, it's simpler to just grab the appropriate HTML or Javascript code directly from the server. Why write something that outputs in XML, then write client-side Javascript to re-interpret it and run javascript code or create HTML? XML is just a complication for most tasks.
Speak before you think
I still definitely refrain from Ajax like hell. The concept of delivering the load to client's computer whereas being subject to limitations of the visitor pc, and the risk of not being able to deliver the content as wanted or even at all, is one too big to take. Processing everything server side, and printing out just plain old HTML formatted result to a client pc, thus bypassing all overzealous anti-virus, privacy, anti-spyware and security software and any limitation the client pc has, is the surest thing to do, dont you think ?
Read radical news here
Where are the sepia tones, jazz soundtrack, and pedantic voiceover?
Tom
Innovation makes enemies of all those who prospered under the old regime... -- Machiavelli
Ken Burns effect? What, it takes 10 hours to get through the thing?
...Web 2.0 is a buzzword itself. I've seen an article that showed that many of the "Web 2.0" technologies are largely older technologies that have been renamed and rehyped, this time around, they took hold.
This is poor advice. First you GET. Did you even look at the article?
Alan
Actually, Ken Burns has a wealth of material to work with, but none of it moves. He scowers the public records, historical accounts, and personal diaries to find these very insightful, personal accounts that really bring to life a time before universal capture of moving images. He scans and pans over static images to create a backdrop for what is essentially a book on tape. He does an excellent job considering the lack of movies and video, but not for lack of material.
I've used Ajax a bit to develop an enterprise application and it just tends to turn into one big mess (perhaps by my own fault but nevertheless ;) ). Is there a completely object-oriented Ajax library out there because this would significantly improve the usability of ajax.
There should be a "-1:Groupthink"
Render the page server side as an image? So you presume the client has image capability?
I think that for to long we have tried to include everyone. Bending over backwards to support crap browsers with broken functions just to make sure nobody was left behind. Well fuck it. At a given point you must just be able to say, "upgrade or our site won't run".
If you don't the price is going to be that other people can move ahead and use new technologies while you are stuck with an ever dwindling but always present group of people who still use the same software from a decade ago.
Ask yourselve if this is normal in the real world.
Old cars can't run on modern petrol. Yet how many gas stations keep an old pump around for cars from before WW2? Try to get some polaroid film from your average camera store. A lp player from a highstreet electronics store.
Get the picture? So why on earth are we still worried about people using browsers 2 generations out of date.
MMO Quests are like orgasms:
You may solo them, I prefer them in a group.
First, I will say this is a pretty slick piece of work. But the actual rendering (download the example and give it a shot) is nowhere near as smooth as what can be accomplished with an iPhoto slideshow, or with Flash.
I'd guess this is due to inefficiencies in the browser itself. I've seen similar issues when I've played around with animating multiple text objects (moving, resizing, and changing opacity) in the past.
#DeleteChrome
Now here's a good Flash animation. Try doing that with "Web 2.0".
This is why Gmail has an alternative to the Ajax interface , and you can switck to HTML mode , and it just removes the AJAX dependant features :e r=15049)
* Filter creation
* Settings (Including Forwarding and POP)
* Spell checker
* Keyboard shortcuts
* Address auto-complete
(from http://mail.google.com/support/bin/answer.py?answ
Google really sets a fine example here by letting users choose what kind of interface they prefer , even though they could easily just ignore these users, as I personaly dont know anyone that uses this feature . Making a dual interface for AJAX applications on all these fluffy Web2.0 sites is a good idea , specially for mobile/light clients like that 100$ laptop
My Starcraft 2 Blog
it's tough to show you what this looks like in a browser, when i'm plainly viewing it... WITH A BROWSER?
wtf?
This comment is fully compliant with RFC 527.
In practice, AJAX means Asynchronous JavaScript And XMLHttpRequest. Nothing in the XMLHttpRequest object's interface requires that the retrieved data be XML; it could be in other notations such as CSV or JSON.
I don't get it, why do they fully detail a web cool app without a live demo??
Are there any examples of this in action?
"Enjoy what you're doing! If it becomes drudgery, you're doing it wrong!" - Jim Butterfield
The Ken Burns effect was a term coined by Steve jobs with iphoto was launched. The Pan and Scan effect as it is properly called has well been around long before Ken used it. We just associate it with him because most of his Documentaries are about subjects that had only or mostly still images to use in the show. I am Highly amussed now that a Purly Steveism is not a main stream term. If you can show me a use of Ken Burns Effect prior to iPhoto please link me up.
OMG Ponies!!! with Glitter!!!! I miss Pink
They're onto something here, but they botch a very important step: what they do with the XML once it's returned. Instead of generating the HTML through Javascript as they do, it makes much more sense to use XML transformations.
I've taken the dive into Ajax recently to do dynamic in-page searching. For a web-app I develop for my work, on a particular page the user needs to select a client (from the thousands we have in our database). I have a spot on the page where they can provide search criteria for the client they want to select. I perform the search with Ajax, display the results, and the user selects which client they want to pick.
I've found the the step of displaying the results can be slowest step. At first, I had the Ajax function return a JSON associative array containing the data. I would then loop through it and create the HTML I needed through Javascript (much as they do in the linked example).
However, if something along the lines of hundreds of records were returned, the client's browser would freeze for a period of time (depending on the performance of the client's machine) while generating that HTML. This became unacceptable.
The superior way to display the results is with XML transformations. Beleive me, it's a monumental difference, and if you're doing something like I was, you should look into it. Have the Ajax function return XML, then use an XSLT style sheet to transform those results into the HTML you want to display. It's super fast, and worth the trouble.
Everyone Hates Javascript, no one here would ever admit to allowing javascript run on their browsers due to the infinite number of security problems it creates ... or so says nearly everyone who has posted on this website in the last few years.
... rename it as AJAX ... suddenly its all good.
We've read this a thousand times in a thousand stories, only fools let javascript operate despite all the incredible things it can do.
BUT
What a bunch of buzzword suckers you all are.
AJAX is nothing new, its just a name for using a certain javascript technique.
George Bush + Linux = "I will not let information get in the way of the fight against Windows"
You know what..i like the fucking flicker. i want ajax with flicker substitute. How else am i going to enjoy bashing the refresh button when a website is so god damn infuriating?
Ken Burns didn't.
This is the animated equivalent of chartjunk. It does not improve a bar chart to make the bars look like Cuisinaire rods instead of rectangles. It does not improve a slide show to move and zoom the pictures in random directions.
This is a silly demonstration of technology for technology's sake.
"How to Do Nothing," kids activities, back in print!
...is what happens with al the people who actually need static content to particpate in this supposedly improved New Web Order.
.com (they want it all ASP.NET 2.0-ified) for a fairly large corp and 508 compliance is a pretty big deal...and truthfully it should be. We talk about wheelchair ramps and other physical accomodations, and even computer accessibility, but AJAX is circumventing our current accessibility model.
Think about it from the perspective of a blind man. His screen reader presents the content to him. He makes a choice or otherwise interacts with it. AJAX jumps in and dynamically changes a bit in the middle of the page. Now...how does he know it was changed? Answer? He doesn't. He's excluded by default from this whole "Web 2.0" thing.
I'm not interested in bringing everyone's experience down to the lowest common denominator, but it's getting kinda bad for people who need 508 compliance just to be a part of this great new medium.
If it were some remote corner of the web, I'd keep my mouth shut, but as more sites move to AJAX content, they cease being 508 compliant. And this is a very recent phenomena. Until AJAX (for the most part), the web was essentially static. Changes to a page initiated a postback event and the screen reader was thus informed that a change had occured. Not so anymore.
This was sort brought to my attention recently as I am redoing a
We need to either drastically improve the screen reader technology or make ourselves more aware of the poeple we exclude with these "advances".
Disclaimer: Yes, I know that "Web 2.0" is not directly about AJAX but rather about collaboration, but AJAX is the preferred technology used to implement said collaboration.
Tom Caudron
http://tom.digitalelite.com/
-Tom
This is a troll? It's a joke, you morons. The "Ken Burns Effect" became famous when Ken Burns directed The Civil War for PBS. To think that I used to come to slashdot for the intellectual stimulation. It's like most of the smart people have left. Yeah, the curve has moved so much that I'm one of the smart ones now. Freakin' idiots.
It's not offtopic, dumbass. It's orthogonal.
You're still not understanding what AJAX is. 99% of the processing load is still done by the server. All AJAX does is manipulate/update the user interface asynchronously instead of having to refresh each page. AJAX does not shift the server load to the client. I'd advise you to read the wikipedia entry on AJAX or TFA to get a better understanding of what AJAX is. These are user-interface enhancements, not a load-balancing/distributing strategy.