This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > January 2005 > ASP to PHP





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author ASP to PHP
jsteinmann

2005-01-16, 12:14 pm

I have questions about changing sites from ASP/VB/SQL to PHP/MySQL, and whether
that's completely possible, the pros and cons, and what's the easiest way.
I've been designing in ASP for a while, and have never tried PHP. I don't know
a lot about it, but I do know I like Open Source because there is so much more
flexibility then microsofts way of creating monopolies and forcing everything
down your throat. any advice on getting started with this?

Joe Makowiec

2005-01-16, 12:14 pm

On 16 Jan 2005 in macromedia.dreamweaver, jsteinmann wrote:

> I have questions about changing sites from ASP/VB/SQL to PHP/MySQL,
> and whether that's completely possible, the pros and cons, and
> what's the easiest way. I've been designing in ASP for a while, and
> have never tried PHP. I don't know a lot about it, but I do know I
> like Open Source because there is so much more flexibility then
> microsofts way of creating monopolies and forcing everything down
> your throat. any advice on getting started with this?


Try coding a few pages in PHP and see how you like it?

I have sites both PHP and ASP/VBScript; my strong preference is for PHP.
But that's me, and you may find, having tried both, that you like
VBScript better (or maybe, if your host has upgraded, ASP.Net/C# or
ASP.Net/VB.Net). There are some pretty sharp PHP people in these forums
if you have questions. Also, http://www.php.net/ has great resources for
understanding PHP.

As to changing existing sites:
- Translating code like that can be a pain
- Your pages may already be well-spidered with their .asp(x) extensions

--
Joe Makowiec
http://makowiec.net/
Email: http://makowiec.net/email.php
Julian Roberts

2005-01-16, 12:14 pm

The principle of PHP is the same as ASP, you put server side code in <? ?>
blocks instead of <% %>. I had a play around with PHP once. I just installed
PHP, created a PHP site in DW and created recordsets in much the same way as
ASP. I'm intrigued to know why Open Source is more flexible though. I've
never had any problems with IIS.

--
Jules
http://www.charon.co.uk/charoncart
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004


Alan

2005-01-16, 12:15 pm

i'd suggest doing the transition in a different way.
If it's an existing site that you rarely work on- leave it in asp.
If it's a new site, make it in PHP from the start (if that's what you want
to do)
If it's a site you work on often, flip a coin or decide on it's merits
whether to change over.

There is asp2php here: http://asp2php.naken.cc/
but what it puts out would probably not be the optimum way to code, and it
wouldn't be seen as dreamweaver "server behaviors" in dreamweaver either-


> I have questions about changing sites from ASP/VB/SQL to PHP/MySQL, and
> whether
> that's completely possible, the pros and cons, and what's the easiest way.
> I've been designing in ASP for a while, and have never tried PHP. I don't
> know
> a lot about it, but I do know I like Open Source because there is so much more
> flexibility then microsofts way of creating monopolies and forcing everything
> down your throat. any advice on getting started with this?
>


jsteinmann

2005-01-18, 12:15 pm

what did you use for a databse while creating the site? MySQL? are you working on OSX?
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews