Re: [PHP-DB] Converting from PHP4 to php5

2011-06-03 Thread Richard Quadling
On 1 June 2011 13:52, Dr Vijay Kumar vaibhavinformat...@gmail.com wrote:
 i AM WONDERING IF SOMEONE CAN TAKE UP CONVERSION OF MY SOFTWARE FROM PHP4 TO
 PHP5

Whilst there will be many aspects of the code that will run quite
happily, there are several features that have been deprecated and/or
removed, depending upon the version of PHP4 and PHP5 you have and
want.

There are, I think, 2 valid approaches to this sort of task.

1 - Get the code base functional with PHP5, but without using any of
the new features. This involves handling/converting any code that used
deprecated and/or removed features of PHP4.

Amongst these, register_globals, magic_quotes and ereg would probably
be the most popular to look at.

This _SHOULD_ be fairly easy to do. Obviously, the complexity and
structure of the current code will dictate the amount of time. If, for
example, the code isn't documented and there are no testsuites, then a
new developer is only going to be able to handle what the code
actually does, and not necessarily what the code is supposed to do.
Checking the code's behaviour without a testsuite could be pretty
difficult.


2 - Refactor the modules of the application, taking into account new
features of PHP5.

This could involve moving from PHP4 procedural code to PHP5 OOP. This
could require a significant investment in time (and therefore money),
depending upon the project.

And may not be necessary.

Richard.


-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Converting from PHP4 to php5

2011-06-03 Thread user080701



--
From: Richard Quadling rquadl...@gmail.com
Sent: Friday, June 03, 2011 7:26 PM
To: Dr Vijay Kumar vaibhavinformat...@gmail.com
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] Converting from PHP4 to php5


On 1 June 2011 13:52, Dr Vijay Kumar vaibhavinformat...@gmail.com wrote:
i AM WONDERING IF SOMEONE CAN TAKE UP CONVERSION OF MY SOFTWARE FROM PHP4 
TO

PHP5


Whilst there will be many aspects of the code that will run quite
happily, there are several features that have been deprecated and/or
removed, depending upon the version of PHP4 and PHP5 you have and
want.

There are, I think, 2 valid approaches to this sort of task.

1 - Get the code base functional with PHP5, but without using any of
the new features. This involves handling/converting any code that used
deprecated and/or removed features of PHP4.

Amongst these, register_globals, magic_quotes and ereg would probably
be the most popular to look at.

This _SHOULD_ be fairly easy to do. Obviously, the complexity and
structure of the current code will dictate the amount of time. If, for
example, the code isn't documented and there are no testsuites, then a
new developer is only going to be able to handle what the code
actually does, and not necessarily what the code is supposed to do.
Checking the code's behaviour without a testsuite could be pretty
difficult.


2 - Refactor the modules of the application, taking into account new
features of PHP5.

This could involve moving from PHP4 procedural code to PHP5 OOP. This
could require a significant investment in time (and therefore money),
depending upon the project.

And may not be necessary.

Richard.


--
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



__ Information from ESET NOD32 Antivirus, version of virus 
signature database 6177 (20110603) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com





__ Information from ESET NOD32 Antivirus, version of virus signature 
database 6177 (20110603) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Converting from PHP4 to php5

2011-06-03 Thread user080701



--
From: Richard Quadling rquadl...@gmail.com
Sent: Friday, June 03, 2011 7:26 PM
To: Dr Vijay Kumar vaibhavinformat...@gmail.com
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] Converting from PHP4 to php5


On 1 June 2011 13:52, Dr Vijay Kumar vaibhavinformat...@gmail.com wrote:
i AM WONDERING IF SOMEONE CAN TAKE UP CONVERSION OF MY SOFTWARE FROM PHP4 
TO

PHP5


Whilst there will be many aspects of the code that will run quite
happily, there are several features that have been deprecated and/or
removed, depending upon the version of PHP4 and PHP5 you have and
want.

There are, I think, 2 valid approaches to this sort of task.

1 - Get the code base functional with PHP5, but without using any of
the new features. This involves handling/converting any code that used
deprecated and/or removed features of PHP4.

