You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.1 KiB

PHP notes

Lessons

Day 1

  1. Morning Lecture: Intro to PHP
  2. Morning Lab: Recreate Landscaper
  3. Afternoon Lecture: Intro to PHP 2
  4. Afternoon Lab: Continue with Recreate Landscaper
  5. Homework: Mimic Find/All with 2D arrays and nested objects

Day 2

  1. Morning Lecture: PHP/Postgres API - READ
  2. Morning Lab: Update Lecture Code with READ for locations and companies
  3. Afternoon Lecture: PHP/Postgres API - CREATE, UPDATE, DELETE
  4. Afternoon Lab: Update Lecture Code with CREATE, UPDATE, DELETE on locations and companies
  5. Homework: Finish with labs
    • Stretch: Implement find for /people/:id, /locations/:id, and /companies/:id
<!-- - Model is `Location`, factory is `Locations` -->

Day 3

Lecutres

  1. Morning Lecture: Nested Models
  2. Morning Lab: Implement find for both /people/:id and /locations/:id with nested models
  3. Afternoon Lab (no lecture): Implement a many-to-many relation with a Companies model
    • use a jobs intermediary table
  4. Homework: Finish lab