FJAX vs AJAX vs plain page


Recently I came across this page FJAX, and this is what it does….

  • Make HTTP calls
  • Get and parse XML
  • Render stuff

You’d say how different is it from AJAX, Well only in a way it uses a stupid Flash file which does all that.

Well AJAX does the same, but it still does not use any other plugin. Now why on earth a developer would use such a library where he has an added restraint of the browser having a specific plugin (Flash in this case)

People nowdays are getting over the wire with this AJAX thing. No doubt its helping change the format of the Web-based Application, which is turning into a more fancy, jazzy desktop like app. But still we must understand it is HTTP, however you try to build, still it has same limitations that of HTTP.

Consider this screenshot of FJAX.net,

screenshot.png

Look at the loading page…, this all loading is just to grab another XML file that has contents, that is to be displayed for the indexpage. So what these new “AJAX geeks” are doing are making 2-3 more calls for every page, as compared to a plain HTTP page, which would have simply fetched the main page (with its attached images… etc.) and displayed it…

In the application above,

  1. Load the main page (with attached images, files)
  2. Load all the heavy Javascripts…
  3. Load the XML file, that shall deliver the contents
  4. Javascript shall now render the XML-content.

Instead for a plain HTTP page.

  1. Load the main page (with attached images, files)

… thats it.

Luckily I’ve got someone to support my idea, FJAX: Just say no

2 Responses to “FJAX vs AJAX vs plain page”

  1. Tripp Says:

    why are you contradicting yourself? Get all your facts straight. The whole point of FJAX is to not load the heavy Javascript and instead use a much faster flash app to fetch the XML. Also, the page loads faster since you only reload the content and don’t have to reload all the images and nav and everything for each page. There’re a ton of uses take Flickr for example. So, please don’t go bashing things until you get all your facts straight and actually lookinto uses for it instead of shooting it down because you don’t understand it.

  2. Mario Says:

    “why are you contradicting yourself?”

    He is not.

    “The whole point of FJAX is to not load the heavy Javascript and instead use a much faster flash app to fetch the XML”

    JavaScript is natively supported by browsers, and improved on every release.
    Flash depends on a third party plugin which is not even documented because it is a closed-source business.

    Flash is not faster.

    “Also, the page loads faster since you only reload the content and don’t have to reload all the images and nav and everything for each page.”

    With Ajax no need either.

    …cannot use flash pages on my iPhone, Pages using Ajax work perfectly.
    Any questions?

    @Tripp.- flash-boy newbie detected.
    @Author.- Great post… ultra-old but I needed to post.😉
    How sad that there are no more comments.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: