Jul
13

JavaScript’s Other Uses

Author admin    Category 8615     Tags ,

JavaScript’s Other Uses

JavaScript is one of the most widely used languages in web development. Its main use is to write functions that are embedded in or included from HTML pages and interact with the Document Object Model (DOM) of the page. It is implemented as an integrated component of the web browser, allowing the development of enhanced user interfaces and dynamic websites. Some simple examples of its usage in the web includes:

Opening or popping up a new window with programmatic control over the size, position, and attributes of the new window. Validation of web form input values to make sure that they will be accepted before they are submitted to the server. Changing images as the mouse cursor moves over them: This effect is often used to draw the user’s attention to important links displayed as graphical elements. However, JavaScript isn’t only used for web applications. Because of the language’s flexibility compared to other forms of languages, it was also used outside of the web. According to Web design Philippines consultants, outside the web, JavaScript interpreters are embedded in a number of tools. Each of these applications provides its own object model which provides access to the host environment, with the core JavaScript language remaining mostly the same in each application. Popular usage includes: Apple’s Dashboard Widgets, Microsoft’s Gadgets, Yahoo! Widgets, Google Desktop Gadgets, Serence Klipfolio are implemented using JavaScript. Adobe’s Acrobat and Adobe Reader (formerly Acrobat Reader) support JavaScript in PDF files. Tools in the Adobe Creative Suite, including Photoshop, Illustrator, Dreamweaver and InDesign, allow scripting through JavaScript. Adobe Integrated Runtime is a JavaScript runtime that allows developers to create desktop applications. Methabot is a web crawler that uses JavaScript as scripting language for custom filetype parsers and data extraction using E4X. Unity game engine supports three scripting languages: JavaScript, C#, and Boo. The Mozilla platform, which underlies Firefox and some other web browsers, uses JavaScript to implement the graphical user interface (GUI) of its various products. ActionScript, the programming language used in Adobe Flash, is another implementation of the ECMAScript standard.
Misconceptions A common misconception is that JavaScript is similar or closely related to Java. According to Web design Philippines consultants, both have a C-like syntax, are object-oriented, are typically sandboxed and are widely used in client-side Web applications, but the similarities end there. Java has static typing; JavaScript’s typing is dynamic (meaning a variable can hold an object of any type and cannot be restricted). Java is loaded from compiled bytecode; JavaScript is loaded as human-readable code. C is their last common ancestor language. For more information visit to our site at http://www.myoptimind.com

Share and Enjoy:
  • Twitter
  • Facebook
  • StumbleUpon
  • del.icio.us
  • Digg
  • Reddit
  • Sphinn
  • Mixx
  • Google Bookmarks
  • Blogplay
  • email
  • LinkedIn
  • Technorati
  • Print

Post comment

Anti-Spam Protection by WP-SpamFree

Click to Advertise here!
Follow us on Twitter! Follow us on Twitter!

Archives

Categories

Recent Posts

Views

Resources

Recent Comments