Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 10:59 AM
Laser Lu
Guest
 
Posts: n/a
Default ASP vs. CGI?

In ASP and CGI, which one would be executed more fast and has the better
execution efficiency in IIS?
And how about writing CGI in VB?
--
Best regards,
Laser Lu


  #2  
Old July 19th, 2005, 10:59 AM
Aaron Bertrand [MVP]
Guest
 
Posts: n/a
Default Re: ASP vs. CGI?

*groan*

Which is better, peanut butter or honey?

These questions do absolutely nothing except start religious flame wars.

Search the web.







"Laser Lu" <lu_yanfeng@hotmail.com> wrote in message
news:#OAYptk1DHA.2160@TK2MSFTNGP12.phx.gbl...[color=blue]
> In ASP and CGI, which one would be executed more fast and has the better
> execution efficiency in IIS?
> And how about writing CGI in VB?
> --
> Best regards,
> Laser Lu
>
>[/color]


  #3  
Old July 19th, 2005, 10:59 AM
Harag
Guest
 
Posts: n/a
Default Re: ASP vs. CGI?



peanut butter with nuts!!!

I just love Peanut Butter & treacle (syrup to the USA) sarnies :)

Al.


On Thu, 8 Jan 2004 20:53:15 -0500, "Aaron Bertrand [MVP]"
<aaron@TRASHaspfaq.com> wrote:
[color=blue]
>*groan*
>
>Which is better, peanut butter or honey?
>
>These questions do absolutely nothing except start religious flame wars.
>
>Search the web.
>
>
>
>
>
>
>
>"Laser Lu" <lu_yanfeng@hotmail.com> wrote in message
>news:#OAYptk1DHA.2160@TK2MSFTNGP12.phx.gbl...[color=green]
>> In ASP and CGI, which one would be executed more fast and has the better
>> execution efficiency in IIS?
>> And how about writing CGI in VB?
>> --
>> Best regards,
>> Laser Lu
>>
>>[/color]
>[/color]

  #4  
Old July 19th, 2005, 10:59 AM
Tom B
Guest
 
Posts: n/a
Default Re: ASP vs. CGI?

no nuts. They hurt my gums.

"Harag" <harag@REMOVETHESECAPITALSsofthome.net> wrote in message
news:714svvgsgbjsg0u36tbm26gfo5ksk6vf4t@4ax.com...[color=blue]
>
>
> peanut butter with nuts!!!
>
> I just love Peanut Butter & treacle (syrup to the USA) sarnies :)
>
> Al.
>
>
> On Thu, 8 Jan 2004 20:53:15 -0500, "Aaron Bertrand [MVP]"
> <aaron@TRASHaspfaq.com> wrote:
>[color=green]
> >*groan*
> >
> >Which is better, peanut butter or honey?
> >
> >These questions do absolutely nothing except start religious flame wars.
> >
> >Search the web.
> >
> >
> >
> >
> >
> >
> >
> >"Laser Lu" <lu_yanfeng@hotmail.com> wrote in message
> >news:#OAYptk1DHA.2160@TK2MSFTNGP12.phx.gbl...[color=darkred]
> >> In ASP and CGI, which one would be executed more fast and has the[/color][/color][/color]
better[color=blue][color=green][color=darkred]
> >> execution efficiency in IIS?
> >> And how about writing CGI in VB?
> >> --
> >> Best regards,
> >> Laser Lu
> >>
> >>[/color]
> >[/color]
>[/color]


  #5  
Old July 19th, 2005, 11:00 AM
Jeff Cochran
Guest
 
Posts: n/a
Default Re: ASP vs. CGI?

On Thu, 8 Jan 2004 20:53:15 -0500, "Aaron Bertrand [MVP]"
<aaron@TRASHaspfaq.com> wrote:
[color=blue]
>*groan*
>
>Which is better, peanut butter or honey?[/color]

And, just like peanut butter and honey, they're not mutually
exclusive. :)

