|
|
What is Javascript? Introduction List of Categories
- What is Javascript?
- What's the difference between JavaScript and Java?
- Core, Client Side or Server Side JavaScript?
-
What is Javascript?
JavaScript is an object oriented scripting language developed by Netscape. It has a core set of objects and language elements, which are further extended by either Client or Server side JavaScript.
Server Side JavaScript has capabilities similar to other server side languages such as Perl and ASP.
Client Side Javascript is executed by the client (a browser) and does not communicate with the server at all. This is what make JavaScript so popular and appealing to developers. Code is embeded into HTML documents and once downloaded by a browser, it kind of creates it's own little world shared by it, the browser and the end user.
What the above means is, a developer does not need to be connected to the internet to develop and test Javascripts.
-
What's the difference between JavaScript and Java?
The fundamental difference is that Java must be compiled (converted to that weird machine readable language) before it can be run. Where as JavaScript is open source and readable by anyone (some might say this is a problem within itself, as copyrights become an issue).
Java has a much higher learning curve and requires you to download a free 20 megabyte developmet kit, which contains the compiler. Both Java and JavaScript can do amazing things. Java is more stable and runs much smoother, but JavaScript is much faster to download and initiate.
-
Core, Client Side or Server Side JavaScript?
Client Side and Server Side JavaScript both rely on Core JavaScript. If you're going to be using Server Side JavaScript, you will be needing a server (host) that supports it. Client side JavaScript requires nothing but a browser, text editor and some knowhow.
|
|
|