Go Back   Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum > Support > php issues.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-02-2006, 11:14 AM
Moderator
 
Join Date: Sep 2006
Posts: 629
Send a message via MSN to harry
Default asp2php converter

Have you ever converted your ASP files to PHP using any ASP2PHP converters available in market?
Which was the best in result for you?
Can you recommend me any, whose results were robust.
Reply With Quote
  #2 (permalink)  
Old 11-02-2006, 11:24 AM
kev woodman's Avatar
Premium Member
 
Join Date: Jul 2006
Location: Newport, Wales, UK.
Posts: 1,494
Default

I've not used any of these but I can think of a few reason to treat them with some caution:

* differences in OO support. If your program implements OO features like inheritance or polymorphism then these may not be supported, or be only partially implemented, in the language you are porting to. If the converter just replaces language constructs, such as keywords, with their equivalents then you might find your app broken;

* lack of support for certain features e.g. PHP has excellent array handling structures while ASP has really good controls; and

* nothing is ever that simple

If you already have the logic for your app in place then porting it to another language might be a good excuse to do some refactoring anyway. Of course if the application is pretty small/straightforward then you might find these work as promised.
__________________
homo sum: humani nil a me alienum puto ... ( just Google it )
Reply With Quote
  #3 (permalink)  
Old 11-10-2006, 10:57 AM
Senior Member
 
Join Date: Apr 2006
Location: Norway
Posts: 1,643
Default

I fear such converter will likely to mess the whole code especially if you are converting a large code, obviously thereafter you will have to find out what's wrong and learn enough PHP to know how to fix it. PHP & ASP both are very different, and to get some things that are in ASP you will need add-ons to PHP, and vice-versa. IMO its worth to learn PHP to do it manually.
__________________

Reply With Quote
  #4 (permalink)  
Old 11-11-2006, 09:48 AM
Moderator
 
Join Date: Sep 2006
Posts: 629
Send a message via MSN to harry
Default

That’s true kev-paul,
After referring some articles and forums, i have came at a point to start coding using PHP rather depending and making R&D on code from ASP2PHP converter, you guys also suggested for the same.
Anyway, I think some one will work on it and will come with a robust converter.
Reply With Quote
  #5 (permalink)  
Old 11-11-2006, 10:07 AM
sanderson's Avatar
Moderator
 
Join Date: Oct 2006
Location: Durham
Posts: 261
Default

Quote:
Originally Posted by harry
Anyway, I think some one will work on it and will come with a robust converter.
You never know, that converter can get develope, (will take some time) through you too. Best wishes!
__________________
Linux: because rebooting is for adding new hardware.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:53 PM.
Copyright 2002-2007 WebHosting.uk.com. All rights reserved.
Web Hosting UK Forum