Home arrow JavaScript arrow Ajax Image Requests: Progresive Enhancement Techniques
JAVASCRIPT

Ajax Image Requests: Progresive Enhancement Techniques


In this third part of a series, I will show you how to build a revamped version of the image gallery created in earlier tutorials. This time it combines the functionality of Progressive Enhancement, Ajax and PHP to fetch images from the web server.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 1
July 14, 2010
TABLE OF CONTENTS:
  1. · Ajax Image Requests: Progresive Enhancement Techniques
  2. · Review: building a basic image gallery with jQuery
  3. · Fetching images with PHP and Ajax
  4. · Adding the previous jQuery snippet to a web page

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Ajax Image Requests: Progresive Enhancement Techniques
(Page 1 of 4 )

As you’ll surely know, Progressive Enhancement (PE) is a powerful approach which, when used cleverly, allows you to develop more accessible and usable websites. It’s quite possible, however, that you have a solid background in the theoretical concepts that surround the application of PE, but still don’t know how to use this paradigm in some practical, real-world situations. If that’s your situation, then I suggest you take a look at this article series. In its parts you’ll learn how to take advantage of the benefits offered by PE when building some typical web programs, including dynamic image galleries and drop-down menus, form validators and Ajax-driven applications.

And now that you've been introduced to the main goal of this series, it’s time to quickly review the topics that were discussed in the previous chapter. In that part of the series I developed a basic image gallery, whose behavioral layer (or in other words, the gallery’s enhanced version) was implemented by using jQuery, which made implementation an extremely simple process. 

Of course, the most interesting facet of this sample gallery was its ability to remain entirely functional, regardless of whether JavaScript was enabled or disabled on the browser, thanks to the use of PE during its construction. In addition, it’s fair to note that the images that comprised the gallery were displayed through regular GET HTTP requests, which is perfectly valid. It’d be useful to demonstrate, at least for educational purposes, how to request the images by using Ajax and PHP, while keeping the gallery’s core functionality untouched.

That’s precisely what I plan to demonstrate in this third episode of the series. This will give you another example that shows how to use PE in a realistic situation. Ready to learn how to combine PE, Ajax and PHP in one single web application? Then begin reading right now!


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- More Top jQuery Tutorials for Beginners
- More Top jQuery Plugins for Menus
- Top jQuery Tutorials for Beginners
- New UI Framework and SDK for JavaScript Rele...
- JavaScript OpenPGP Tool, Node.js 0.6.3 Avail...
- Yahoo Releases Cocktails Language and Develo...
- Customizing jQuery Slideshows: Dynamic Contr...
- Customizing jQuery Slideshows: the animate()...
- Customizing jQuery Slideshows: slideUp() and...
- Customizing jQuery Slideshows: hide() and sh...
- Web Workers: Performing Calculations in Para...
- More Top JavaScript Frameworks and Libraries
- More Dynamic jQuery Styling Techniques
- The Top JavaScript Libraries
- The Top JavaScript Frameworks

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 3 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials