Since I've been an ASP programmer since day 1, I can sum it up by saying that ASP and PHP are very similar. ASP came out first, then PHP copied it. They both do pretty much the same thing. A difference is that ASP, while it does run very fast, is also designed to be kind of a "glue" scripting langauge to tie together web servers and COM objects. I'm not sure how easy it is to handle other programs/dlls/out-of-process executables with PHP. The "best" way to use ASP isn't necessarily to drop DB connections straight into it, but to build a COM object (VB, C++, whatever), then use that as your heavy lifter. I actually prefer to put as much work as possible in the database, but that's just me. Still, ASP and PHP are *very* similar. Oh course, PHP is optimized to run on *nix machines, and ASP is optimized to run on NT/W2K machines. Performance wise, they can both be great, or they can both suck, depending on whether the programmer know what in the hell he's doing.
|