Course Information
Course Overview
Learn to use the PDO library to access databases using PHP
The course teaches PHP Data Objects (PDO), the preferred way to connect to databases within PHP. It covers connecting to the database, and using all the features required to build fast, scalable applications that use a database connection. It covers essential concepts like security, and best practices with using the data retrieved from the database.
While a basic knowledge of PHP is recommended for this course, both beginners and experienced web developers will gain a complete understanding of how PHP Data Objects work.
A basic knowledge of PHP is recommended for this course. You will need to be able to open and write to a basic PHP file and be able to have a server and database installed. This course will use MySQL server.
Exactly What Is PDO?
The PHP Data Objects (PDO) extension defines a lightweight, consistent interface for accessing databases in PHP. Each database driver that implements the PDO interface can expose database-specific features as regular extension functions. Note that you cannot perform any database functions using the PDO extension by itself; you must use a database-specific PDO driver to access a database server.
PDO provides a data-access abstraction layer, which means that, regardless of which database you're using, you use the same functions to issue queries and fetch data. PDO does not provide a database abstraction; it doesn't rewrite SQL or emulate missing features. You should use a full-blown abstraction layer if you need that facility.
Course Content
- 7 section(s)
- 17 lecture(s)
- Section 1 Introduction
- Section 2 Understanding PHP Data Objects (PDO)
- Section 3 Fetching Results
- Section 4 Hands On Project: User Class Dates
- Section 5 Security
- Section 6 Inserting
- Section 7 Bonus Material
What You’ll Learn
- Work with MySQL and other database software from PHP including connecting, inserting, updating records, displaying database records in lists within HTML and database security.
Skills covered in this course
Reviews
-
AAndrew Dunstall
The course is fast paced which is great, but some parts could be explained a bit more thoroughly.
-
BBradley Frey
Great content - very efficient use of time.
-
TTim Lawson
All of these courses seem to do the same thing, and I'm not sure I understand PDO any better now than before. How about an explanation of the $this-> stuff instead of just saying to do it?
-
RRyan Brown
Instructor gives plenty of examples and seems knowledgeable