Jeff
[color=blue]
>"Laser Lu" <lu_yanfeng@hotmail.com> wrote in message
>news:#OAYptk1DHA.2160@TK2MSFTNGP12.phx.gbl...[color=green]
>> In ASP and CGI, which one would be executed more fast and has the better
>> execution efficiency in IIS?
>> And how about writing CGI in VB?
>> --
>> Best regards,
>> Laser Lu
>>
>>[/color]
>[/color]

  #6  
Old July 19th, 2005, 11:00 AM
Jeff Cochran
Guest
 
Posts: n/a
Default Re: ASP vs. CGI?

On Fri, 9 Jan 2004 08:54:53 +0800, "Laser Lu" <lu_yanfeng@hotmail.com>
wrote:
[color=blue]
>In ASP and CGI, which one would be executed more fast and has the better
>execution efficiency in IIS?[/color]

Absolutely.
[color=blue]
>And how about writing CGI in VB?[/color]

There is that option.

Jeff
  #7  
Old July 19th, 2005, 11:00 AM
Ray at
Guest
 
Posts: n/a
Default Re: ASP vs. CGI?

Honey is good in tea and in graham crackers. Peanut butter is a bit weird.

Ray at work

"Aaron Bertrand [MVP]" <aaron@TRASHaspfaq.com> wrote in message
news:%23YTGaNl1DHA.2388@TK2MSFTNGP09.phx.gbl...[color=blue]
>
> Which is better, peanut butter or honey?
>[/color]


  #8  
Old July 19th, 2005, 11:00 AM
William Morris
Guest
 
Posts: n/a
Default Re: ASP vs. CGI?

What do you know how to program in? Perl? Cool, go CGI. VB? Cool, go
ASP. Your ISP is Linux/Unix, you say? Cool, go CGI. What? They've got
ChiliSoft? Oh, well, then go ASP. But you don't know VB? Oh, then go CGI.
Wait, you bought an VBScript book? ASP's the thing for you.

Leverage what you got Laser...since in most cases the server is going to
process stuff a lot faster than your users will ever see stuff in their
browser, it hardly matters.

"Laser Lu" <lu_yanfeng@hotmail.com> wrote in message
news:%23OAYptk1DHA.2160@TK2MSFTNGP12.phx.gbl...[color=blue]
> In ASP and CGI, which one would be executed more fast and has the better
> execution efficiency in IIS?
> And how about writing CGI in VB?
> --
> Best regards,
> Laser Lu
>
>[/color]


  #9  
Old July 19th, 2005, 11:00 AM
Aaron Bertrand - MVP
Guest
 
Posts: n/a
Default Re: ASP vs. CGI?

Exactly.

Let's say an ASP page handles a certain task in 0.5 seconds. And CGI takes
0.6 seconds. However, your knowledge is in CGI.

Is it worth it to take the learning curve hit, switch all of your code over
to ASP, to gain 0.1 seconds that no human is ever going to notice? And
introduce the risk of bugs or other unexpected behavior?

Now, a lot of the JSP sites I've been to might be able to take advantage of
a switch. But I'm betting it's the coding style, hardware, or database
limitations that is causing the slowdown, not a technology choice. Anybody
can make a particular technology perform poorly or incorrectly, and it takes
surprisingly little effort.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/




"William Morris" <news.remove.this.and.the.dots@seamlyne.com> wrote in
message news:btmot7$8n8pp$1@ID-205671.news.uni-berlin.de...[color=blue]
> What do you know how to program in? Perl? Cool, go CGI. VB? Cool, go
> ASP. Your ISP is Linux/Unix, you say? Cool, go CGI. What? They've got
> ChiliSoft? Oh, well, then go ASP. But you don't know VB? Oh, then go[/color]
CGI.[color=blue]
> Wait, you bought an VBScript book? ASP's the thing for you.
>
> Leverage what you got Laser...since in most cases the server is going to
> process stuff a lot faster than your users will ever see stuff in their
> browser, it hardly matters.
>
> "Laser Lu" <lu_yanfeng@hotmail.com> wrote in message
> news:%23OAYptk1DHA.2160@TK2MSFTNGP12.phx.gbl...[color=green]
> > In ASP and CGI, which one would be executed more fast and has the better
> > execution efficiency in IIS?
> > And how about writing CGI in VB?
> > --
> > Best regards,
> > Laser Lu
> >
> >[/color]
>
>[/color]


  #10  
Old July 19th, 2005, 11:01 AM
Laser Lu
Guest
 
Posts: n/a
Default JScript or VBScript?

Aaron, thank you for guiding me.
Now, I'm planning developing an Application using Classic ASP. And, I've
once heard that, in ASP, JScript is a flexible script language, but takes
the lower execution efficiency than VBScript does. I wonder if it is true,
since I have learned both of these two script languages and have to make a
choice.

--
Best regards,
Laser Lu
"Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
news:%23vPDJjt1DHA.536@tk2msftngp13.phx.gbl...[color=blue]
> Exactly.
>
> Let's say an ASP page handles a certain task in 0.5 seconds. And CGI[/color]
takes[color=blue]
> 0.6 seconds. However, your knowledge is in CGI.
>
> Is it worth it to take the learning curve hit, switch all of your code[/color]
over[color=blue]
> to ASP, to gain 0.1 seconds that no human is ever going to notice? And
> introduce the risk of bugs or other unexpected behavior?
>
> Now, a lot of the JSP sites I've been to might be able to take advantage[/color]
of[color=blue]
> a switch. But I'm betting it's the coding style, hardware, or database
> limitations that is causing the slowdown, not a technology choice.[/color]
Anybody[color=blue]
> can make a particular technology perform poorly or incorrectly, and it[/color]
takes[color=blue]
> surprisingly little effort.
>
> --
> Aaron Bertrand
> SQL Server MVP
> http://www.aspfaq.com/
>
>
>
>
> "William Morris" <news.remove.this.and.the.dots@seamlyne.com> wrote in
> message news:btmot7$8n8pp$1@ID-205671.news.uni-berlin.de...[color=green]
> > What do you know how to program in? Perl? Cool, go CGI. VB? Cool, go
> > ASP. Your ISP is Linux/Unix, you say? Cool, go CGI. What? They've[/color][/color]
got[color=blue][color=green]
> > ChiliSoft? Oh, well, then go ASP. But you don't know VB? Oh, then go[/color]
> CGI.[color=green]
> > Wait, you bought an VBScript book? ASP's the thing for you.
> >
> > Leverage what you got Laser...since in most cases the server is going to
> > process stuff a lot faster than your users will ever see stuff in their
> > browser, it hardly matters.
> >
> > "Laser Lu" <lu_yanfeng@hotmail.com> wrote in message
> > news:%23OAYptk1DHA.2160@TK2MSFTNGP12.phx.gbl...[color=darkred]
> > > In ASP and CGI, which one would be executed more fast and has the[/color][/color][/color]
better[color=blue][color=green][color=darkred]
> > > execution efficiency in IIS?
> > > And how about writing CGI in VB?
> > > --
> > > Best regards,
> > > Laser Lu
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]


  #11  
Old July 19th, 2005, 11:01 AM
Aaron Bertrand [MVP]
Guest
 
Posts: n/a
Default Re: JScript or VBScript?

> once heard that, in ASP, JScript is a flexible script language, but takes[color=blue]
> the lower execution efficiency than VBScript does.[/color]

No, this is not true. Program with whichever language you're more
comfortable with (or the rest of your team, or who is most likely to take
over the code should you leave).

