<?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>LeeseIT Blogs &#187; JavaScript</title>
	<atom:link href="http://www.leeseit.com/blogs/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.leeseit.com/blogs</link>
	<description>A Blog where Intelligence and Technology meet</description>
	<lastBuildDate>Wed, 02 Jun 2010 14:44:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Firefox Toolbar Development</title>
		<link>http://www.leeseit.com/blogs/2008/11/20/firefox-toolbar-development/</link>
		<comments>http://www.leeseit.com/blogs/2008/11/20/firefox-toolbar-development/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 13:37:29 +0000</pubDate>
		<dc:creator>Leroy Leese</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.leeseit.com/blogs/?p=47</guid>
		<description><![CDATA[For anyone working on a firefox toolbar/add-on here is an important tip.  I have found that if I name my preferences manager (which is based off Components.interfaces.nsIPrefService) with the same name as another toolbar is using (specifically, another one that I built) the last one executed will retain the ability to use its preferences. [...]]]></description>
			<content:encoded><![CDATA[<p>For anyone working on a firefox toolbar/add-on here is an important tip.  I have found that if I name my preferences manager (which is based off Components.interfaces.nsIPrefService) with the same name as another toolbar is using (specifically, another one that I built) the last one executed will retain the ability to use its preferences.  In other words, the original one, because it has the same name, gets overwritten or re-used and loses its connection.  I figured that since it gets instantiated on its own that it would not be stored in the same memory location, but since it definitely was the problem during my simultaneous development of two toolbars I can only conclude that it is global and has visibility across toolbars.</p>
<p>What does this mean?  This means you can access the preferences of other toolbars.  You can even check to see if the value is available before you use it (using a getPrefType call).  This seems like a really big problem giving the open-source nature of the plugins and the security used for Yahoo!, Facebook or StumbleUpon toolbars.  I don&#8217;t plan on hacking them anytime soon, but it sounds feasible given this architecture.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leeseit.com/blogs/2008/11/20/firefox-toolbar-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RegEx Tester</title>
		<link>http://www.leeseit.com/blogs/2008/08/20/regex-tester/</link>
		<comments>http://www.leeseit.com/blogs/2008/08/20/regex-tester/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 16:47:54 +0000</pubDate>
		<dc:creator>Leroy Leese</dc:creator>
				<category><![CDATA[Business Development]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.leeseit.com/blogs/2008/08/20/regex-tester/</guid>
		<description><![CDATA[I have been working with Regular Expressions lately and this site is SO handy for testing your expressions quickly.
http://www.regextester.com/
Gotta love it.
]]></description>
			<content:encoded><![CDATA[<p>I have been working with Regular Expressions lately and this site is SO handy for testing your expressions quickly.</p>
<p><a href="http://www.regextester.com/">http://www.regextester.com/</a></p>
<p>Gotta love it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leeseit.com/blogs/2008/08/20/regex-tester/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>We&#8217;ve got something here&#8230;</title>
		<link>http://www.leeseit.com/blogs/2006/10/18/weve-got-something-here/</link>
		<comments>http://www.leeseit.com/blogs/2006/10/18/weve-got-something-here/#comments</comments>
		<pubDate>Wed, 18 Oct 2006 15:04:18 +0000</pubDate>
		<dc:creator>Leroy Leese</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blogs.leeseit.com/wordpress/?p=10</guid>
		<description><![CDATA[I have been searching high and low for development software that meets the following criteria:

Connects to web based version control
Has functional reference for PHP
Runs on multiple platforms (PC/Mac)
Easily manipulates and assists with CSS/JavaScript/(X)HTML

And the good news is, I have finally found a solution&#8230;  I recommend any team doing distributed development on multiple development and [...]]]></description>
			<content:encoded><![CDATA[<p>I have been searching high and low for development software that meets the following criteria:</p>
<ol>
<li>Connects to web based version control</li>
<li>Has functional reference for PHP</li>
<li>Runs on multiple platforms (PC/Mac)</li>
<li>Easily manipulates and assists with CSS/JavaScript/(X)HTML</li>
</ol>
<p>And the good news is, I have finally found a solution&#8230;  <span id="more-10"></span>I recommend any team doing distributed development on multiple development and deployment platforms use the following setup:</p>
<p>Eclipse 3.1.1<br />
Subclipse 1.0.0<br />
Aptana 0.2.5<br />
PHPEclipse 1.1.8</p>
<p>Using Aptana, you can be FTP&#8217;ing into the website.  With Subversion, you have version/source control.  With PHPEclipse you have reference, templates and with Eclipse you have a distributed platform.  Its a dream come true.  Why couldn&#8217;t I find someone recommending this setup on a website before I invested dozens of hours in research?  I think that people are either satisfied with the Zend Framework, or they simply don&#8217;t have the cross-platform needs that we have.  And frankly, most designers we work with are completely satisfied with Dreamweaver MX/8 and the check-in/check-out process it affords.  For the time being, when I work with those developers, I will have Dreamweaver running concurrently in order to make sure I don&#8217;t <em>stomp </em>(or overwrite) the designer&#8217;s updates.  Until we get to point where we are solely a development shop, and can ease off design, we&#8217;ll run this setup&#8230;or maybe we can develop an Eclipse plugin that will allow us to simulate DW check-in/check-out while using Eclipse&#8230;hmm&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leeseit.com/blogs/2006/10/18/weve-got-something-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scratch Free! Easy Rinse Formula!</title>
		<link>http://www.leeseit.com/blogs/2006/09/12/scratch-free-easy-rinse-formula/</link>
		<comments>http://www.leeseit.com/blogs/2006/09/12/scratch-free-easy-rinse-formula/#comments</comments>
		<pubDate>Tue, 12 Sep 2006 16:29:04 +0000</pubDate>
		<dc:creator>Leroy Leese</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blogs.leeseit.com/wordpress/?p=7</guid>
		<description><![CDATA[No, not that Ajax®.  You know, &#8220;AJAX&#8221; Asynchronous Javascript And Xml
Is it really as scratch free as they claim?
Its a hot topic &#8211; security and how it relates to AJAX.  Should we be worried?  I mean, its a relative young technology &#8211; and most young technologies have security problems.  Is it [...]]]></description>
			<content:encoded><![CDATA[<p>No, not that <a target="_new" href="http://www.colgate.com/app/Colgate/US/HC/Products/HouseholdCleaners/Ajax.cvsp">Ajax®</a>.  You know, &#8220;AJAX&#8221; Asynchronous Javascript And Xml</p>
<p>Is it really as scratch free as they claim?</p>
<p><span id="more-7"></span>Its a hot topic &#8211; security and how it relates to AJAX.  Should we be worried?  I mean, its a relative young technology &#8211; and most young technologies have security problems.  Is it disconcerting that Microsoft is using it all over their new apps/os&#8217;s?  Should we fret because Google uses it across their website?  We&#8217;ve never had a problem with Microsoft and security before, right? *sarcasm*  Lets break it down.</p>
<p>Historically, when you loaded a webpage, you had one connection and only had to worry about validating server side input once.  Now, when you load a page in the browser, you need to validate input, and then anytime AJAX connects to your server, you need to revalidate that input and then handle the results correctly.  You have now multiplied the potential leaks, by 2.  Now, what if the response you are returning is Javascript code (I return XML most of the time, but its possible to return JS), now are you going to blindly run the JS you returned?  Why wouldn&#8217;t you, I mean it came from your script.  But if someone found a leak to get garbage into your AJAX, how do you know what is returned is not garbage?  So now we have opened up potential security leaks by an order of 3.</p>
<p>Have you seen those new Mac commercials?  I own a few Macs, and love &#8216;em.  But c&#8217;mon guys &#8211; you are challenging the community to find flaws and hacks with the Mac OS.  Why do this?  They are not invincible.  And with AJAX running on every platform that has a JS enabled Browser, what are we in for?  Remember Robert Morris &#8211; 1988?</p>
<p><em><span style="font-style: italic">Sources:</span><br style="font-style: italic" /><span style="font-style: italic">  </span><span style="font-style: italic"><a href="http://www.it-observer.com/articles/1062/ajax_security/">http://www.it-observer.com/articles/1062/ajax_security/</a></span> <br style="font-style: italic" /><span style="font-style: italic"><span style="font-style: italic">  </span></span><span style="font-style: italic"><span style="font-style: italic"><a href="http://en.wikipedia.org/wiki/Morris_Worm">http://en.wikipedia.org/wiki/Morris_Worm</a></span></span><span style="font-style: italic" /><a href="http://en.wikipedia.org/wiki/Morris_Worm%3C/span%3E"><span style="font-style: italic" /></a><br style="font-style: italic" /><span style="font-style: italic" /><span style="font-style: italic"><a href="http://www.securityfocus.com/infocus/1868">http://www.securityfocus.com/infocus/1868<br />
</a></span><a href="http://www.usatoday.com/money/industries/technology/2006-08-04-ajax-attack-usat_x.htm">http://www.usatoday.com/money/industries/technology/2006-08-04-ajax-attack-usat_x.htm</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.leeseit.com/blogs/2006/09/12/scratch-free-easy-rinse-formula/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cross your t&#8217;s and dot your i&#8217;s</title>
		<link>http://www.leeseit.com/blogs/2006/08/29/cross-your-ts-and-dot-your-is/</link>
		<comments>http://www.leeseit.com/blogs/2006/08/29/cross-your-ts-and-dot-your-is/#comments</comments>
		<pubDate>Wed, 30 Aug 2006 03:48:44 +0000</pubDate>
		<dc:creator>Matt Satorius</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://blogs.leeseit.com/wordpress/?p=6</guid>
		<description><![CDATA[I&#8217;m sure it&#8217;s happened to us all, but I figured I would tell a humorous tale of how (yes we all know it) missing the littlest character could have us spending an hour and a half pulling our hair out, yet once we enter into the programming and javascript realm, they matter all the more&#8230;by [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sure it&#8217;s happened to us all, but I figured I would tell a humorous tale of how (yes we all know it) missing the littlest character could have us spending an hour and a half pulling our hair out, yet once we enter into the programming and javascript realm, they matter all the more&#8230;by that time you become bald.<span id="more-6"></span></p>
<p>On a recent project, one of the checkout pages required some simple math calculations for different extras and additions you could apply to each product. The client wanted it calculated in realtime, so I whipped together some functions that in a wonderful world should have been quite seamless. I send up the page to test it out&#8230;.nothing. Not even a slight bit of javascript activity. I pull up my source code, all the functions are there so I know I&#8217;m viewing the right version. Naturally, I blame Internet Explorer and head over to Firefox who has the same story to tell &#8211; nothing. I proceed to spend a half hour trying the living daylights to even get a Javascript error, the one thing we all hate and dread and inevitably see 90% of the time&#8230;I couldn&#8217;t even try to get to that point!?! Is Javascript disabled? The world is crashing down around me. Humbled I call one of my colleagues to take a look at my code. He goes through for 5-10 minutes&#8230;thinks he finds it (finds other problems of course&#8230;I hadn&#8217;t been able to test it yet &#8211; give me a break!), and finally discovers my little problem. Can you see it below?</p>
<p align="center">input name=&#8221;num_colors&#8221; type=&#8221;radio&#8221; value=&#8221;1&#8243; onClick&#8221;colorChange();&#8221; checked</p>
<p>Moral of the story: forgetting your =&#8217;s make you feel like you = crap.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.leeseit.com/blogs/2006/08/29/cross-your-ts-and-dot-your-is/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
