Diploma in Web Development Part I - s3.amazonaws.com · Diploma in Web Development –Part I. ... Q...

Preview:

Citation preview

Lesson 6

PHP & Backend Code

Presented by:

Julian Quirke Web Development Educator

Diploma in Web Development – Part I

Lesson 5 Recap

Conditional Logic

Arrays

Loops

Summary

Q & A

Today’s Lesson

What is PHP?

PHP Basics

Control Systems in PHP

Summary

Special Announcement!

Q & A

Let’s Begin

What is PHP

PHP Hypertext Preprocessor

What is PHP

PHP Hypertext Preprocessoris a server-side scripting language

designed for web development

Backend Modules

Web Server Software

Backend Code Module

Database Server Software

What is PHP

• Generates HTML code

• Embedded into HTML

• Executes on the Web Server

What is PHP

Enabling PHP

index.html index.php

What is PHP

What is PHP

Enabling PHP

How does PHP work?

index.php index.php

What is PHP

PHP in the “Full Stack”

request

Internet

Web Server

What is PHP

PHP Basics

PHP Basics

PHP Basics

What statement is used in PHP to write to the HTML document?

Question Time!

Demo

PHP Basics

PHP Basics

What statement is used in PHP to write to the HTML document?

The “echo” statement

Control Systems in PHP

Control Systems in PHP

Control Systems in PHP

Which function is used to declare an array in PHP?

Question Time!

Demo (2)

Control Systems in PHP

Control Systems in PHP

Which function is called to declare an arrayin PHP?

The “array()” function

PHP Next Steps

• Setting up a MySQL database

• Adding data

• Putting DB data on a web page with PHP

Control Systems in PHP

Summary

What is PHP

PHP Basics

Control Systems in PHP

Now you have the tools to build Control

Systems on the server-side!

Attend all of the lessons live to ask

Questions in real time and benefit the most

We’re here to help, so contact us anytime!

Recommended