|
||||||
|
||||||
|
|
||||||
|
Home »
|
||||||
|
Category List
|
The JavaScript Diaries
Mar 23, 2009, 18:42
JavaScript is an interpreted language. It doesn't need to be compiled before it is run. In an interpreted language the instructions are parsed . For instance, as the browser "reads" this page, it breaks down each of the page's components into individual components and interprets each component as it moves down the page. In linguistics it means to divide language into small components that can be analyzed. For example, parsing this sentence would involve dividing it into words and phrases and identifying the type of each component . It can be used to create menus, validate forms, provide interactive calendars, post the current day's headlines, produce background effects on a Web page, track a visitor's history on your site, and play games, among many other things. That's probably why it's one of the most popular languages on the World Wide Web. Because of its usefulness, I've long thought about whether I should learn JavaScript programming or not. One of the main reasons I kept putting it off was the availability of free, existing scripts. 'Why re-invent the wheel?', I kept asking myself. If I could spend a few minutes searching my favorite sites for scripts (such as JavaScript Source and ScriptSearch), why should I spend my time learning how to write them? And so it went on for several years. I know that I'm not the only one who feels this way and yet, learning JavaScript seems to be a monumental task. When you look at some of the JavaScripts out there, they can seem pretty intimidating. And that's true with most things that are new. Remember the first time you viewed the source code of an HTML document or took a look at a style sheet? Whoa! I'm sure you felt overwhelmed. Still, there is only one way to get started; you just do it! To make the process easier, I decided we could do this together.As I study the JavaScript language, I will share what I have learned with you, the reader. Our goal in this study will be to learn how to competently write useful JavaScripts (these installments will be published on a bi-weekly basis). |
|||||
|
© 1999-2008 TamilStar.com. All Rights Reserved throughout the World.
|
||||||