COM+/ASP

mundania

Senior member
Jun 17, 2000
921
0
0
I've been trying to find good forums on COM+ and ASP but to no avail.
Most of the ones I've found aren't posted too a lot, or have
an awful interface.

Also, any suggestions for news groups?
 

The Mutha

Senior member
Oct 10, 1999
471
0
0
How about you quit using ASP, which is an awefull scripting language?

Why don't you switch to something worthwhile, like PHP.
Only Microsoft would make you create an instance of a class just so you can connect to a database. I mean, OO is cool, but that's just a little too much for my taste.
 

coder1

Senior member
Jul 29, 2000
433
0
0
A couple of decent places would be asp101.com and vbworld.com. These sites do have ASP forums.
Also on the note:



<< How about you quit using ASP, which is an awefull scripting language? >>



I just hate statements like this. No facts or anything, just someone (usually Anti-MS) that states that the language sucks. And by the way ASP is not a scripting language. Its a technology that allows scripting language to run server side. So you can actaully use VBscript, JavaScript, Perl, and there are others. Which one of these suck again? Let me guess, you also prefer CORBRA and JSP over COM+ and VB. I actaully prefer ASP over PHP. I think its a simple but powerful technology thats got a great hold on the market.
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
The_Mutha: If you *must* manifest your ignorance, please do it elsewhere.

You lack more clue than an intellectual neophyte of the highest degree. I could point out how idiotic your statement was, but I think it was obvious. Did you know you can use PHP in ASP? Probably not.

I could point out _many_ reasons why PHP is awful, but you probably wouldn't understand that either. Drop the bigotry, quit regurgitating garbage you hear from others, and pick up a clue :)

I apologize to others for my rant, I just get annoyed by ignorant people.



 

Emulex

Diamond Member
Jan 28, 2001
9,759
1
71
asp is good for quick and dirty database access, with sql7 and oracle , of course ASP eats a ton of resources compared to say php, and generally the whole IIS webserver/asp model requires a buttload more cpu power to accomplish the same task.

Of course with chilisoft.com you can write asp on unix :) god knows why you'd want to do that.

there's a lotta financial apps that pretty much require asp due to the crappy misft
 

StageLeft

No Lifer
Sep 29, 2000
70,150
5
0
I'm glad that some people jumped down Mutha's throat so I didn't have to. Statements like Why don't you switch to something worthwhile, like PHP. make very little sense when you look at the job market right now. By this I mean out of 100 web development jobs what percentage require ASP? Way way more than those that want PHP.

Just as saying &quot;unix rulez, M$ sux&quot; won't get you a job, neither will saying &quot;ASP sucks and php rules&quot;. In fact out of the last 200 jobs I've looked at in web development _not a single one even mentioned PHP_ - ok I lie, maybe two or three of them did. Whether you like microsoft or not only a fool would deny that they have a massive influence in IT and ignoring them is simply ignorant.

Only Microsoft would make you create an instance of a class just so you can connect to a database. I mean, OO is cool, but that's just a little too much for my taste.

If you're not using COM objects you don't need to create an instance of a class. Furthermore OO is more than just &quot;cool&quot;!
 

miniMUNCH

Diamond Member
Nov 16, 2000
4,159
0
0
look around on codeguru.com...mostly C++, COM+, and VB but there other stuff too and good links.
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
Emulex: Please don't post subjective performance numbers unless you provide a link :)

You guys are completely missing the point. PHP is a highly NON-ORTHOGONAL language. ASP is not a language at all, and is built as an isapi extension to IIS which incurs some overhead. ASP is not meant to be the panacean solution for web applications, that's why COM (and MTS)/COM+ exist. Show me some performance numbers w/ PHP as a solution vs. a PROPERLY DESIGNED COM (and MTS)/COM+ application w/ ASP as the presentation layer, and w/ VB COM components/ISAPI extensions/C++ COM components that come anywhere close.

Am I a bigot? No. I work w/ PHP on a daily basis, and it certainly has it's place. There are things that irk me about working w/ ASP, but I don't make ignorant claims to the contrary.

 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
Glad to see Skoorb can follow as well.

