Session 13: Server-Side, Part 1

Harvard Extension School  
Spring 2021

Course Web Site: https://cscie12.dce.harvard.edu/

Topics

  1. David's Project - Nature of America
  2. Building Pages from Parts: An Introduction to PHP
  3. Web Development
  4. PHP Example with Courses from Database
  5. Querying the Database with SQL
  6. Separation of Concerns
  7. {{Mustache}} Templates
  8. Improving the Hello! Greeting
  9. Backend Data - Frontend Templates

Session 13: Server-Side, Part 1, slide1
David's Project - Nature of America, slide2
Progress, slide3
Building Pages from Parts: An Introduction to PHP, slide4
PHP: Hypertext Processor, slide5
Building a Page from Parts, slide6
Iroquois Constitution, slide7
File Includes with PHP, slide8
Parts that Build the Page, slide9
Recommendation: Keep files well-formed, slide10
Web Development, slide11
Dynamic Content, slide12
Dynamic Content: How does it look?, slide13
Web Program Examples, slide14
A Personal Greeting, slide15
A Personal Greeting, slide16
PHP Example with Courses from Database, slide17
FAS Course Data, slide18
Data Table in a Relational Database, slide19
Querying the Database with SQL, slide20
PHP Script to Connect to Database and Get List of Departments, slide21
Turn this into HTML Output, slide22
The entire "departments-simple.php", slide23
Adding another view - Department Course Listings, slide24
courses.php, slide25
Separation of Concerns, slide26
{{Mustache}} Templates, slide27
Mustache Departments, slide28
Mustache Courses, slide29
Improving the Hello! Greeting, slide30
Hello! Greeting, Improved, slide31
Backend Data - Frontend Templates, slide32
JSON from PHP data, slide33
Front-end courses, slide34

Presentation contains 34 slides