PHP Level 1 for Computing Science teachers

Dynamic web sites rely on scripts or programs running on the server. PHP is one of the most widely used server-side scripting languages. Understanding the basics of PHP coding is vital if you want to go on and program dynamic web pages or sites. It is also useful to have some knowledge of PHP merely to understand and be able to knowledgebly talk about what server-side programming is and how dynamic web sites, content management systems and data-driven web applications work.

This one day course will introduce PHP, how to add it to html code and create simple dynamic web pages.

Course aims

  • To develop Computing teachers knowledge, skills and confidence in PHP.

Who this course is for

  • Computing Science teacher, teaching web design and development.
  • You are delivering, developing and planning Higher and Advanced Higher Computing Science courses.
  • You're a complete beginners with no piror knowledge of PHP or server-side programming
  • You would like to up-date your PHP skills to use the latest version of PHP.
  • You'd like a refresher on PHP coding.
You want to go on to learn CSS, Javascript or PHP and need a firm foundation of HTML.

What you need to know

Most of what you will do with PHP, particularly at a beginners stage, involves creation or manipulation of HTML elements to provide output and display. For this reason it is absolutely vital that you are comfortable and confident with basic HTML coding before attending this course.

Knowledge and skills needed to undertake this course

This course builds on topics and skills developed in one or more lower level courses.

It is vital that you have either attended the course(s) listed below or that you are confident that you are comfortable and competenent in the topics and skills it covers.

We want you to get the best from your time on our course and making sure you are attending a course at a suitable level is important for you and for the others on the course.

Please click the link and view the course details. If you are in any doubt about whether you are at the right level to do this course then please don't hesitate to contact us for further information

Courses that provide the necessary skills:

Content summary

Below is an overview of the topics covered in the course.

  • What is PHP
  • Introduction to Dynamic web sites
  • Setting up web site files and folder structure for PHP projects
  • PHP syntax
  • Writing basic PHP scripts
  • PHP Language elements
  • Basic form handling – using submitted data in PHP pages as the basis for dynamic content creation
  • Basic PHP project examples

Course content in detail

  • PHP- What is PHP
  • Introduction to dynamic web sites - dynamic vs. static web content.
  • Sites, Files and Folders – setting up web site files and folders for PHP projects
    • Local requirements
    • Server requirements
      • Common server technologies - Apache, IIS
      • Local vs remote servers
      • Methods of uploading files to a server
  • PHP scripts– writing basic PHP scripts
    • Script block location
    • Echo - output html content and basic PHP functions, for example Date()
  • PHP syntax
  • PHP concepts
    • 'Pre-processing' of html responses
    • Writing to the output stream to create html content
  • PHP language elements
    • Variables
    • Data Types
    • Operators - arithmetic, assignment, comparison, string
    • Indexed and Associative arrays
    • Conditional statements - if, else
    • Looping
    • Functions
    • Objects
  • Basic Form Handling
    • Form actions and methods (POST, GET)
    • Accessing form data from Super Global variables ($_POST, &_GET)
    • Security considerations when using form data - validation, injection
    • using submitted data in PHP pag­es as the basis for dynamic content creation
  • Project Examples
    • Basic PHP project examples suitable for use in the classroom
    • Flat file database use
    • Creating repeating regions to display database records
    • Simple Content Management System
      • CMS concepts and techniques
      • Overview and demonstration
      • Introduction to data operations - CRUD (Create, read, update, delete)
        • Performed on flat file database. As an introduction and foundation to how PHP can be used along with a database management system