Day 01 - 01-13-20 - 8 hrs, 40 mins
- Added week 20 pages and updated index and roadmap pages. Updated notes to reflect weekened modifications.
- jQuery ajax brush up then PHP practice with, submitting customer ID via form to PHP via ajax, then populating seperate customer update form with default values via response
- Pushed changes to prod, but was getting 500 error on 'get_customer.php' ajax request. Troubleshoot until released had changed column names on localhost dev env DB but not prod DB, hence why query failing. Updated Prod DB on webserver.
Major Dental Work
- Took time off studying before/after work while recovering.
Day 02 - 01-20-20 - 4 hrs, 7 mins
- More practice w/ PHP cookies, setting, updating, etc.
- Adding cookies to PHP lead to nginx 502 error: upstream sent too big header, which took awhile to troubleshoot, leading to increasing PHP fastcgi_buffers and fastcgi_buffers_size for PHP socket in sites-available.
Day 03 - 01-21-20 - 6 hrs, 43 mins
- Study on PHP HTTP authentication and proper password hashing for DB storage.
- User addition. Creation of user table and authentication checks, with hased passwords stored in DB.
Day 04 - 01-22-20 - 6 hrs, 5 mins
- Completion of user authentication additions, with 12H login cookie on successful auth or new user creation
Day 05 - 01-23-20 - 1 hr, 13 mins
- Read through "Python Crash Course" chapter 4 (Working with Lists and chapter 5 If Statements for material not covered in already read docs
- More practice with for loop, range(), continue, break, pause, if, elif, else, comparison operators, and logical operators and, or, in
Day 06 - 01-24-20 - 47 mins
- Formatted work done the last few days for dev blog display and added to website
Day 07 - 01-24-20 - 5 hrs, 28 mins
- Continued with Python learning basics of functions, positional vs keyword arguments, default values for params, arbitrary args, scope, and lambda functions
- Learned Python dictionaries how to access keys & values, keys only, values onlys, how to create unique sets for keys/values, and uses of dictionaries nested in lists, lists nested in dictionaries, and dictionaries nested in dictionaries
- Localhost on main home PC did not have 'users' table for auth, etc. so exported from webserver, SCP'd to localhost, and added to local DB
TOTAL TIME = 24 hrs, 23 mins