Class 8: PHP Templates & Forms
The Plan
Demos: Questions? Review.
Together: PHP for templating
- Check in on where we left off last time
- Types of databases
- Introduce concept of templating
- Implement PHP includes and a basic $page_name variable
- Difference between PHP and JS templates
Lecture: Forms and passing data
- (May move this to next time if we are pressed for time)
- Look at forms demo and real world examples. Download files here if you want.
- Passing data
Final Projects Work Time/Q & A
Second half of class we’ll have some work time to check in on Final Projects
For Next Time
Next class we’ll be setting up hosting and uploading our sites to the web. Use the links below for my referral code!
- Purchase domain name ($10/year) - I recommend using NameCheap
- Sign up for hosting ($8/mo) - I recommend either Lithium Hosting ($1.95-$8.95/mo - recommend $6.95 plan) or Webfaction ($9.50/mo - has more developer functionality, slightly more expensive).