| home | resources | search | news | join | members: 6959 |
windows | Wed, 2008-08-06 12:54 tags: .NET, Review, Web Developer, asp.net, jscript.NET, microsoft Is it the black sheep of the family? The redheaded step child? or maybe one of the best keep secrets of Microsoft. Jscript.NET has long been hidden and removed from the choices among the ASP.NET family languages. It is probably the most versitile of all .NET languages and if handled right could push PHP aside as the dominant web language. The following are some of the hightlights from wikipedia which clearly display that Jscript.NET could be used to fill the gap between classic ASP and the move to ASP.NET. A threat to PHP?The only real challenger to PHP's web dominance is javascript. Javascript has grown with AJAX technology and a never ending stream of frameworks. It has without a doubt overshadowed PHP in the new tricks category of web development. Javascripts only problem is that it is still a client-side scripting language and bound within the limits of the web browser. Jscript.NET with it's kinship to javascript could change all of that. The next generation of web developers might find themselves writing applications in Jscript.NET because though not exact it may seem like a write once run everywhere language. With .NET rapidly being spread into the Linux world with MONO.NET many cross-platform barriers could fall very quickly. PHP would find itself looking back to see how close Jscript.NET was getting. JScript .NET is a .NET programming language developed by Microsoft as a natural successor to Microsoft's Active Scripting language JScript. Both JScript and JScript .NET are languages whose syntax is based on that of C language. JScript has no relation to Sun Microsystems' Java language.[1] The primary differences between JScript and JScript .NET can be summarized as follows: The original JScript is a scripting language, and as such programs (or more suggestively, scripts) can be executed without the need to compile the code first. This is not the case with the JScript .NET command-line compiler, since this next-generation version relies on the .NET Common Language Runtime (CLR) for execution, which requires that the code be compiled to Common Intermediate Language (CIL), formerly called Microsoft Intermediate Language (MSIL), code before it can be run. Nevertheless, JScript .NET still provides full support for interpreting code at runtime (eg, via the Function constructor or the eval function) and indeed the interpreter can be exposed by custom applications hosting the JScript .NET engine via the VSA interfaces. Secondly, the original JScript had a strong foundation in Microsoft's ActiveX/COM technologies, and relied primarily on ActiveX components to provide much of its functionality (including database access via ADO, file handling etc.), whereas JScript .NET uses the .NET Framework to provide equivalent functionality. For backwards-compatibility (or for where no .NET equivalent library exists), JScript .NET still provides full access to ActiveX objects via .NET / COM interop using both the ActiveXObject constructor and the standard methods of the .NET Type class. Although the .NET Framework and .NET languages such as C# and Visual Basic .NET have seen widespread adoption, JScript .NET has never received much attention, by the media or by developers. It is not supported in Microsoft's premier development tool, Visual Studio .NET, and it's unlikely that future versions of .NET will feature JScript .NET prominently. However, ASP.NET supports JScript .NET. //
if (window.showTocToggle) {
var tocShowText = "show";
var tocHideText = "hide";
showTocToggle();
} //
Language differencesThe following are prime examples of languages differences between JScript .NET and other .NET languages, including comparisons. Differences with C#
Differences with C++
e.g.: import System;
Console.WriteLine("Hello, what's your name?");
Console.WriteLine("Type your name: ");
var _name = Console.ReadLine();
Console.WriteLine("Hello, " + _name);
Differences with Java
Differences with older versions of JScript
ReferencesGranted Jscript.NET has a few weaknesses but none that could not be overcome by a little attention. The fact that it is used in Silverlight shows that Microsoft is not ready to abandon it. With it's javascript roots and syntax Jscript.NET could attract a whole new generation of coders to ASP.NET and other Microsoft technologies.
Thoughtbox - So what did you think? |
Wordpress London Hotels
Windows Laptop Reviews
Adobe Flex Content Management Systems Just Dial International Calls
ASP.NET Excel Training Courses
Wordpress excel courses in london
ASP.NET Data Recovery
|
||||||||
NewsletterGet updates on Hiveminds services, articles and downloads by signing up for the newsletter. |
Editor's choiceSome of the better articles, stories and tutorials found at Hiveminds. |
Find moreFind more of Hiveminds articles, stories, tutorials and user comments by searching. |
Picked linksHand picked websites and articles from around the web that provide quality reading. |