Forum Moderators: phranque
Are they both just as functional as the other? How much different is it to transact with a database in PHP?
BTW: Please, no MS bashing. I don't care about someone's personal politics when it comes to Windows or Microsoft. I really just want to know whether or not PHP is going to be as easy to get into as ASP.
Opinions...?
[msdn.microsoft.com...]
I think if you want to get a job, you might have better luck going the ,net path, if you freelance, I don't think you can beat PHP for versatility.
People who like asp a lot will tend to say that "this is just because of bad coding." I'm not convinced, as this would imply that most of the large asp-driven solutions i see are build by bad programmers.
If you're not planning a lot of interdependencies and/or a lot of traffic, imho, they can do the same so choose the flavour you like the most.
/claus
I, obviously, prefer php. ;)
I figure that if you run 2 coders of equivalent skill against each other on equivalent servers it would be hard to find any huge difference.
Though would we ever have to strip the nix box to get it to run like IIS.
I've also found the PHP community to be superior to ASP and Cold Fusion. It's not hard to get the answer to a PHP problem. If you look hard you can get the answer to ASP problems, but I feel there are more places to go for help with PHP.
Also, when it comes to PHP there are more pre-written scripts readily available. If you want to do something in PHP, chances are there is a free script that already does it. It may not be exactly what you need, but you can customize it to your specifications. Yes, there are scripts available for ASP and Cold Fusion, but not nearly the volume of PHP.
I layout an information architecture and use it to structure the URLs of the whole site: I want the urls to be usable keywords.
eg:
/widgets/
rather than:
bbbrrrrr.x?Beeep!&wave=adeadCh1cken&sess=;usr=aaarrghh
or something ;)
So I tend to do semi-static sites where a database-backed system maintains a set of directories & files (which can be html or php, asp etc). Do .NET and J2EE make it easier to do this?
All that being said...I'm sure I'll stick with ASP...it's my security blanket ;)