<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Javascript variable scope, private protected and public</title>
	<atom:link href="http://www.anzaan.com/2009/05/javascript-variable-scope-private-protected-and-public/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.anzaan.com/2009/05/javascript-variable-scope-private-protected-and-public/</link>
	<description></description>
	<lastBuildDate>Fri, 29 May 2009 02:59:32 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: admin</title>
		<link>http://www.anzaan.com/2009/05/javascript-variable-scope-private-protected-and-public/comment-page-1/#comment-3</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 29 May 2009 02:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.anzaan.com/?p=77#comment-3</guid>
		<description>Its good to have a library handy to take care of simple things like creating classes.
It sure makes life little easier.
But I think its better to do simple things on your own for the sole reason of making one&#039;s code less dependent on third party libraries.
And also to ensure another person looking at or working with the code won&#039;t require to learn a framework to be able to understand, modify, extend your code in future.

I use YUI library pretty heavily these days. I&#039;m stuck with YUI because I&#039;m a big sucker for their dataTable widget and I build a CRUD framework around it 1-2 years back. I&#039;m stuck with YUI on that but I&#039;m quite happy because their libraries are very modular and well-tested and well documented.

But at the moment, I&#039;m trying to rewrite all javascript libraries I developed at home and at work so that I can be less dependent on third party libraries.
At least to an extend where library code and function calls don&#039;t creep into the business logic parts of the code. and I can abstract them away into my own objects so that calls to those library functions are indirect which will allow me to switch  third-party libraries in future without having to rewrite everything.

I did use prototype initially when I was learning javascript and at that time I thought it was the coolest thing to ever happen to javascript, I still believe it is, but I happen to move to YUI for other reasons.</description>
		<content:encoded><![CDATA[<p>Its good to have a library handy to take care of simple things like creating classes.<br />
It sure makes life little easier.<br />
But I think its better to do simple things on your own for the sole reason of making one&#8217;s code less dependent on third party libraries.<br />
And also to ensure another person looking at or working with the code won&#8217;t require to learn a framework to be able to understand, modify, extend your code in future.</p>
<p>I use YUI library pretty heavily these days. I&#8217;m stuck with YUI because I&#8217;m a big sucker for their dataTable widget and I build a CRUD framework around it 1-2 years back. I&#8217;m stuck with YUI on that but I&#8217;m quite happy because their libraries are very modular and well-tested and well documented.</p>
<p>But at the moment, I&#8217;m trying to rewrite all javascript libraries I developed at home and at work so that I can be less dependent on third party libraries.<br />
At least to an extend where library code and function calls don&#8217;t creep into the business logic parts of the code. and I can abstract them away into my own objects so that calls to those library functions are indirect which will allow me to switch  third-party libraries in future without having to rewrite everything.</p>
<p>I did use prototype initially when I was learning javascript and at that time I thought it was the coolest thing to ever happen to javascript, I still believe it is, but I happen to move to YUI for other reasons.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prajwal Tuladhar</title>
		<link>http://www.anzaan.com/2009/05/javascript-variable-scope-private-protected-and-public/comment-page-1/#comment-2</link>
		<dc:creator>Prajwal Tuladhar</dc:creator>
		<pubDate>Fri, 29 May 2009 01:42:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.anzaan.com/?p=77#comment-2</guid>
		<description>Nice post!
But whenever I have to create class in JS I use Prototype API http://www.prototypejs.org/api/class/create (I am a bit lazy ;) )</description>
		<content:encoded><![CDATA[<p>Nice post!<br />
But whenever I have to create class in JS I use Prototype API <a href="http://www.prototypejs.org/api/class/create" rel="nofollow">http://www.prototypejs.org/api/class/create</a> (I am a bit lazy <img src='http://www.anzaan.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  )</p>
]]></content:encoded>
	</item>
</channel>
</rss>
