Understanding PHP Data Objects (PDO)

所在平台: Udemy

课程主页: https://www.udemy.com/course/understanding-php-data-objects-pdo/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:理解PHP数据对象(PDO) 课程概述: 本课程教授PHP数据对象(PDO),这是在PHP中连接数据库的首选方式。课程内容涵盖如何连接数据库,并使用构建快速、可扩展的数据库应用所需的所有功能。同时,课程还涉及安全性、最佳实践等重要概念,帮助学员妥善使用从数据库中获取的数据。虽然推荐学员具备基本的PHP知识,但无论是初学者还是有经验的网页开发者,都能全面理解PHP数据对象的工作原理。学员需能够打开和写入基本的PHP文件,并安装服务器和数据库。本课程将使用MySQL服务器。 PDO的定义: PHP数据对象(PDO)扩展定义了一个轻量级、一致的接口,用于在PHP中访问数据库。每个实现PDO接口的数据库驱动程序可以作为常规扩展函数暴露数据库特定的功能。请注意,单独使用PDO扩展无法执行任何数据库功能;必须使用特定于数据库的PDO驱动程序才能访问数据库服务器。PDO提供了数据访问抽象层,这意味着无论使用哪种数据库,您都使用相同的函数执行查询和获取数据。PDO并不提供数据库抽象,它不重写SQL或模拟缺失的功能。如果您需要这种功能,应该使用一个完整的抽象层。

课程评论(0条)

课程详情

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.

课程标签

0人关注该课程

主题相关的课程