From e3f59eb3ab1c7372ee2001e2b25f84394a0e38d6 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Wed, 3 Apr 2019 14:59:39 -0400 Subject: [PATCH] file restructure --- README.md | 10 +++++----- day1/homework/.gitkeep | 0 day1/instructor_examples/.gitkeep | 0 PHP.md => day1/instructor_notes/PHP.md | 0 PHP2.md => day1/instructor_notes/PHP2.md | 0 day1/morning_exercise/.gitkeep | 0 day1/student_examples/.gitkeep | 0 day1/student_labs/.gitkeep | 0 day2/homework/.gitkeep | 0 day2/instructor_examples/.gitkeep | 0 API.md => day2/instructor_notes/API.md | 0 API2.md => day2/instructor_notes/API2.md | 0 day2/morning_exercise/.gitkeep | 0 day2/student_examples/.gitkeep | 0 day2/student_labs/.gitkeep | 0 day3/homework/.gitkeep | 0 day3/instructor_examples/.gitkeep | 0 .../instructor_notes/Nested_Models.md | 0 day3/morning_exercise/.gitkeep | 0 day3/student_examples/.gitkeep | 0 day3/student_labs/.gitkeep | 0 {CRUD Example => old/CRUD Example}/.htaccess | 0 .../CRUD Example}/controllers/coffee.php | 0 {CRUD Example => old/CRUD Example}/models/coffee.php | 0 .../CRUD Example}/views/coffee/index.php | 0 .../CRUD Example}/views/coffee/new.php | 0 PHP_CRUD.md => old/PHP_CRUD.md | 0 27 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 day1/homework/.gitkeep create mode 100644 day1/instructor_examples/.gitkeep rename PHP.md => day1/instructor_notes/PHP.md (100%) rename PHP2.md => day1/instructor_notes/PHP2.md (100%) create mode 100644 day1/morning_exercise/.gitkeep create mode 100644 day1/student_examples/.gitkeep create mode 100644 day1/student_labs/.gitkeep create mode 100644 day2/homework/.gitkeep create mode 100644 day2/instructor_examples/.gitkeep rename API.md => day2/instructor_notes/API.md (100%) rename API2.md => day2/instructor_notes/API2.md (100%) create mode 100644 day2/morning_exercise/.gitkeep create mode 100644 day2/student_examples/.gitkeep create mode 100644 day2/student_labs/.gitkeep create mode 100644 day3/homework/.gitkeep create mode 100644 day3/instructor_examples/.gitkeep rename Nested_Models.md => day3/instructor_notes/Nested_Models.md (100%) create mode 100644 day3/morning_exercise/.gitkeep create mode 100644 day3/student_examples/.gitkeep create mode 100644 day3/student_labs/.gitkeep rename {CRUD Example => old/CRUD Example}/.htaccess (100%) rename {CRUD Example => old/CRUD Example}/controllers/coffee.php (100%) rename {CRUD Example => old/CRUD Example}/models/coffee.php (100%) rename {CRUD Example => old/CRUD Example}/views/coffee/index.php (100%) rename {CRUD Example => old/CRUD Example}/views/coffee/new.php (100%) rename PHP_CRUD.md => old/PHP_CRUD.md (100%) diff --git a/README.md b/README.md index a10234f..0665003 100644 --- a/README.md +++ b/README.md @@ -4,17 +4,17 @@ ### Day 1 -1. Morning Lecture: [Intro to PHP](PHP.md) +1. Morning Lecture: [Intro to PHP](day1/instructor_notes/1. PHP.md) 1. Morning Lab: Recreate Landscaper -1. Afternoon Lecture: [Intro to PHP 2](PHP2.md) +1. Afternoon Lecture: [Intro to PHP 2](day1/instructor_notes/2. PHP2.md) 1. Afternoon Lab: Continue with Recreate Landscaper 1. Homework: Mimic Find/All with 2D arrays and nested objects ### Day 2 -1. Morning Lecture: [PHP/Postgres API - READ](API.md) +1. Morning Lecture: [PHP/Postgres API - READ](day2/instructor_notes/1. API.md) 1. Morning Lab: Update Lecture Code with READ for locations and companies -1. Afternoon Lecture: [PHP/Postgres API - CREATE, UPDATE, DELETE](API2.md) +1. Afternoon Lecture: [PHP/Postgres API - CREATE, UPDATE, DELETE](day2/instructor_notes/2. API2.md) 1. Afternoon Lab: Update Lecture Code with CREATE, UPDATE, DELETE on locations and companies 1. Homework: Finish with labs - Stretch: Implement find for `/people/:id`, `/locations/:id`, and `/companies/:id` @@ -25,7 +25,7 @@ #### Lecutres -1. Morning Lecture: [Nested Models](Nested_Models.md) +1. Morning Lecture: [Nested Models](day3/instructor_notes/1. Nested_Models.md) 1. Morning Lab: Implement find for both `/people/:id` and `/locations/:id` with nested models 1. Afternoon Lab (no lecture): Implement a many-to-many relation with a `Companies` model - use a `jobs` intermediary table diff --git a/day1/homework/.gitkeep b/day1/homework/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/day1/instructor_examples/.gitkeep b/day1/instructor_examples/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/PHP.md b/day1/instructor_notes/PHP.md similarity index 100% rename from PHP.md rename to day1/instructor_notes/PHP.md diff --git a/PHP2.md b/day1/instructor_notes/PHP2.md similarity index 100% rename from PHP2.md rename to day1/instructor_notes/PHP2.md diff --git a/day1/morning_exercise/.gitkeep b/day1/morning_exercise/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/day1/student_examples/.gitkeep b/day1/student_examples/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/day1/student_labs/.gitkeep b/day1/student_labs/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/day2/homework/.gitkeep b/day2/homework/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/day2/instructor_examples/.gitkeep b/day2/instructor_examples/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/API.md b/day2/instructor_notes/API.md similarity index 100% rename from API.md rename to day2/instructor_notes/API.md diff --git a/API2.md b/day2/instructor_notes/API2.md similarity index 100% rename from API2.md rename to day2/instructor_notes/API2.md diff --git a/day2/morning_exercise/.gitkeep b/day2/morning_exercise/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/day2/student_examples/.gitkeep b/day2/student_examples/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/day2/student_labs/.gitkeep b/day2/student_labs/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/day3/homework/.gitkeep b/day3/homework/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/day3/instructor_examples/.gitkeep b/day3/instructor_examples/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Nested_Models.md b/day3/instructor_notes/Nested_Models.md similarity index 100% rename from Nested_Models.md rename to day3/instructor_notes/Nested_Models.md diff --git a/day3/morning_exercise/.gitkeep b/day3/morning_exercise/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/day3/student_examples/.gitkeep b/day3/student_examples/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/day3/student_labs/.gitkeep b/day3/student_labs/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/CRUD Example/.htaccess b/old/CRUD Example/.htaccess similarity index 100% rename from CRUD Example/.htaccess rename to old/CRUD Example/.htaccess diff --git a/CRUD Example/controllers/coffee.php b/old/CRUD Example/controllers/coffee.php similarity index 100% rename from CRUD Example/controllers/coffee.php rename to old/CRUD Example/controllers/coffee.php diff --git a/CRUD Example/models/coffee.php b/old/CRUD Example/models/coffee.php similarity index 100% rename from CRUD Example/models/coffee.php rename to old/CRUD Example/models/coffee.php diff --git a/CRUD Example/views/coffee/index.php b/old/CRUD Example/views/coffee/index.php similarity index 100% rename from CRUD Example/views/coffee/index.php rename to old/CRUD Example/views/coffee/index.php diff --git a/CRUD Example/views/coffee/new.php b/old/CRUD Example/views/coffee/new.php similarity index 100% rename from CRUD Example/views/coffee/new.php rename to old/CRUD Example/views/coffee/new.php diff --git a/PHP_CRUD.md b/old/PHP_CRUD.md similarity index 100% rename from PHP_CRUD.md rename to old/PHP_CRUD.md