Deconstructing AJAX

by Emmanuel D. on August 28, 2011

AjaxWe often wonder about the big fuzz of the AJAX technology and it simplifies work on our Network Solutions sites but most often we also scratches ahead what exactly AJAX is made of and made for.

AJAX stands for Asynchronous JavaScript and XML. The term was coined for AJAX platform is the product of different technologies and the prominent of it were the JavaScript and XML. Si if that’s the case then why not just use JavaScript or XML? That would be a lot easier. I also ask that question when I was in College and my strong feat was on JavaScript. Our web instructor at that time told me that AJAX is not a single stuff and using it would mean handful of web stuffs are at your disposal.

I have been an IT instructor and a web specialist and indeed AJAX is not just a single technology and also more than a handful of web technologies. It actually incorporates the following web platforms to come up a more robust yet simple web frame work:

  • XHTML for the markup of web pages
  • Cascading Style Sheet or CSS
  • DOM / Dynamic Display and Interaction
  • XML / Data Manipulation
  • XML and HTTP to provide Data Retrieval
  • and of course, JavaScript as the base foundation to support all of them.
To sum all these up, My definition of AJAX is a web framework that allows you to retrieve data from a website which not requires the webpage to refresh everything. It just pitches to and fro the content that you want without refreshing the other contents.
Not clear enough Dummy? … I’ll deconstruct it more…
Here is an example, you went to a website where it asks you to fill up a form then ask you to hit submit when you are done, in the 90′s web architecture using JavaScript, the server will load the HTML and the JavaScript which holds the commands or codes for the submit button. When you click submit, the data you entered will be sent to the server and when you retrieve the data back, the server will load you the data you wanted and not requiring the entire page including the HTML and its images to load again or refresh, which makes it faster. Now, way back 90′s, the web architecture will require to load both JavaScript and HTML to load everything including the other contents together with the data you want to retrieve. This makes the process slower and using AJAX solves this archaic hassle.
Clear enough? To end this lengthy blog of mine, I want to point out that Django is AJAX based and that should be another reason for you to use and shift to Django framework – faster loading of data and better data retrieval and manipulation.
It’s all about the DATA in Django and thanks to AJAX we can utilize it fully. And also thanks to my expensive coffee I was able to be stay awake and deconstruct AJAX.

{ 0 comments }

Django versus Ruby on Rails

July 26, 2011

There’s always been a debate between which is better to use, Django or Ruby on Rails. Although, the two are pretty much different with each other, their similarity is visible and comparing the two is inevitable.  Before we declare a winner between Django and Ruby on Rails, let’s first know the two platform better (I tried them [...]

Read the full article →

Django over Java-based Environment?

July 9, 2011

Python is the best core framework of Django. It’s like coffee and creamer together but some developers specializing in Java platforms prefers a framework that is also scalable in Java environment. There is actually a platform built for Java developers who wanted to use Django as its CMS and its called Jython. A Jython is [...]

Read the full article →

What to do when pip does not install latest version

June 17, 2011
Thumbnail image for What to do when pip does not install latest version

I was trying to pip upgrade django in on my development box. Imagine my confusion when pip install django –upgrade upgraded my 1.3 alpha 1 version to version 1.2.3, breaking all my 1.3 specific code. There seems to be an issue with pointers in the virtual environment build/ directory. To fix the issue, all you [...]

Read the full article →

Best Domain and Hosting Deals

May 31, 2011

I found some GoDaddy coupon codes and I figured this would be time to tackle a question we get from time to time: People want to know who we use for our domain and hosting. Even with Django you need hosting to store your files and images. We go with GoDaddy, we’ve used a few [...]

Read the full article →

Django’s 1.3 name is WordPress and WordPress’ 3.1 name is Django

March 9, 2011

Confusing? You bet. Actually, WordPress started it. When weeks ago they announced that 3.1 had been released and they named it “Django” in honor of the jazz guitarist Django Reinhardt and weeks followed, Django named their 1.3 release “WordPress”. The first time I saw the news in my facebook account that wordpress named their latest [...]

Read the full article →

Add Flash To Your Django Site Instantly

January 23, 2011

You can now make your Django-based CMS and use a Network solutions coupon code to get started and make a website flashy and trendy by using the Stalward – Piecemaker extension. Django is also packed now with good and nifty extensions for all your needs like Flash animations and even action scripts. The Stalwart – [...]

Read the full article →

What is a TinyMCE?

November 25, 2010

You probably have encountered the term TinyMCE when using Django or other CMS or you probably have use it but just don’t know what it is.. Well, TinyMCE is s a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL by Moxiecode Systems AB. It has the ability to [...]

Read the full article →

How to Display Django version numbers in template

November 10, 2010

If you are using a template in Django and you want to show what version of Django you are using in your website, you can use this code: In the ile context_processors.py add this code: import sys import django def DjangoVersionContextProcessor(request):     one, two, three, four, five = django.VERSION     return {“DJANGO_VERSION”: “%s.%s.%s” [...]

Read the full article →

Django and Google App Engine Working Together

October 21, 2010

One of our main concern when a new WEB framework or CMS is its compatibility issues on leading app engine like the Google App. As a web developer and CMS enthusiast, i personally always make sure that the new CMS I am using is compatible with Google App Engine. Well its a good news for [...]

Read the full article →