Landing : Athabascau University

Comp 266 Unit 7 - Using External Data Sources

  • Public
By Charlie December 20, 2017 - 9:52am

Learning Diary (Reflections)


 What I had done for Unit 7 – Using External Data Sources (AJAX, JSON)


1.)  I read and practiced some of the AJAX & JSON tutorials mainly through W3Schools and other high ranking sources.

2.)   Submitted my design idea through the Landing for where I want to apply AJAX...

3.)   Integrated  my code to the Contact page for my web site. Compiled findings, conclusions, and recommendations. Performed the self-test.


  My Website in HTML + CSS + JS + jQuery + AJAX (JSON)

  Unit 7 - Website


 Link to my website:  (you might have to copy link out into browser to view)

AJAX is a developer's dream, because you can:

  • Update a web page without reloading the page
  • Request data from a server - after the page has loaded
  • Receive data from a server - after the page has loaded
  • Send data to a server - in the background


Some of my challenges: 

  • I didn't really have any significant challenges other than at the very start of "getting my feet wet" with AJAX w/JSON.  However, I was able to get a good fundamental understanding after further reading and practising. 

Findings & Recommendations - “Problem” task in AJAX JSON

  • Other than what was mentioned above... "10 things IT needs to know about Ajax":
  1. Ajax is an idea, not an acronym...
  2. It's really all about JavaScript...
  3. XML is not required...
  4. Plan for an increase in HTTP requests...
  5. Optimize Ajax requests carefully...
  6. Acknowledge the two-connection limit...
  7. Watch out for response ordering...
  8. Acknowledge the effects of eliminating "Layer 8" error correction...
  9. Old security threats get a second exposure...
  10. Abide by same origin for your protection...

Read (ref.) more: 


JSON is built on two structures:
A collection of name/value pairs. In various languages, this is realized as an object, record, struct, dictionary, hash table, keyed list, or associative array.
An ordered list of values. In most languages, this is realized as an array, vector, list, or sequence.
Ref the above from the official JSON website: 



I recommend always to read and practice through W3Schools and other reputable sources.  I find for myself, if there's no trial and error, then there is potentially no effective learning...









These comments are moderated. Your comment will not be visible unless accepted by the content owner.

Only simple HTML formatting is allowed and any hyperlinks will be stripped away. If you need to include a URL then please simply type it so that users can copy and paste it if needed.