What do you prefer and why?
I prefer PHP as it is similar to C++ and I know Borland C++ Builder pretty much. Also, I dunno about ASP, but PHP has functions for nearly everything.
I use PHP. I've only tried ASP a little, and apart from that I've only heard bad things about ASP.
- ASP is by microsoft
- ASP is imho slower. Most sites i see made with ASP are slow compared to PHP sites.
- ASP needs more code than PHP for the same functions. I've heard someone who knew what they were talking about, say that ASP takes up double as much code as PHP does.
- ASP uses Access databases that take up heaps of space.
- PHP uses MySql which doesn't take up heaps of space.
- PHP generally feels nice.
... just a couple of thoughts..
Edited by the Author.
n/a
Deleted User
20th April, 2004 at 07:28:31 -
- PHP is open source
- There is ALOT of extensions
- ASP-scripts that I have seen had been more messy than PHP.
I bearly know alot about asp or php i looked at some tuts and found out that i understamd it way better then asp...Im trying to code my own database driven site and its going really fast.
Ive heard lots of good things about PHP, although i cant say the same with ASP
anyone know of a good Online tut for PHP? i want to learn it but i dont know where to start.
PHP is great for small sites. It's easy to learn, use, set up; it looks like Perl (that's never bad); and is generally quick. However, I wouldn't write >5000 lines in PHP - it gets messy, and you'll run into a few bugs here or there, and you'll get much slower loading times.
ASP (presumed not ASP.NET) is far too much if you're making a simple site, but great for something large. It's very complexed and can do a lot of stuff, which might be needed.
Overall, they pretty much do the same thing, just for different sites; and it's often just a case of what you've been 'brought up on'.
gone fishin'
Pete Nattress Cheesy Bits img src/uploads/sccheesegif
Registered 23/09/2002
Points 4811
20th April, 2004 at 14:02:13 -
well i've been "bought up" on VB (learning it at school), and ASP is like vbscript, but i still prefer PHP. www.freewebmasterhelp.com has 2 good PHP tutorials for newbies, both of which i found invaluable.
that said i've never looked in to learning ASP. i don't have the server or the time and will to do do. PHP will suffice for now.
ASP can be made to go use VBScript or JavaScript. I don't like VBScript at all, and JavaScript is supposely badly made in ASP. Another point, ASP is completely based on COM, a badly made system for having programs in seperate parts (ActiveX) as well as slow.
My site is built in ASP, but only for two reasons: I got free ASP hosting off my brother, and knowing a little VB already, it was far easier to learn and use ASP than it was to learn a language like PHP which on the face seems to have slightly less familiar syntax.
If I knew PHP and had a PHP host, I'd probably switch over to PHP. Again however that'd be difficult and would have to have other big benefits considering I've already completely coded my site in ASP already, and it works OK as it is already. However I don't like the syntax/look of VB or VBscript at all, it gets REALLY messy and hard to read (even on a small scale site like Tigerworks.co.uk). I also hear endlessly about how ASP is slower than PHP, and I'm frustrated by stupid access databases being 1mb to hold 3 records or something
Tigs, you can say that you know PHP as it's almost C++, and you know C++ pretty well. The only major difference that it has $ sign before every variable.
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G
ASP doesn't have to use access databases. And so far, I've never had any problems concerning messy code - as long as you comment everything and use tabs I don't see how there could be any problems.