Day 01 - 12-09-19 - 4 hrs, 4 mins
- Read Docker docs and learn the basics of Docker (for setting up dev environment on new OS installs and across machines)
Day 02 - 12-10-19 - 4 hrs, 23 mins
- Modified CodeGenerator component to be more re-useable by generating MarkedCode components based on state passed in as props from external file instead of explicitly defining state inside component. State flow: App imports array of objects with MarkedCode properties -> passes in as prop to CodeGenerator -> CodeGenerator iterates through and renders MarkedCode components.
- React conditional rendering practice where image renders or is hidden based on the state of multiple other elements
Day 03 - 12-11-19 - 4 hrs, 42 mins
- Did some practice work building React lists with map(), focusing on the importance of and scope of keys
- Studied controlled components in React through the use of state values altered during onChange, etc. handlers, combined with conditional rendering and rendering based on state
Day 04 - 12-12-19 - 8 hrs, 47 mins
- Failed setup of mirrored Debian local/server dev environments on OSX (all services up but all dirs return '404'Ƒ
- Finished setup of new Deian install dev environment, awhile spent figuring out how to serve php from many directories from the same nginx server for awhile.
Day 05 - 12-14-19 - 5 hrs, 29 mins
- Started with PHP MySQLi work mostly, learning basic methods for it and the mysqli_result object
- Rest of day spent on trying to figure out how to best dynamically render HTML from PHP through function returns and resuable template components.
Found it ended up looking messy even when seperated calls using array_map(), array_reduce(), etc. and the rendering process via require to be strange.
Could do it class based to make the include process a lot cleaner, but would rather do UI functional.
- Searched around online to find the best way to integrate PHP + React. Could not find info on reliable combo with create-react-app. Running v8 with PHP seems cumbersome given alternative of PHP REST API that uncoupled React front end could call. Uncoupled back-end via API also means re-usable for various front-end, etc.
Day 06 - 12-15-19 - 2 hrs, 7 mins
- Wrote up plan for animation collection. Initially decided to go fo PHP back-end API, but after comparing Python requests libary vs connector for API calls and Python request library vs PHP MYSQLi, Python looked less painful.
- Built bulk of data models for animation collection
TOTAL TIME = 25 hrs, 15 mins