Forum Moderators: coopster

Message Too Old, No Replies

Snatching a website from the jaws of ASP.NET

Tips, hints, pointers?

         

vincevincevince

9:53 am on Oct 1, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm pitching for a project to rebuild an ASP.NET driven IIS hosted website as a LAMP system.

Does anyone have experience with this? I'm essentially going to be redoing the design anyway, but there are various dynamic features which will need replicating in PHP.

Is there any reliable way to get the ASP.NET code ported to PHP or should I just rewrite it all?

How about databases? Currently we're talking multiple Access databases, obviously I'll be going to MySQL.

I've never written ASP or ASP.NET and so I have very little idea of the complexity behind it.

All tips, hints and pointers will be well received!

joelgreen

12:55 pm on Oct 1, 2007 (gmt 0)

10+ Year Member



Never had such experience, but maybe following Google search would help: asp to php convertor

Think you'll have to re-check whole script code, as php is not "strong-data-type" language, and there would be a lot of vulnerabilities even if it worked ok on ASP.

centime

2:06 pm on Oct 1, 2007 (gmt 0)

10+ Year Member



ASp.net is a completely different programing paradigm ,

You'll probably be re making the whole site from head to toe,

most asp.net sites also use asp.net controls for display purposes, to generate the html

infact, apart from gifs , other graphics , and content, you may need to think start from scratch

Have fun

vincevincevince

2:26 pm on Oct 1, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



centime, thanks for your friendly wishes and note on the total difference. I was beginning to fear as much!

I did Google ASP to PHP conversion tools, but they only seem to be for ASP, not ASP.net (is there a big difference?)

WesleyC

8:07 pm on Oct 1, 2007 (gmt 0)

10+ Year Member



ASP and PHP are similar.

ASP.NET and ASP are so radically different that converting a program from ASP to ASP.NET requires an entire reconstruction. Yes, you'll have to rebuild it from scratch for PHP.

As a developer using both ASP.NET and PHP, I can tell you right now that you might as well forget the source code for the ASP.NET program entirely right now. Don't even bother looking at it unless you need to see how something is stored in the database--and even then, it'd probably be simpler just to look at the database.

Probably not what you wanted to hear. :) Unfortunately... I've had experience with both, and experience converting a PHP application to ASP.NET--there's no way to do it short of a complete rewrite.