Prepared Database Queries, PHP Classes




CS174

Chris Pollett

Mar 7, 2016

Outline

Accessing More Advanced Features of Mysql

Other Database Interfaces in PHP

Some Quick Remarks on Database Design

Example

Quiz

Which of the following statements is true?

  1. A web server can set a cookie by sending a Set-Cookie header as part of its response message to a web request.
  2. A SQL WHERE clause is used to list the database tables involved in a query.
  3. MVC is another name for the model view adapter design pattern.

Classes in PHP

Constructors/Destructors

Private, Protected, Public

Static and Const

Cloning

Inheritance

Referring to Parents, Final

Traits

Namespaces

Using Namespaces

Exceptions

Generators

Version Control Systems