PHP Classes
elePHPant
Icontem

Thanks For The Pointer

Recommend this page to a friend!

      PHP Classes blog  >  How to Create a Simpl...  >  All threads  >  Thanks For The Pointer  >  (Un) Subscribe thread alerts  
Subject:Thanks For The Pointer
Summary:Well done for advocating modern code usage
Messages:5
Author:Lee Davis
Date:2015-08-29 16:39:44
Update:2015-08-31 19:06:29
 

 


  1. Thanks For The Pointer   Reply   Report abuse  
Lee Davis - 2015-08-29 19:57:17
So pleased to see PDO as example coding rather than the deprecated MySQL that seems to still be persisting even some five or six years after the official decree of non-support for MySQL. The only thing I could say contrary to this is that you might want to even start shifting away from MySQLi even. I DO understand there are certain technical advantages to it, but, having done trial-by-fire of converting a complete MySQL web application into a PDO-driven one, I can tell you that I really didn't have any opportunity where I thought MySQLi would've been a better fit. Although, to each their own, and thanks for the proof-of-concept code.

  2. Re: Thanks For The Pointer   Reply   Report abuse  
Ashraf Gheith - 2015-08-30 18:15:35 - In reply to message 1 from Lee Davis
Hi Lee,
what you have in mind, shift away from MySQLi to what :) I really interested in your idea.

  3. Re: Thanks For The Pointer   Reply   Report abuse  
Lee Davis - 2015-08-30 18:38:31 - In reply to message 2 from Ashraf Gheith
I meant to PDO completely ;)

  4. Re: Thanks For The Pointer   Reply   Report abuse  
Ashraf Gheith - 2015-08-30 19:39:04 - In reply to message 3 from Lee Davis
A good point, I wanted once to do that, but never found a time :). Anyway this article is a general tutorial and not specific about DB connections. I will think about writing an article about PDO ;).
We will see what PHP7 will bring to us anyway.

  5. Re: Thanks For The Pointer   Reply   Report abuse  
Lee Davis - 2015-08-31 19:06:29 - In reply to message 4 from Ashraf Gheith
I'd recommend sooner than later as far as moving into PDO. By the time PHP 7 is out, PDO will be as common as MySQL used to be. I'm already ahead of the curve on that one, and getting into specializing in converting web apps from MySQL to PDO. I can't begin to tell you how happy I am that I made that investment of time to learn it. Just a suggestion.