| Log 1 | Log 2 | Log 3 | Log 4 | | --- | --- | --- | | 100 Days Round 1 | 100 Days Round 2 | 100 Days Round 3 | this log |
This is part of Alexander Kallaway's 100DaysOfCode challenge. More details about the challenge can be found here: 100daysofcode.com.
Commitment: I will code daily for the next 100 days.
Start Date | End Date |
---|---|
October 5, 2018 | - - - |
- Code daily
- Complete Udacity's Grow with Google Challenge Scholarship - Mobile Web Specialist
- Get accepted to the Google Udacity Mobile Web Specialist Nanodegree program
- Successfully complete the Google Udacity Mobile Web Specialist Nanodegree program
- Pass the Microsoft Programming in HTML5 with JavaScript & CSS3 Cert - Exam 70-480
- Pass the Google Mobile Web Specialist Certification exam for Mobile Web Development
Project: Google Udacity Nanodegree (Mobile Web Specialist) Coursework
Progress: Continuing MWS coursework - Client-Server Communications
So, now that I've successfully completed the Nanodegree requirements I've set my sights on taking the Google MWS certification test. In order to be best prepared, I'll complete the remaining coursework first.
HTTP 1.1 deals with the following..
- Request headers
- HTTP Verbs
- Common Response headers
- Performance Basics
Read more: Client-Server Communication: HTTP/1.
Links:
- My Course Notes - Client-Server Communication
- Udacity’s Mobile Web Specialist Nanodegree Program by Google (6 month course)
Project: Google Udacity Nanodegree (Mobile Web Specialist)
Progress: Completed the Restaurant Reviews App - Stage 3 project.
I submitted my project for review and got the results back. It passed with flying colors which made the extra weeks I put into it worth while.
One thing that threw me off though was the first line of the reviewer's feedback, "where he said, "Great attempt". Whad'ya mean "Great attempt?!?".😂😂
It then went on to tell me that I had in fact completed the nanodegree! Whew!😅
See the code notes here: Restaurant Review App - Stage 3: Section 14 Stage 3 Review.
Links:
- My Project Notes - Restaurant Review App - Stage 3
- GitHub Repo - MWS Restaurant Stage 1 - Client App
- GitHub Repo - MWS Restaurant Stage 2 - Server App
- GitHub Repo - MWS Restaurant Stage 3 - Server App with additional Endpoints
- Udacity’s Mobile Web Specialist Nanodegree Program by Google (6 month course)
Project: Google Udacity Nanodegree (Mobile Web Specialist)
Progress: Completed the Restaurant Reviews App - Stage 3 project.
This last part required me to tighten up the performance scores on this app.
I ran the tests from Chrome's DevTools audits panel and did the following to bring the scores up
- Created gulp tasks to inline my js and css
- Reduced image quality (and file size) in my image compression gulp task
The new scores are enough to pass!
See the code notes here: Restaurant Review App - Stage 3: Section 13 Performance Tuning.
Links:
- My Project Notes - Restaurant Review App - Stage 3
- GitHub Repo - MWS Restaurant Stage 1 - Client App
- GitHub Repo - MWS Restaurant Stage 2 - Server App
- GitHub Repo - MWS Restaurant Stage 3 - Server App with additional Endpoints
- Udacity’s Mobile Web Specialist Nanodegree Program by Google (6 month course)
Project: Google Udacity Nanodegree (Mobile Web Specialist)
Progress: Continued the Restaurant Reviews App - Stage 3 project.
I completed the last piece of functionality for this app which is the ability to mark a restaurant as a favorite while the app is offline.
I added the following:
- Set click handlers for the favorite buttons
- Created a function to use Fetch API when updating the online DB
- Added error handling which updates the data locally
- Created code to save all requests when offline and then send to server when connected once again.
See the code notes here: Restaurant Review App - Stage 3: Section 12 Offline Favorites.
Links:
- My Project Notes - Restaurant Review App - Stage 3
- GitHub Repo - MWS Restaurant Stage 1 - Client App
- GitHub Repo - MWS Restaurant Stage 2 - Server App
- GitHub Repo - MWS Restaurant Stage 3 - Server App with additional Endpoints
- Udacity’s Mobile Web Specialist Nanodegree Program by Google (6 month course)
Project: Google Udacity Nanodegree (Mobile Web Specialist)
Progress: Continued the Restaurant Reviews App - Stage 3 project.
There were two places in my app where I was lazily reloading the page in order to redraw the data on the page.
This was clunky and didn't make sense to do since I was using Ajax everywhere else to eliminate round-trips to the server.
See the code notes here: Restaurant Review App - Stage 3: Section 11 Kill Page Refresh.
Links:
- My Project Notes - Restaurant Review App - Stage 3
- GitHub Repo - MWS Restaurant Stage 1 - Client App
- GitHub Repo - MWS Restaurant Stage 2 - Server App
- GitHub Repo - MWS Restaurant Stage 3 - Server App with additional Endpoints
- Udacity’s Mobile Web Specialist Nanodegree Program by Google (6 month course)
Project: Google Udacity Nanodegree (Mobile Web Specialist)
Progress: Continued the Restaurant Reviews App - Stage 3 project.
In this part of my project I finished the offline data processing queue. This is responsible for sending offline review data to the server once connectivity is re-established.
The code does the following:
- On page load it gets the all offline requests as an IDB cursor
- It opens the first request and attempts to POST it with fetch
- If we are offline then it skips to the next and tries again
- Once we do successfully POST we get the resulting record back
- We then delete the offline request from the offline store
- We add the new review record and delete the old record from reviews store
- The add & delete is done in the same transaction so if it fails it rolls back
See the code notes here: Restaurant Review App - Stage 3: Section 10 Post Offline Data.
Links:
- My Project Notes - Restaurant Review App - Stage 3
- GitHub Repo - MWS Restaurant Stage 1 - Client App
- GitHub Repo - MWS Restaurant Stage 2 - Server App
- GitHub Repo - MWS Restaurant Stage 3 - Server App with additional Endpoints
- Udacity’s Mobile Web Specialist Nanodegree Program by Google (6 month course)
Project: Google Udacity Nanodegree (Mobile Web Specialist)
Progress: Created a new GitHub repo for my Round 4 code log.
This now uses a dusky rose theme and has an updated nav which I've migrated over to my previous two logs.
I'm still finishing up my Udacity Mobile Web Specialist Nanodegree...
Hopefully will be done in another week...
Links: My GitHub repo https://github.com/james-priest/100-days-of-code-log-r4