开发者

Request for PDO experience, the best there is? [closed]

开发者 https://www.devze.com 2023-02-10 17:10 出处:网络
It's difficult to tell what is being asked here. This qu开发者_开发百科estion is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form.
It's difficult to tell what is being asked here. This qu开发者_开发百科estion is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I'm about to migrate from mysqli to PDO and would like some feedback on how it's related to other similar solutions regardning speed, security and db-portability. Any experience welcome.

regards, /t


Speed, portability, and security are really the only reasons TO move to PDO from the mysql_ specific functions in PHP. You're moving from a database-specific method to abstracting your database access - when it comes to db portability, this is IT.

If you're using mysql_query all over the place in your code, you'll have some getting used to when it comes time start using object methods instead. Code practice aside, you'll soon come to wonder how you ever did it any other way! :)

0

精彩评论

暂无评论...
验证码 换一张
取 消