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.

716 B

PHP notes

Lessons

Day 1

Lectures

  1. Intro to PHP
  2. Intro to PHP 2

Lab/HW ideas

  1. Test syntax knowledge
  2. Mimic Find/All with 2D arrays and nested objects

Day 2

Lectures

  1. PHP/Postgres API - READ
  2. PHP/Postgres API - CREATE, UPDATE, DELETE

Lab/HW ideas

  1. Build CRUD functionality for locations (id, street, city, state)
    • Model is Location, factory is Locations

Day 3

Lecutres

  1. Nested Models

Lab/HW ideas

  1. Implement find for both /people/:id and /locations/:id
  2. Stretch: implement a many-to-many relation with a Companies model
    • use a jobs intermediary table