There are a few huge JScript proponents here, however I think most of the
help you'll find will be from users proficient in VBScript and so-so in
JScript. Also, many of the sample/FAQ sites (including mine) show code
samples that are primarily VBScript-based. So if you want to integrate
existing samples quickly, VBScript might be a better choice. Microsoft's
documentation is better than it once was, but I'm finding the MSDN library
increasingly difficult to search -- most of the stuff I search for shows 20
pages of .NET stuff before it ever gets to ASP samples.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


  #12  
Old July 19th, 2005, 11:02 AM
Brynn
Guest
 
Posts: n/a
Default Re: JScript or VBScript?


Most of the developers I have worked with do VBScript ASP, Javascript
Client-side, VB Com (only when necessary), SQL Database

Brynn

On Sat, 10 Jan 2004 13:44:18 +0800, "Laser Lu"
<lu_yanfeng@hotmail.com> wrote:
[color=blue]
>Aaron, thank you for guiding me.
>Now, I'm planning developing an Application using Classic ASP. And, I've
>once heard that, in ASP, JScript is a flexible script language, but takes
>the lower execution efficiency than VBScript does. I wonder if it is true,
>since I have learned both of these two script languages and have to make a
>choice.
>
>--
>Best regards,
>Laser Lu
>"Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
>news:%23vPDJjt1DHA.536@tk2msftngp13.phx.gbl...[color=green]
>> Exactly.
>>
>> Let's say an ASP page handles a certain task in 0.5 seconds. And CGI[/color]
>takes[color=green]
>> 0.6 seconds. However, your knowledge is in CGI.
>>
>> Is it worth it to take the learning curve hit, switch all of your code[/color]
>over[color=green]
>> to ASP, to gain 0.1 seconds that no human is ever going to notice? And
>> introduce the risk of bugs or other unexpected behavior?
>>
>> Now, a lot of the JSP sites I've been to might be able to take advantage[/color]
>of[color=green]
>> a switch. But I'm betting it's the coding style, hardware, or database
>> limitations that is causing the slowdown, not a technology choice.[/color]
>Anybody[color=green]
>> can make a particular technology perform poorly or incorrectly, and it[/color]
>takes[color=green]
>> surprisingly little effort.
>>
>> --
>> Aaron Bertrand
>> SQL Server MVP
>> http://www.aspfaq.com/
>>
>>
>>
>>
>> "William Morris" <news.remove.this.and.the.dots@seamlyne.com> wrote in
>> message news:btmot7$8n8pp$1@ID-205671.news.uni-berlin.de...[color=darkred]
>> > What do you know how to program in? Perl? Cool, go CGI. VB? Cool, go
>> > ASP. Your ISP is Linux/Unix, you say? Cool, go CGI. What? They've[/color][/color]
>got[color=green][color=darkred]
>> > ChiliSoft? Oh, well, then go ASP. But you don't know VB? Oh, then go[/color]
>> CGI.[color=darkred]
>> > Wait, you bought an VBScript book? ASP's the thing for you.
>> >
>> > Leverage what you got Laser...since in most cases the server is going to
>> > process stuff a lot faster than your users will ever see stuff in their
>> > browser, it hardly matters.
>> >
>> > "Laser Lu" <lu_yanfeng@hotmail.com> wrote in message
>> > news:%23OAYptk1DHA.2160@TK2MSFTNGP12.phx.gbl...
>> > > In ASP and CGI, which one would be executed more fast and has the[/color][/color]
>better[color=green][color=darkred]
>> > > execution efficiency in IIS?
>> > > And how about writing CGI in VB?
>> > > --
>> > > Best regards,
>> > > Laser Lu
>> > >
>> > >
>> >
>> >[/color]
>>
>>[/color]
>
>[/color]

  #13  
Old July 19th, 2005, 11:08 AM
Guest
 
Posts: n/a
Default Re: ASP vs. CGI?

dont see your point at all. you can make CGI in VB easily, so what the point
for these comparsion and examples that CGI can be done in Perl only?? You
can write CGI app (CGI is jus a term, not a language) in any language as you
wish, VB, C++, Rapid-Q, BLOC, whatever.


