FYREBEAR.c
m


My online sandbox for developing on the web...

FYREBEAR.com Blog


Archive for the ‘Ajax’ Category



Ajax is pretty handy. It’s a great way to dynamically fetch content/data from your site/server on demand using XMLHttpRequest so that it reduces server bandwidth load. That way when viewing content items on the page only that specific content item that is selected is fetched from the server and not the entire page.

The Bear has installed an Ajax Pagination script on the FYREBEAR homepage that he borrowed from DynamicDrive.

This pagination script illustrates a nice way to display multiple pieces of content on one page without the page’s length continously being extended. Also, using this method, instead of an iFrame method, allows the content to inherit the page’s style attributes.

Right now the content items are just static files being fetched, but they could be fetched from a database back-end as well.

• Check it out in action on the FYREBEAR.com homepage.

Javascript is fun. It’s even more fun adding in some AJAX goodness.

Using javascript+AJAX along with Magpie’s XML RSS PHP parser, we have installed a “My-Fyrebear” type application which allows one to add in your own RSS feeds to this page. It’s a great way to aggregate all of your information sources into one place.

Additoinally there is a handy “drag and drop” functionallity to the content modules that allows one to sort/rearrange the page to one’s liking. And the RSS feed selections and sorting are stored in a cookie on one’s machine to remember the changes.

It’s not quite iGoogle, MyYahoo, or Netvibes, but it’s pretty neat nonetheless! Not bad for a Bear!

• Check it out at My.FYREBEAR.com


Flickr Photos

All Purpose Monkey Blog

RSS to JavaScript
 

    Add to netvibes     rss
Print This Page | Bookmark This Page