Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
JScript??
Message
De
03/08/1999 08:42:17
 
 
À
03/08/1999 06:44:43
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00249139
Message ID:
00249166
Vues:
26
>I admit to being confused between Java,Javascript, and Jscript. Question: Do you think it is worthwhile as a VFP programmer to acquire an ability to work with JScript? Can I use it to do things that VFP can't do?

Kenneth exaplained what Java is. What he did not make clear is the difference beween JavaScript, JScript ECMAScript, and VBScript.

None of these have a darn thing to do with Java. JavaScript, JScript and ECMAScript (the father of them both) are all 99% identical. The difference in names is mostly political: Netscape invented Javascript, MS invented JScript, and neither one of them really invented anything, they just gave ECMAScript a new name. All 3 of these script languages are used primarily for client or server side duties inside a web page (server side if you are using ASP). They are great for manipulating the HTML object model, simple validations and other shortwinded (and some longwinded) duties to be carried out before or while a web page is displayed. They are all fairly simple languages.

VBScript serves the same exact function as the above 3 languages, but it is made to be familiar to VB programmers. It is only compatible with IE (in terms of browsers- it has many other uses that have nothing to do with web pages). So VBScript, while it may be easier to read and understand, and maybe to use in general (matter of opinion I s'pose), it is not really politically correct to use in web pages for client side stuff, because you'll be leaving the Netscape crowd out.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform