<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>GeeksPlanet.net &#187; lynda tutorials</title>
	<atom:link href="http://geeksplanet.net/tag/lynda-tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://geeksplanet.net</link>
	<description>C, C++, JAVA, PERL programming for Dummies</description>
	<lastBuildDate>Wed, 24 Feb 2010 11:38:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Some JavaScript basics</title>
		<link>http://geeksplanet.net/2009/05/javascript/some-javascript-basics/</link>
		<comments>http://geeksplanet.net/2009/05/javascript/some-javascript-basics/#comments</comments>
		<pubDate>Sun, 10 May 2009 14:26:51 +0000</pubDate>
		<dc:creator>Satish Gandham</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[LyndaTutorials notes]]></category>
		<category><![CDATA[Essentials of  Java script by Dori Smith]]></category>
		<category><![CDATA[Javascript Basics]]></category>
		<category><![CDATA[lynda tutorials]]></category>

		<guid isPermaLink="false">http://geeksplanet.net/?p=87</guid>
		<description><![CDATA[I recently started watching Essentials of javaScript by DoriSmith @ Lynda.Com, It&#8217;s very interesting, easy to understand and helpful like many other video tutorials at Lynda.Com. Video tutorials are very easy to follow, productive and easy to grasp. The only problem I find with video tutorials is, when you get stuck or have some doubt [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_99" class="wp-caption aligncenter" style="width: 590px"><img class="size-full wp-image-99" title="javascript-books" src="http://geeksplanet.net/wp-content/uploads/2009/05/javascript-books.jpg" alt="Learn javaScript" width="580" height="272" /><p class="wp-caption-text">Learn javaScript</p></div>
<p>I recently started watching <strong><a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2FJavaScript-Essential-Training-Dori-Smith%2Fdp%2F1596713801%3Fie%3DUTF8%26qid%3D1241964624%26sr%3D8-1&amp;tag=programinrela-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=9325">Essentials of javaScript by DoriSmith</a></strong><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=programinrela-20&amp;l=ur2&amp;o=1" border="0" alt="" width="1" height="1" /> @ Lynda.Com, It&#8217;s very interesting, easy to understand and helpful like many other video tutorials at<a href="http://www.lynda.com/"> Lynda.Com</a>.</p>
<p>Video tutorials are very easy to follow, productive and easy to grasp. The only problem I find with video tutorials is, when you get stuck or have some doubt few days after watching the tutorial, it&#8217;s hard to refer back. So, its always good to prepare some notes of important points which you can refer back easily. I&#8217;m going to share my notes here as I go along, I hope you find it use full.</p>
<p><span id="more-87"></span><strong>javaScript</strong> is often confused with<strong> JAVA</strong>, both of them are entirely different. javaScript was invented by <strong>Netscape</strong> and was initially called <strong>LiveScript</strong>. The :re was a time when there was a huge buzz about JAVA in tech world, so netscape decided to catch some of that buzz and renamed LiveScript as javaScript, If you were thinking that javaScript and JAVA are same, then netscape was successful in their bushiness strategy <img src='http://geeksplanet.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>javaScript is a scripting language which adds interactivity to the webpages. A scripting language is something which does not require a compiler or a fancy development environment. javaScript is interpreted and run by browsers.</p>
<ul>
<li><strong>javaScript can not talk to database.</strong></li>
<li><strong>It can not write to files, expect for cookies. So you can not maintain counters with javaScript.</strong></li>
</ul>
<p><strong>Variables in javaScript</strong></p>
<p>Variables are objects that you create, you initialize a variable b saying <strong>var </strong>then followed by the <strong>name</strong> and then the <strong>value </strong>(value part is optional). In javaScript you need nor explicitly say the type of variable like you do in C or C++, It&#8217;s done automatically with javaScript.</p>
<p>Variable names can not start with numbers, they can not contain space and dashes(-), usually variable names are started with a lower case letter and the next word is appended by capitalizing the first letter, like I&#8217;m doing for java<strong>S</strong>cript in this document.</p>
<p><strong>Some Correct variable names</strong><br />
userName,UserName, username,<strong><br />
Wrong variable names</strong><span style="text-decoration: line-through;"><br />
1user, user-name,user name</span></p>
<p>Variable names like var1,var2 are correct but not advised to be used as when you look back the back after some days you may not understand what var1 or var2 means. It&#8217;s advised that you use some meaning full user names like catName, place,gender.</p>
<pre class="brush: jscript; title: ; notranslate">
/*Declaring variables in javaScript */
var myName;
myName=Satish;
var myName=Satish; //Declaring while initializing
</pre>
<p>In the above code the lines 2 and 3 are together equivalent to line 4.</p>
<pre class="brush: jscript; title: ; notranslate">
var string=&quot;2&quot;+&quot;3&quot;; //String has the value 23, not 5
var string=&quot;cat&quot;+5; //javaScript converts 5 in to string and adds it to cat, string has the value cat5
var myVar=10;
var anotherString=myVar+&quot;cat&quot;; //anotherString has the value 10cat
</pre>
<p>In my next post I will write about operators and events, stay tuned.</p>
<blockquote><p><a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2FJavaScript-Essential-Training-Dori-Smith%2Fdp%2F1596713801%3Fie%3DUTF8%26qid%3D1241964624%26sr%3D8-1&amp;tag=programinrela-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=9325"><br />
</a></p>
<h2><a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&amp;location=http%3A%2F%2Fwww.amazon.com%2FJavaScript-Essential-Training-Dori-Smith%2Fdp%2F1596713801%3Fie%3DUTF8%26qid%3D1241964624%26sr%3D8-1&amp;tag=programinrela-20&amp;linkCode=ur2&amp;camp=1789&amp;creative=9325">Buy Essentials of javaScript by DoriSmith</a></h2>
<p><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=programinrela-20&amp;l=ur2&amp;o=1" border="0" alt="" width="1" height="1" /></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://geeksplanet.net/2009/05/javascript/some-javascript-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

