|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/learning-php-data-objects-pdo-for-beginners/
课程评论:没有评论
课程名称:学习 PHP 数据对象 PDO 课程概述: 在使用 PHP 开发时,您可以选择任何支持的数据库,如 MySQL、ODBC、SQLite、IBM DB2、FireBird、PostgreSQL、4D、CUBRID、ORACLE 数据库、SQL Server 和 Informix。如果选择 MySQL,您的 PHP 应用将只能与该数据库兼容。但是,如果需要切换到其他数据库(例如 SQLite),则必须对每一行代码进行修改,以确保其与新数据库兼容,这无疑会增加工作难度。因此,为避免编写特定于数据库的代码,我们采用一种集中式的方式,被称为 PDO(PHP 数据对象),它允许您轻松地在不同数据库之间切换,只需更改连接类型即可。PDO 为多个数据库系统提供了一个通用接口,使开发者能够编写可在多种数据库和平台上移植的代码,从而提升性能和灵活性。此课程将教您如何使用 PDO,无论您是新手还是计划从现有平台迁移到 PDO,都会逐步讲解 PDO 的基本知识。课程中将涵盖多个 CRUD 操作的方法,分步骤讲解,以便您能够在自己的应用中快速实施 PDO。 使用 PDO 的优势: PDO 是一种备受欢迎的数据库技能,支持众多功能和数据库。这使得许多开发者将其作为首选,因此您在互联网上可以找到大量的支持文档和代码示例,无论是简单还是复杂的场景。在 PDO 实施之前,尽管在 PHP 应用中实施了多种安全措施,仍然容易受到 SQL 注入攻击。而使用 PDO 后,输入字段会通过绑定方式处理,从而使 PHP 应用免受黑客攻击和 SQL 注入风险。如果您打算创建企业级或银行应用,PDO 提供了出色的解决方案,通过 PDO 事务可以快速构建复杂的层级应用,同时确保安全性,减少混乱。PDO 为多种任务提供了丰富的支持函数,使您能够根据需要优化内存使用,提高 PHP 应用的效率。 课程大纲: - 函数 - 错误处理 - 预处理语句 - 事务 立即报名! (本课程要求具有基本的 PHP 知识)
While working with PHP you have a choice to adopt any supported database. You can pick MySQL, ODBC SQLite , ODBC, IBM DB2, FireBird, PostgreSQL, 4D, CUBRID, ORACLE Database, SQL Server, Informix. And if you choose Mysql , your php application will only work with the selected database. But somehow if you have to move to some other database e.g. Sqlite then of-course you have to go through every line of your application to make it compatible with SQLite. And that's a bit difficult.. Right? So instead of creating individual database code we pick centralized form which is portable and that will allow you to shift within minutes in case.And that centralized code is called PDO (PHP DATA OBJECTS). Which allows you to change your database anytime you want, by just changing its connection type. PDO Provides Common interface to any number of database systems.It allows developers to create code which is portable across many databases and platforms. That's reflects its highest performance and and power, And on top of everything its extremely easy to write. And this course is gonna teach you how? Whether you are new to PDO or planning to shift from your existing platform to PDO. This Course will teach you all the bread & butter of PDO. As in PDO we have multiple ways to deal with CRUD operations. That's why 1 single project can not express all the methods. So, we will work on individual concepts step by step so that you can implement PDO in your own application out there within minutes. ---------------------------------------------------------------------- What are the Advantages of Using PDO in PHP Application? PDO is the Most in Demand Database Skill in Comprehensive way. It means that it allows a lot of functionalities along with many database support. As many developers are using it as a first priority that is why you will find a great support and code example according to easy and difficult scenarios out-there on the internet, blogs, groups etc.Before PDO, After implementing many appropriate security measures on PHP Applications, they were still more open to hacks, whenever we have to take user data through Contact / Registration form or in any way of dealing with input fields, because databases put the input field directly into SQL that led to SQL Injection but with PDO we bind the input fields which made our PHP Applications FREE of Hack and SQL Injection.If you are planning to create some enterprise PHP application or some banking application, PDO has a great solution to create them. By using PDO Transactions, you can create more complex hierarchical application in most easiest and secure way and minimize all the haphazard within minutes.For doing one type of task PDO offers many supported functions which you can use according to your own need and reduce the memory usage and can make PHP application up and running in timely manner. Course Road Map FunctionsError HandlingPrepared StatementsTransactions Enroll Now! ------------------------------------------- Basic PHP Knowledge is required for this Course -------------------------------