Posts

Showing posts from October, 2017
Image
Blog week 13 The very last week of DECO1800, everyone has been super busy and we divided our project part C submission into two parts — documentation and website construction. Personally, i am mainly responsible for website construction and small part of documentation.   Website construction: for the final week, what i did is mostly debugging and another interactive user instruction pop-up page. Debugging ensured retrieving data from databases remain normal and group zone serve side working fine. And for the interactive user instruction thing, it took me a whole night to hard code it.   What i originally thought is use screen navigation instruction like click on a button and the instruction continue, focus move from one spot to another. However, after discussing with tutors, i was told that i must use third party plugging to implement it, which is not preferred. So i changed my design idea to use image to illustrate how to navigate and use the website.   S...
Image
Blog week 12 This week is the VERY LAST WEEK before the website project is due. After last week's massive construction, our basic core technical part is done and we are building upon the basic core code. I firstly made a list of what we should be doing, found solutions to each of them and ticked them off one by one. The list includes toggle function of the icon (info from database), get modal button working on each info window, modal pop-up window content design, database retrieved info extension and group online zone http request fix. And the biggest technical problem i met this week is the info integration with pop-up window. There is a on click event function with the for loop but the for loop number appeared to be meaningless in the inner function. And this problem trapped me for days.  And i eventually solved this problem by creating a const (not var) in the for loop before function and pass the const into this function. Everything just worked out!  ...
Image
Blog week 11 This week is the last but one week before the final project due, we have been super busy with the coding and construction of the website. And i, personally, as the guy in charge of all the core tech issues, was so dreadful building it and debugging. It is really hard debugging all those code, but at the same time, I believe I learned most as well. After succeed in pulling all the data from four databases, i am now trying to merge all four different scripts into one. It looks and sounds pretty easy, like just copy and paste all the code into one file. However, things went wrong when they are all together. The first problem i met was that two databases were loaded when the page is first loaded, and the third database will be loaded if the page is refreshed again, and so is the fourth database. And the console keeps giving me the error that null value cannot be proceed, which is a total nonsense as when i console.log the data in console, none of they are null and is bein...
Image
Blog week 10 With the help from tutor, we successfully made it through some of the hardest technical problems. We fixed the problem that we retrieved data from database and stored it in the local storage but cant display them properly. And the problem turned out to be the text in the info windows kept being overwritten by the coming info tuple, so each time what we see is just the very last info tuple. After fixing that, i made a few changes so that the script can retrieve data from all different databases and store them in local storage. As can be seen from the code screen shot, what i did was four different script that can retrieve the data from different databases SEPARATELY. And i created a new script that can combine the four separate script. And this is my new challenge that i'll be working on for the next week. Reflection:  All the work is being undertaking normally and at a normal pace. The only problem is that coding has been really difficult without instruct...
Image
Blog week 9 This has been a stressful week, we have been working on some of our website's biggest tech difficulties. We tried to seek help from piazza and tutor, which is useful but not as efficient. This made us realised that our own knowledge storage is far from enough. This is our basic home page structure, which is quite successfully implemented. We have already worked out the photography database and we still need to work on the other three databases. We made the info-window worked! This has been the hardest part of the whole website and it took me four hours to make it work. Together with the help from tutor, we successfully retrieved data from databases and stored them in local storage, which is printed in console to double-prove its success-retrieve. Later, we were working on the accurate display of each info tuple in terms of each info dot point. However, we can't make it working (it only shows one specific tuple even if we click on other dot points), and our ...