Landing : Athabascau University

Unit Seven Reflection Diary

  • Public
By Jesse McCarthy December 31, 2016 - 9:16pm

Live Site @ ->


Work Competed and Learning Outcomes:

The learning outcome specified for this unit is: “When you have completed this unit, you should be able to use JavaScript to access and use web services for dynamic content (AJAX, JSON, etc.).” I had previously been working with ajax quite a bit in my game to dynamically load HTML menus, high score tables, and the likes.

For this unit, I feel like I can reference that and I’ve also added social media buttons to my learning page. It was extremely simple to accomplish. The social media pages generate content and all that is required is to copy and paste content into the html source.


Rationale for What Has Been Done:

Undertaking this project, I figured it would be significantly more complex to add this functionality, however I am happy that it worked the way it did. It turned out exactly as I had envisioned and am very pleased with the results.

The ajax requests that I had been using previously were thought out for a long time. I originally thought that I could use strictly JQuery to create the menus in my game, but that turned out to be a nightmare, attempting to add and style all elements with JavaScript was not exactly how the system was designed.

The ajax requests made everything extremely simple. I could write plain HTML and then style it using plain CSS, it made everything remarkably simpler. If I hadn’t used this method for creating menus there is a good chance that I would have never created a mysql database to store high scores. It is likely I would have attempted to use cookies instead. Having already worked with ajax get requests, the transition to post methods was smooth, especially with JQuery’s amazingly simplified API.


The Good and The Bad:

Overall, I believe that this Unit was smooth. I cannot think of anything that I would have changed if I had the opportunity to do so.


Site Directory


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.