# Session 13: Server-Side, Part 1

Harvard Extension School
Fall 2020

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. Using "View" templates - Model, View, * (MV*) Design Pattern
7. {{Mustache}} Templates
8. Improving the Hello! Greeting

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
Using "View" templates - Model, View, * (MV*) Design Pattern, slide26
PHP Smarty Templates, slide27
Smarty Template for Courses, slide28
{{Mustache}} Templates, slide29
Mustache Departments, slide30
Mustache Courses, slide31
Improving the Hello! Greeting, slide32
Hello! Greeting, Improved, slide33

Presentation contains 33 slides

- img
- img
- img
- img
- img