Unit 5 Learning Diary
Attached is a pdf version of the learning diary for easier readability
During Unit 5, I successfully executed a meticulous process of devising and executing three significant enhancements to my website utilizing JavaScript. Emphasizing the design aspect mentioned in my previous learning diary was incredibly helpful in facilitating a seamless transition from concept to realization. It is worth noting that while incorporating JavaScript functionalities for this unit, I found it necessary to establish a rudimentary backend service for my website. This backend operates by serving an API containing player information which presently exists in handwritten JSON format.
In earlier entries of my learning diary, I elaborated on how each modification directly correlates with and benefits the personas and scenarios outlined during Unit 1. Consequently, it brings me great satisfaction knowing that all these alterations were implemented precisely according to plan.
Learning Outcomes
I achieved the goal of producing logical and maintainable code by adhering to best coding practices. Additionally, I fulfilled the objective of skillfully utilizing programming constructs by incorporating numerous loops and conditional statements, particularly when processing my JSON data. I reached the learning aim of proficiently handling variables, both local and global, as well as arrays, by incorporating them into my work. To simplify repeated tasks, I stored recurring elements in variables. My functions were designed to accept parameters, enhancing their versatility for various applications.
Moreover, I accomplished the learning outcome of employing an extensive array of programming techniques and commands to elevate code efficiency, reusability, and ease of maintenance. By creating highly modular functions and organizing code into separate files, I ensured that related segments were grouped appropriately.
What Went Well
Like I said earlier, I dedicated considerable time to crafting and mapping out my trio of concepts, which set me up to efficiently generate functional code and iteratively improve it. The outcome really pleases me. Thankfully, my prior knowledge of JavaScript meant that I could focus more on executing my plans than on learning new skills.
What I Struggled With
Since I was unable to locate a readily available online API, I endured the tedious task of manually compiling statistics for various player cards. This activity was long and tedious, but as long as it worked out that is what the course is all about. Additionally, to avoid searching for individual images for each card, I temporarily set the graphic link to display the same picture of Kylian Mbappe's card.
What I Would Change
I wish I had commented my code from the beginning as I went along, as I forgot why I did some things as I was revisiting them. I also wish I added more comments throughout. One more thing I wish I would have done is to create the html pages for results and results css during their respective units since I had to add them for this unit to have a page to be able to save the updated data from search_history.
Attached is the zip file of the code having a folder with the backend file called server.js.
The Landing is a social site for Athabasca University staff, students and invited guests. It is a space where they can share, communicate and connect with anyone or everyone.
Unless you are logged in, you will only be able to see the fraction of posts on the site that have been made public. Right now you are not logged in.
If you have an Athabasca University login ID, use your standard username and password to access this site.
We welcome comments on public posts from members of the public. Please note, however, that all comments made on public posts must be moderated by their owners before they become visible on the site. The owner of the post (and no one else) has to do that.
If you want the full range of features and you have a login ID, log in using the links at the top of the page or at https://landing.athabascau.ca/login (logins are secure and encrypted)
Posts made here are the responsibility of their owners and may not reflect the views of Athabasca University.