Amongst these, register_globals, magic_quotes and ereg would probably
be the most popular to look at.

This _SHOULD_ be fairly easy to do. Obviously, the complexity and
structure of the current code will dictate the amount of time. If, for
example, the code isn't documented and there are no testsuites, then a
new developer is only going to be able to handle what the code
actually does, and not necessarily what the code is supposed to do.
Checking the code's behaviour without a testsuite could be pretty
difficult.


2 - Refactor the modules of the application, taking into account new
features of PHP5.

This could involve moving from PHP4 procedural code to PHP5 OOP. This
could require a significant investment in time (and therefore money),
depending upon the project.

And may not be necessary.

Richard.


--
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



__ Information from ESET NOD32 Antivirus, version of virus 
signature database 6177 (20110603) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com





__ Information from ESET NOD32 Antivirus, version of virus signature 
database 6177 (20110603) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Converting from PHP4 to php5

2011-06-03 Thread Karl DeSaulniers

Google php4 to php5 converter or php4 to php5 conversion
That should set you on your way.

The best way I have read to do this is just run your code on a php5  
server and build in php error detection of some kind, then just fix  
the errors as they come.

:)

Best,
Karl


On Jun 3, 2011, at 6:26 AM, Richard Quadling wrote:

On 1 June 2011 13:52, Dr Vijay Kumar vaibhavinformat...@gmail.com  
wrote:
i AM WONDERING IF SOMEONE CAN TAKE UP CONVERSION OF MY SOFTWARE  
FROM PHP4 TO

PHP5


Whilst there will be many aspects of the code that will run quite
happily, there are several features that have been deprecated and/or
removed, depending upon the version of PHP4 and PHP5 you have and
want.

There are, I think, 2 valid approaches to this sort of task.

1 - Get the code base functional with PHP5, but without using any of
the new features. This involves handling/converting any code that used
deprecated and/or removed features of PHP4.

Amongst these, register_globals, magic_quotes and ereg would probably
be the most popular to look at.

This _SHOULD_ be fairly easy to do. Obviously, the complexity and
structure of the current code will dictate the amount of time. If, for
example, the code isn't documented and there are no testsuites, then a
new developer is only going to be able to handle what the code
actually does, and not necessarily what the code is supposed to do.
Checking the code's behaviour without a testsuite could be pretty
difficult.


2 - Refactor the modules of the application, taking into account new
features of PHP5.

This could involve moving from PHP4 procedural code to PHP5 OOP. This
could require a significant investment in time (and therefore money),
depending upon the project.

And may not be necessary.

Richard.


--
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Karl DeSaulniers
Design Drumm
http://designdrumm.com


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Converting from PHP4 to php5

2011-06-02 Thread Richard Quadling
On 1 June 2011 14:26, HallMarc Websites m...@hallmarcwebsites.com wrote:
 Without looking at the rules (Sry barely have time to reply!) I don't think
 this is appropriate for this list. I am fairly certain it is against the
 rules to ask/offer work on here.
 Can anyone confirm or deny?

 Thank you,
 Marc Hall
 HallMarc Websites
 610.446.3346
 http://www.hallmarcwebsites.com/

But advertising your services is OK?

-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] Converting from PHP4 to php5

2011-06-02 Thread Guru™
Richard  I are waiting for an answer from someone..???



-- 
*Best,
*
*Guru™*


Re: [PHP-DB] Converting from PHP4 to php5

2011-06-01 Thread Guru™
I am not a master but as per my knowledge your software which is in PHP4
should work properly in PHP5 too.

-- 
*Best,
*
*Guru™*


RE: [PHP-DB] Converting from PHP4 to php5

2011-06-01 Thread HallMarc Websites
 i AM WONDERING IF SOMEONE CAN TAKE UP CONVERSION OF MY
 SOFTWARE FROM PHP4 TO
 PHP5
 
Without looking at the rules (Sry barely have time to reply!) I don't think
this is appropriate for this list. I am fairly certain it is against the
rules to ask/offer work on here. 
Can anyone confirm or deny?

Thank you,
Marc Hall
HallMarc Websites
610.446.3346
http://www.hallmarcwebsites.com/ 



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php