<?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>Ptah Dunbar &#187; Web Development</title>
	<atom:link href="http://ptahdunbar.com/blog/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://ptahdunbar.com</link>
	<description>Web Craftsman, WordPress &#38; BuddyPress hacker, and Entrepreneur</description>
	<lastBuildDate>Wed, 17 Mar 2010 14:53:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<atom:link rel='hub' href='http://ptahdunbar.com/?pushpress=hub'/>
		<item>
		<title>If you don&#8217;t know javascript, now&#8217;s the time to learn it!</title>
		<link>http://ptahdunbar.com/web-development/if-you-dont-know-javascript-nows-the-time-to-learn-it/</link>
		<comments>http://ptahdunbar.com/web-development/if-you-dont-know-javascript-nows-the-time-to-learn-it/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 12:30:42 +0000</pubDate>
		<dc:creator>Ptah Dunbar</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://ptahdunbar.com/web-development/if-you-dont-know-javascript-nows-the-time-to-learn-it/</guid>
		<description><![CDATA[News hit the papers that on February 12th, Microsoft is force feeding all IE6 installs an upgrade to IE7! That&#8217;s one less browser we have to develop for. This is awesome news since I still have to test for bugs in IE6. That never happened  
If you&#8217;re like me and refused to learn JavaScript [...]]]></description>
			<content:encoded><![CDATA[<p><em><span style="text-decoration: line-through;"><a title="Microsoft warns businesses of impending autoupdate to IE7" href="http://www.infoworld.com/article/08/01/17/Microsoft-warns-businesses-of-autoupdate-to-IE7_1.html">News hit the papers</a> that on February 12<sup>th</sup>, Microsoft is force feeding all IE6 installs an upgrade to IE7! That&#8217;s one less browser we have to develop for. This is awesome news since I <strong>still</strong> have to test for bugs in IE6.</span> That never happened <img src='http://ptahdunbar.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </em></p>
<p>If you&#8217;re like me and refused to learn JavaScript for whatever reason, I think now&#8217;s the sweet spot to really dive in and learn this powerful language and harness the power of the DOM.</p>
<blockquote><p>&#8220;<em>Until now we have largely been able to get away with it. We have copied and pasted when we need a certain bit of functionality and most of us haven&#8217;t had to build anything too complex that required Javascript. However, I believe that time is over. If you don&#8217;t know Javascript inside out in 2008 then I think it will really start to damage your career.</em>&#8221; &#8211; <a title="Worthy of your attention in 2008" href="http://www.boagworld.com/archives/2008/01/worthy_of_your_attention_in_2008.html">Paul Boag</a></p></blockquote>
<h2>Why it took me so long to learn JavaScript</h2>
<p>Being a Web developer, I carry many hats when it comes to programming on the web. Throughout the years, I taught myself pretty much all modern programming and mark up languages except one &#8211; JavaScript.</p>
<p>I don&#8217;t know why that was. Well&#8230; actually I do. I had bad experience with JavaScript from the get go.</p>
<p>Ever since early 2005 when Adobe Imageready dominated the web with poorly implemented JavaScript rollovers and random IE pop up errors that would sometimes crash your browser, I just thought JavaScript plain ol&#8217; sucked. Pretty much like how <a title="Flash Sucks" href="http://immike.net/blog/2007/07/31/flash-sucks/">Mike feels about Flash</a>, I felt the same way about JavaScript.</p>
<p>Say hello to <strong>unobtrusive JavaScript</strong>, separating out behavior from markup. Ha, old news right? Yeah, but not for all of us. I took me a few years to catch on to this as for a first bad experience will surely keep one away for a while. But I kept hearing this buzzword <em>unobtrusive</em>, and finally late last year I started checking it out. <strong>I came to learn that it was just the people who developed, or better yet, the software that spits out JavaScript that makes it so inaccessible.</strong></p>
<h2>Last year I bought two JavaScript books:</h2>
<ul>
<li><a title="JavaScript Bible 5th Edition" href="http://www.amazon.com/JavaScript-Bible-Fifth-Danny-Goodman/dp/0764557432/ref=pd_bbs_sr_2?ie=UTF8&amp;s=books&amp;qid=1201424726&amp;sr=8-2">JavaScript Bible 5<sup>th</sup> Edition</a> and, <small>(seems to be a newer 2007 version but received some bad reviews)</small></li>
<li><a title="Dom Scripting" href="http://www.amazon.com/DOM-Scripting-Design-JavaScript-Document/dp/1590595335/ref=pd_bbs_sr_1?ie=UTF8&amp;s=books&amp;qid=1201424880&amp;sr=1-1">Dom Scripting</a></li>
</ul>
<p>I needed a strong foundation on JavaScript and a layman&#8217;s introductory to this unobtrusive way of coding JavaScript and something else I could reference to during midnight coding runs. These two books proved to be amazing at helping me get started although I still do some Ctrl+C, Ctrl+V from time to time because I&#8217;m lazy <img src='http://ptahdunbar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<h2>FIVE reasons Explained why you should learn JavaScript:</h2>
<ol>
<li><strong>Unobtrusive JavaScript</strong><br />
One of the main reasons I&#8217;m learning JavaScript now is because of unobtrusive JavaScript. Knowing the do&#8217;s and don&#8217;ts on how to craft proper JavaScript will save you and your code a lot of debugging and stress.</li>
<li><strong>AJAX became a standard</strong><br />
Let&#8217;s face it. This Web2.0 hype has raised the standards as far what users expect from a web application. You really can&#8217;t build an app and expect it to succeed if you don&#8217;t add some AJAX to spice it up. Users have grown accustom to not waiting for pages to load. AJAX is truly something you should consider adding under your belt.</li>
<li><strong>Better control of Websites, Blogs, or Web Apps</strong><br />
You can only go so far when it comes to using a server-side language to adding some behavior to your page. With JavaScript, you have better control of the page. Being able to do form validation before data hits the server is an added security bonus. Add some unobtrusive JavaScript to the mix and you&#8217;ll be a happy camper.<strong><br />
</strong></li>
<li><strong>It gets even easier with frameworks</strong><br />
Learned JavaScript? Great, now boost up your productivity by adding some awesome javascript frameworks to your work flow. Popular frameworks like <a title="JQuery: The Write Less, Do More, JavaScript Library" href="http://jquery.com/">jQuery</a>, <a title="MooTools - The Compact Javascript Framework" href="http://mootools.net/">MooTools</a>, <a title="Prototype JavaScript Framework: Easy Ajax and DOM manipulation for dynamic web applications" href="http://www.prototypejs.org/">Prototype</a>, and <a title="script.aculo.us Web2.0 Javascript" href="http://script.aculo.us/">Script.aculo.us</a> are a no brainer, all that&#8217;s left is choosing one that&#8217;s best for your needs.</li>
<li><strong>Object-Oriented</strong><br />
Learning the hard way, I found out that yes, JavaScript is in fact an OOP Language. What does that mean to you? Well, let&#8217;s just say that if JavaScript wasn&#8217;t OOP, neither of us would be able to do this: Ctrl+C, Ctrl+V, nuff said. Know that it&#8217;s also easier to update parts of a script instead of having to rewrite the whole thing is what OOP is all about.</li>
</ol>
<h2>Conclusion</h2>
<p>I&#8217;m finally getting more into JavaScript lately, most particularly to add AJAX. Once I grasp JavaScript enough to make some interesting stuff, I&#8217;ll continue on to learn a <a title="JQuery: The Write Less, Do More, JavaScript Library" href="http://www.jquery.com">framework</a> or <a title="MooTools - The Compact Javascript Framework" href="http://www.mootools.net">two</a>. Expect some more post on JavaScript and a lot more practical articles that could apply to WordPress in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://ptahdunbar.com/web-development/if-you-dont-know-javascript-nows-the-time-to-learn-it/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
