|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Which is better Perl or ASP with VBScript? can you give reasons?
__________________
Thank you |
|
#2
|
|||
|
|||
|
What are you comparing?
|
|
#3
|
|||
|
|||
|
I think you are asking which language, Perl or ASP, would work better with VBScript.
I would have to reply, ASP. Both are developed by MicroSoft so it just seems reasonable that there proprietary languages would work better together. Of course, I could be wrong. I would never use VBScript for anything so I've no experience with this. I don't like ASP either so again, no experience. Hope that helps, although rereading it I can see that it probably won't. Sorry.
__________________
- dsb - ![]() Perl Guy |
|
#4
|
|||
|
|||
|
Well, since you gave no explanation of what exactly you want to know, I will give you two answers:
1) If you want to know which solution is better for deploying Web applications, I can only say it depends on the platform you are working on. If its a UNIX, then Perl wins. No question there. On NT, things start to get a little tougher, especially because you can use Perl, via PerlScript, in ASP, as well as an ISAPI module and as an ordinary binary. I program with JScript on ASP, and personally dislike VBS very much. If you need to do some simple database connecting stuff, I guess VBS would be a way to go,m since its a lot easier than Perl. But, if you want to work with regexps a lot and have some serious text processing, use PerlScript...You get the performance of ASP and the power of Perl. ![]() 2) I guess I already answered the second question, which would be "What language to use with ASP". Mind you, dbs, that ASP is not a language but essentially a solution which can work with any ActiveX compliant language. You can also use Python inside ASP (provided you have the ActivePython installed, but its free). Why is Perl better then VBS:
These are just some of the advantages of Perl over VBS. One of the disadvantages ins using PerlScript in ASP is its awkard control of hte Request object's Form and QueryString collections. However, that can be solved as well using some modules... HTH. |
|
#5
|
|||
|
|||
|
Explanation
Oops! I guess I wan't clear. I was trying to compare Perl with ASP (in particular ASP with VBscript). The question was which language is best suited for the Internet?
|
|
#6
|
|||
|
|||
|
Well, I already gave you some comparisons. If you are working on UNIX, then Perl is the way to go, since ASP doesn't exist there (well, OK, there is the Chilly!Soft variant, but thats funny). You can also consider PHP. But if you are stuck on Windows NTm then ASP with VBScript is the preffered solution.
Personally, I dislike VBScript very much. It cannot do almost anything on its own, you have to turn to server-side objects. As some of the benchmarks shown, the main bottleneck in ASP is the heavy use of server-side objects (also called components). |
|
#7
|
|||
|
|||
|
OK. How about getting more specific:
1. which language takes up more system resources from the machine Perl or VBscript (ASP)? 2. Which language is faster? 3. Which one is more popular? 4. Which one is easier as far as HTML goes? |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > Which is better Perl or ASP with VBScript? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|