PHP Classes

Migration

Recommend this page to a friend!

      PHP Classes blog  >  The Plot to Kill PHP ...  >  All threads  >  Migration  >  (Un) Subscribe thread alerts  
Subject:Migration
Summary:Prepare for the worse, but complain like hell!!
Messages:2
Author:Peter Lane
Date:2011-07-15 15:34:42
Update:2011-07-16 21:05:11
 

  1. Migration   Reply   Report abuse  
Picture of Peter Lane Peter Lane - 2011-07-15 15:55:34
I agree with most contributors in that "if it ain't broke, don't fix it".

I have spent over 10 years writing PHP and MySQL code and I don't have the time or patience to create a wrapper to replace the present mysql implementation in PHP.

If the worst happens, it will mean a massive effort to rewrite stuff with all the attendant issues in redevelopment and assoicated testing. Who is going to pay for re-development on this scale . . . ?

I guess I need to write new code using PDO, but my existing customers will be screaming at me

  2. Re: Migration   Reply   Report abuse  
Picture of Michal Kozusznik Michal Kozusznik - 2011-07-16 21:05:11 - In reply to message 1 from Peter Lane
Q: Who is going to pay for re-development on this scale . . . ?
A: Customer

Q: I guess I need to write new code using PDO, but my existing customers will be screaming at me
A: So left them with current php version installed and do further development in this environment


Q: I have spent over 10 years writing PHP and MySQL code and I don't have the time or patience to create a wrapper to replace the present mysql implementation in PHP.

A: Who cares about your patience? You should think about it 10yo and start with writing OO wrapper.