PHP vs. ASP?

Status
Not open for further replies.

FriarPuck

Ars Praefectus
4,053
Subscriptor
Since you only to pull something from the server's local hard drive then either one will do. Neither one really has any barrier to pulling information off of the server's harddrive as long as it is setup properly.

Are you more comfortable in a Windows environment or a UNIX environment?

dhopton, Why should it matter what the target audience is? It all ends up as HTML when it gets to the user
 
ASP is an object model, PHP is a language.

As such, they're not directly comparable. You need to compare ASP and a scripting language to PHP.

VBScript is the commonest language used with ASP, though far from the best.

JScript is probably the next most common. It's certainly a nicer language than VBS, and IMO it's nicer than PHP (I don't much care for PHP at all).

Both Perl and Python can be used with ASP too, and lots of people like them and are familiar with them. If you are, you can use them with ASP, which will certainly reduce the learning required.

ASP only provides a few objects -- those directly required for writing such web pages. Other things, such as database access, are provided by additional components -- such as ADO. IMO ADO is generally better than PHP's database access (PHP's native database access isn't DB-agnostic; if you want to switch databases, you'll have to change your code accordingly). The same isn't true of ADO.
 

dhopton

Ars Tribunus Militum
2,009
Fuckity fuck fuck. I'm being a bad typist this evening.
Please administer a beating please.

James Dean: Target system was refering to the target system for the client side stuff If he has a target system of Linux, then there is no point in thinking about ASP.net
Is blatantly wrong.
it SHOULD have been:
James Dean: Target system was refering to the target system for the server side stuff If he has a target system of Linux, then there is no point in thinking about ASP.net
 
Originally posted by _Dent_:
This is not necessarily true, there are database-independant functions, described in this article - ]http://www.devshed.com/Server_Side/PHP/DBAbstraction/page1.html<HR></BLOCKQUOTE>
An article that describes how to use an extra library (PEAR) to achieve what ought to be the default. I don't think PEAR counts as the *native* interface, does it?
 
Status
Not open for further replies.