I just wanted to further note, that the creation of a class to _do_ something (in Mutha's example, 'to connect to a database') is hardly a Microsoft methodology. Read page 1 of your C++ book and you might run into your basic OO concepts that cover this.
 

The Mutha

Senior member
Oct 10, 1999
471
0
0
Descartes,

Spare me your worthless pretentious rhetoric. ASP has its merits, and so does PHP. I was just pointing out that I find it a little annoying that to make a simple connection to a database in ASP, you have to create an instance of an class.

Who cares if you can run PHP from an ASP script? Who the hell cares?? In fact, you could do the same in PHP, as long as you have compiled support for both scripting languages in your webserver... say, you have ChilliASP module and PHP support compiled into Apache. Who cares anyway? If you really must you can just about run any other programming language within PHP if you want throgh a system call. You can also do that with ASP, so who cares?

Can you dynamically generate images in ASP?? PHP could do it since version 3.
Can you dynamically generate PDF documents in ASP? PHP could do it a long time ago.
How easily can you connect to just about any RDBMS in the world with ASP? PHP has support for all of them, and no, you don't need some lame ODBC driver, or some ADO crap. Ohh and let me guess, you can connect to a database and run a query in just one line of code with ASP right?

What else? Ohh yeah, its free to run ASP in any web server right? Ehh, not unless its with IIS. PHP for free on all platforms. How fast is ASP? Yeah... don't make me laugh.


Either way, both ASP and PHP serve a good purpose. While ASP has more mature session support, PHP has better database connectivity. They are both just tools... if you want to get into some philosophical discussion about the pros and cons of ASP and PHP, you'll just end up getting into a Microsoft/Open Source debate.

It seems that you feel threatened by PHP in some way, since all I mentioned was that ASP is forcing you to program &agrave; la OO, while PHP gives you the choice. OO is great, but sometimes its over the top for simple tasks.

If you wish I can show you examples of my work, such as a website in which every page calls a dozen tables to dynamically generate the content, the language, the statistics, and so on - and does so in less than 0.04 seconds.

LAMAH.
 

The Mutha

Senior member
Oct 10, 1999
471
0
0
The OO paradigm is great - especially when you are dealing with large projects. Not only is it easier to visualize the whole system, its also better for code reusability. Any decent programmer knows the merits of OO.

If you are looking at the point of view of trying to find a job, such as Skoorb mentioned, yes, you cannot ignore ASP as a web scripting language. This however, does not have anything to do with my original post, stating that I find it rather cumbersome (for small simple tasks), to connect to a database using some methods from an object you have to instantiate. Granted that if you are used that that way of programming, this won't be a problem.

There is nothing wrong with using PHP, or ASP for that matter. In fact, I find that ASP and PHP both keep each other on their toes. Just about anything that one can do, the other can as well, some way or another. It just comes down to a matter of preference, and the platform you are coding in.

We could get into a whole ASP vs. PHP discussion here, but I find it rather pointless. There are many high-traffic websites that are using PHP, and many that are using ASP. While there are many that are using ASP right now, that has more to do with MS market leverage and marketing that on the actual merits of the tool (I find). Wouldn't you be more skeptical to use a language such as PHP just when it came out... with no name, no background, no credentials? Hell yeah! But why are so many peolple using it today? For different reasons to ASP, that's for sure - but these reasons are just as valid. It all comes down to what camp you are from.

I myself started using ASP, in fact, my end-year thesis for my BSc. Hons in CS at UMIST, England, was on &quot;A dynamic database-driven user interface for online shopping&quot; This was back in 1998. ASP did the job well. Two months ago I just completed the development of This frech website specializing in selling gourmet foods. I used PHP for that.... for several reasons.

What I can say is this - I did extensive testing using both ASP and PHP, and for a multi-lingual website (with support for up to 10 languages), that must load a page in less that 0.5 seconds (dynamic content that is), PHP turned out to be faster. 110,000 lines of code (took a while). A very complex sales system, a very complex logistics system - granted these things are more time-consuming to code than hard on the server - but for these needs, it was PHP.

Anyway, sorry to say

<< How about you quit using ASP, which is an awefull scripting language? >>

The reason why I said this goes beyong just ASP vs PHP. If you just look as ASP and PHP objectively, they can both do just about the same things - just for my needs PHP ended up proving to be the best of the two.
 

Descartes

Lifer
Oct 10, 1999
13,968
2
0
I had a BIG shpeel (sp?) here, but deleted it.

I see no reason to argue. If you feel that PHP is the solution for your problem, and you're comfortable with it, then more power to you.

Btw, if you want my &quot;shpeel&quot;, I'd be happy to IM it to you :)