"William Morris" <news.remove.this.and.the.dots@seamlyne.com> wrote in
message news:btmot7$8n8pp$1@ID-205671.news.uni-berlin.de...
: What do you know how to program in? Perl? Cool, go CGI. VB? Cool, go
: ASP. Your ISP is Linux/Unix, you say? Cool, go CGI. What? They've got
: ChiliSoft? Oh, well, then go ASP. But you don't know VB? Oh, then go
CGI.
: Wait, you bought an VBScript book? ASP's the thing for you.


  #14  
Old July 19th, 2005, 11:09 AM
Aaron Bertrand - MVP
Guest
 
Posts: n/a
Default Re: ASP vs. CGI?

I think he was just saying that if you're familiar with the VB language, it
will be very easy to learn ASP (if you choose VBScript as your ASP
language).

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/




"<spider/>" <bol_spider@yahoo.com> wrote in message
news:bu5g07$drctr$1@ID-155519.news.uni-berlin.de...[color=blue]
> dont see your point at all. you can make CGI in VB easily, so what the[/color]
point[color=blue]
> for these comparsion and examples that CGI can be done in Perl only?? You
> can write CGI app (CGI is jus a term, not a language) in any language as[/color]
you[color=blue]
> wish, VB, C++, Rapid-Q, BLOC, whatever.
>
>
> "William Morris" <news.remove.this.and.the.dots@seamlyne.com> wrote in
> message news:btmot7$8n8pp$1@ID-205671.news.uni-berlin.de...
> : What do you know how to program in? Perl? Cool, go CGI. VB? Cool, go
> : ASP. Your ISP is Linux/Unix, you say? Cool, go CGI. What? They've[/color]
got[color=blue]
> : ChiliSoft? Oh, well, then go ASP. But you don't know VB? Oh, then go
> CGI.
> : Wait, you bought an VBScript book? ASP's the thing for you.
>
>[/color]


  #15  
Old July 19th, 2005, 11:09 AM
Guest
 
Posts: n/a
Default Re: ASP vs. CGI?

Who knows =) maybe...

"Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message
news:e94aaI32DHA.3224@tk2msftngp13.phx.gbl...
: I think he was just saying that if you're familiar with the VB language,
it
: will be very easy to learn ASP (if you choose VBScript as your ASP
: language).
:
: --
: Aaron Bertrand
: SQL Server MVP
: http://www.aspfaq.com/
:


  #16  
Old July 19th, 2005, 11:09 AM
William Morris
Guest
 
Posts: n/a
Default Re: JScript or VBScript?

I've given up going to the MSDN site; it's f'n worthless. I can get what I
want from newsgroups ~ orders of magnitude faster ~ than I can by relying on
Microsoft's own documentation.

"Aaron Bertrand [MVP]" <aaron@TRASHaspfaq.com> wrote in message
news:un$6Z5z1DHA.1704@tk2msftngp13.phx.gbl...[color=blue][color=green]
> > once heard that, in ASP, JScript is a flexible script language, but[/color][/color]
takes[color=blue][color=green]
> > the lower execution efficiency than VBScript does.[/color]
>
> No, this is not true. Program with whichever language you're more
> comfortable with (or the rest of your team, or who is most likely to take
> over the code should you leave).
>
> There are a few huge JScript proponents here, however I think most of the
> help you'll find will be from users proficient in VBScript and so-so in
> JScript. Also, many of the sample/FAQ sites (including mine) show code
> samples that are primarily VBScript-based. So if you want to integrate
> existing samples quickly, VBScript might be a better choice. Microsoft's
> documentation is better than it once was, but I'm finding the MSDN library
> increasingly difficult to search -- most of the stuff I search for shows[/color]
20[color=blue]
> pages of .NET stuff before it ever gets to ASP samples.
>
> --
> Aaron Bertrand
> SQL Server MVP
> http://www.aspfaq.com/
>
>[/color]


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles