php vs asp

  • Carnix
  • Guru
  • Guru
  • User avatar
  • Joined: Apr 28, 2004
  • Posts: 1099
  • Status: Offline

Post May 20th, 2004, 1:48 pm

rtm223 wrote:
The performance test I saw was arguing that the COM system was the thing that slowed everything down in ASP, but I don't really know what that means


COM == "Component Object Model"

There's also DCOM (D for distrubuted). It's the same idea though. It sort objectifying ASP. Build your COM objects, which are basically DLLs written in whatever language you want (traditionally, this was C++ or VBA), then ASP had a build in structure to make use the those objects. You had to build an API into your objects, of course, but more-or-less it's STDIN STDOUT sort of stuff.

The problem is, most of the free COM objects you download tend to have memory leaks and will crash IIS over time, since IIS has a really hard time with garbage collection, unless there are 0 active sessions... find for a smaller site, but on my organization's site, I doubt there's been a zero session point for a month... plenty of time for IIS to crash under even a small memory leak (the DLLHOST process for our site always runs at nearly 200MB of memory anyway... but then our site is extremely well traffiked).

ASP.NET has vastly improved everything about ASP across the board. There are new issues, like it's considerably more complicated, but in terms of performance, the .NET system blows standard ASP away. At this point, it's unlikely that non-MS-style developers have done any serious work with .NET yet, although there will always be exceptions.

I always feel strange... guilty? Dirty? Hypocritical? when I find myself in the position of defending MS technology... heh. I just think it gets a bad rap sometimes, although some of that is well deserved. There are definitely WORSE things you could do than implement a fully MS network.

.c
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 20th, 2004, 1:48 pm

  • madmonk
  • Mastermind
  • Mastermind
  • No Avatar
  • Joined: May 04, 2004
  • Posts: 2115
  • Loc: australia
  • Status: Offline

Post May 20th, 2004, 3:44 pm

Quote:
Maybe get the two "groups" and compete them against each other:

Apache, PHP, MySQL vs IIS, ASP and MSSQL

(assuming MSSQL is the database of choice for ASP )


-excellent idea :lol:

and nice explanation on COM.
Tattoos Gallery
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post May 20th, 2004, 3:59 pm

Actually if it's available to you the SQL Server 2000 is a bettter choice than MSSQL. I use both and SQL 2000 is significantly easier to manage in my opinion. (I suppose this assumes you use a Windows server also) The Advantage to MSSQL is if you have Office 2000 Pro or some such flavor, it comes with it at no extra charge, although it is not installed by default.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • Rabid Dog
  • Web Master
  • Web Master
  • User avatar
  • Joined: May 21, 2004
  • Posts: 3229
  • Loc: South Africa
  • Status: Offline

Post May 21st, 2004, 6:10 am

Having worked exstensively in PHP and ASP I found that the strong dimensioning requirements for arrays in ASP tends to disallow alot of creativity in your coding. The Microsfot Solution has some fantastic features (ADO being one of them) but I still tend to lean the way of PHP.

Not because it is Free but because it allows me to code freely. I don't take very nicely to hard and fast rules and I like to stretch the boundries and see how far I can take a piece of code before it falls over.

I just get the feeling that Microsoft didn't take ASP as far as they could have but it seems they have done a realy number with C#. I am looking forward to getting my teeth into that.

Anyways the point I am trying to make is this - Neither language has significant performance difference on a correctly configured server, they both have favourite OS's and favourite DBMS's.

To say one is better is unfair, just find the one that works for you.

PS - I think it was on PHP.net that I read " ...theoretically with PHP you should be able to write a web server... "
Watch me grow
  • Carnix
  • Guru
  • Guru
  • User avatar
  • Joined: Apr 28, 2004
  • Posts: 1099
  • Status: Offline

Post May 21st, 2004, 6:18 am

ATNO/TW wrote:
Actually if it's available to you the SQL Server 2000 is a bettter choice than MSSQL.


I was taking MSSQL as either a typo or a mis-abbreviation for mySQL or MS SQL Server... but... are you refering to MSDE 2000?

Anyway, MSDE is superior to Access, but that's about it. If you can choose, choose MSDE if you don't have SQL Server. SQL Server and Oracle are pretty much the top of the line systems, but then, that's why they are several thousands of dollars.

Many people will argue that mySQL is on par with those system, but that's really just silly. Where you would be right in that assersion is in the fact that for probably 85% of database integration work, mySQL is more or less as good since it, like all descent relational databases, follow some core SQL standards. Where the really significant database servers, like SQL Server and Oracle, really shine are in the other extended SQL functions, like nested SQL statements, shorthands, etc. Nested SQL is really pretty cool...

SELECT * FROM table WHERE something=(SELECT * FROM anothertable WHERE something=something)

It's hard to wrap your head around that if you've never done it... It took me a while to figure it out as well. My org's donor database runs on Oracle, and for some reports, I've written 25, 30 line (sometimes longer) SQL queries that span 20 different tables...

So... the point is, mySQL is in the upper middle tier of database systems. It's really good, but there are better and it's by far not the worst you can do. However, as I'm mentioned in other posts, always pick your technology based on your requirements. Sometimes an Access database will actually do it for you... or even a flat CSV file.

.c
  • Rabid Dog
  • Web Master
  • Web Master
  • User avatar
  • Joined: May 21, 2004
  • Posts: 3229
  • Loc: South Africa
  • Status: Offline

Post May 21st, 2004, 6:44 am

Carnix wrote:
Many people will argue that mySQL is on par with those system, but that's really just silly. .c


I would have to agree with you on that one, unfortunately mySQL is not as strong as MS SQL. Although it does support alot of features that no one has really seen (besides the people that go digging).

I find it is pretty strong but when it comes to rapid deployment Microsoft is superior
Watch me grow

Post Information

  • Total Posts in this topic: 21 posts
  • Users browsing this forum: No registered users and 120 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.