View Full Version : JScript tutorials and script samples for ASP
bcarl314
05-21-2003, 01:31 PM
I'm starting to learn ASP for a job, and rather than start from scratch with VBScript, I understand that ASP can be written in MS JScript, which is similar to JavaScript as I understand it.
Does anyone know of some sources / tutorials for JScript other than the MS website? I specifically interested in connecting to an Oracle DB with JScript.
I've done a search on google, but can't find anything with JScript. Lots with VBScript, but I'm not interested in learning that unless absolutley necessary.
Thanks for the help
Bullschmidt
05-21-2003, 01:55 PM
CoverYourASP.com by James Shaw
http://www.coveryourasp.com/
Has sample code that is server-side JavaScript.
whammy
05-24-2003, 01:07 AM
Good luck if you want to use JScript though, for ASP - you'll find MUCH more documentation for VBScript, and it's a really easy (and potentially sloppy - one drawback) language.
Eskimo
05-28-2003, 10:47 PM
I have done just fine working with JScript in ASP. Its very true that you will find more documentation on VBScript. But it is not the only choice.
I don't know if its 'easier' to work in VBS, I suspect that it makes more sense to Simone that is unfamiliar with scripting and would like to learn how. Thats not a downside at all, most (90%+) of the ASP Sites you see are written in VBS, so you know it works fine. I have no clue why more people use one over the other.
I use JScript out of personal preference.
whammy
05-29-2003, 07:03 AM
Well JScript is a JavaScript knockoff, so of course it's better than VBScript, it has C-type syntax, and is much more strict (yay). :)
Sometimes I use it out of sheer laziness since a certain function might be much easier to write in javascript. But the opposite occasionally holds true as well... for instance VBScript has a few really handy built-in date/time functions (not that you couldn't just write them in javascript and use your own API, though). ;)
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.