Actually, SQL Server is more powerful than you think. You're making it seem like it's Access. SQL Server is meant to handle millions of records, and uses a large array of features such as indexing. (MySQL comes no where near to SQL Server.) Also, one of the main reasons why companies use ASP is because they have a WindowsNT server running. They have that because it's easier to maintain and setup (the network) with Windows than it is with Linux/Unix. And since ASP comes free with WindowsNT/2K, then they go for ASP.
Sometimes just because it's a good product, doesn't mean it's efficient for the company. I think it will be a while before PHP really catches up in the community. It's certainly a hot product right now, PHP, but it doesn't come close to the number of sites running ASP.
I used to be a big ASP fan. Then I went to PHP. I loved it. Then I stepped aside and now I'm doing ColdFusion. I think ColdFusion is the most enjoyable to work with because you can do an entire application in 1/4 the time it would take with any other language.
samaru
a.k.a inscissor
1,256 posts since Feb 2002
Reputation Points: 262
Solved Threads: 18
You better believe it. Here's how to run get a record set from an SQL database in ASP and display it. This is one of the shortest way to write it.
Dim objConn, objRS
Set objConn = Server.CreateObject ("ADODB.Connection")
objConn.Open "database"
Set objRS = objConn.Execute ("select * from table")
While Not objRS.eof
Response.Write objRS("user_namex")
objRS.Movenext
Wend
objRS.close
objConn.Close
Now in ColdFusion
select * from table
#user_namex#
any questions?
samaru
a.k.a inscissor
1,256 posts since Feb 2002
Reputation Points: 262
Solved Threads: 18
What do you mean? Somehow integrate it with the Execute method? I doubt it. If so, I've never tried it. I only used it along with Open method.
The only reason why I append the "obj" is because I learned it that way. "obj" stands for object of course. In Visual Basic, the standard is prefixing pic, frm, img, cmd, lbl, etc., before objects - that's why I do it that way.
samaru
a.k.a inscissor
1,256 posts since Feb 2002
Reputation Points: 262
Solved Threads: 18
Never had a problem with it. But I'm sure you can get an error under the right circumstance; I've never written a huge application in asp, so my chances of that were little. I've written a few address books, organizers, forums, logins, etc. Most of my real stuff has been in C++ and now ColdFusion.
Right now I'm trying to get together with a few buddies on developing an application. We still have to discuss what we're going to do, and what technologies to use. It should be fun.
samaru
a.k.a inscissor
1,256 posts since Feb 2002
Reputation Points: 262
Solved Threads: 18
---K--- - not always! ASP, and now especially ASP.NET can use many databases! Access, SQL Server, Oracle, and MySql!
Tekmaven
Software Architect
1,274 posts since Feb 2002
Reputation Points: 322
Solved Threads: 28
PHP = SQL ?
SQL is a language itself. I take it you meant the MySQL Server and not SQL Server. As far as databases connecting to scripts, there are tons of APIs for almost every language to communicate with any database. The popular trend though is mixing PHP with MySQL/PostgreSQL Server and ASP/ASP.NET with SQL Server or Access for a lightweight app.
samaru
a.k.a inscissor
1,256 posts since Feb 2002
Reputation Points: 262
Solved Threads: 18
I think it will be a while until classic ASP dies out. Too many systems have been written in ASP and I think it will cost too much to convert over to .NET. It's easier to just update code than rewrite it all. No features have been taken out from ASP so there's no reason still why you shouldn't use it. It's still a lot simpler than .NET and less software/hardware consuming than .NET. But then again, there's more you can do with .NET. Also, Microsoft is now concentrating more on .NET so I wouldn't get my hopes up on new inovations for classic ASP. Eventually the more .NET grows, the more the ASP community will die out and transfer over to .NET.
samaru
a.k.a inscissor
1,256 posts since Feb 2002
Reputation Points: 262
Solved Threads: 18
I still haven't gotten into any sort of .NET development yet. I really should. I've read about the architecture but have not yet embarked on any projects yet. Hopefully I'll have more time after the semester is over.
samaru
a.k.a inscissor
1,256 posts since Feb 2002
Reputation Points: 262
Solved Threads: 18