<?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>Bugzappy&#039;s Blog &#187; javascript</title>
	<atom:link href="http://www.bugzappy.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bugzappy.com</link>
	<description>on building internet apps</description>
	<lastBuildDate>Mon, 25 Jan 2010 14:24:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Secure Integration of 3rd-Party Javascript Code</title>
		<link>http://www.bugzappy.com/2009/09/01/secure-integration-of-3rd-party-javascript-code/</link>
		<comments>http://www.bugzappy.com/2009/09/01/secure-integration-of-3rd-party-javascript-code/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 22:45:14 +0000</pubDate>
		<dc:creator>bugzappy</dc:creator>
				<category><![CDATA[commentary]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[mashup]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[semantic web]]></category>
		<category><![CDATA[XSRF]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://www.bugzappy.com/?p=290</guid>
		<description><![CDATA[Yesterday (august 31, 2009) the OpenAjax Alliance announced in a press release the immediate availability of javascript technology for securely integrating javascript code (widgets) from untrusted sources into your own web pages (and javascript code). It&#8217;s called OpenAjax Hub 2.0 and it is touted as the enabler of secure mashups.
There is a very similar initiative at [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday (august 31, 2009) the OpenAjax Alliance announced in a <a href="http://news.prnewswire.com/ViewContent.aspx?ACCT=109&amp;STORY=/www/story/08-31-2009/0005085209&amp;EDATE=" target="_blank">press release</a> the immediate availability of javascript technology for securely integrating javascript code (widgets) from untrusted sources into your own web pages (and javascript code). It&#8217;s called <a href="http://www.openajax.org/whitepapers/Introducing%20OpenAjax%20Hub%202.0%20and%20Secure%20Mashups.php" target="_blank">OpenAjax Hub 2.0</a> and it is touted as the enabler of secure mashups.</p>
<p>There is a very similar initiative at Microsoft: <a href="http://websandbox.livelabs.com/" target="_blank">websandbox at Microsoft livelabs</a>. I have no idea if these are one and the same initiatives, or competitors, or somewhere in the middle.</p>
<p>My prediction is that beyond mashups and many other fantastic applications, this kind of technology will at last make the <a href="http://en.wikipedia.org/wiki/Semantic_web" target="_blank">Semantic Web</a> a reality. Why? because now data and its closely associated code (just like an object in OOP) can safely travel together from any source to any web application. The code is what gives the data some meaning even when the &#8220;mashup&#8221; does not know the semantics.  As long as we can apply this idea to as *small* a piece of data as we (architects and developers) want, we can build web 3.0.</p>
<p>As a result of this new technology, expect the start of a very dynamic phase of web 2.0 advances.</p>
<p>Read the OpenAjax Hub 2.0 Specification <a href="http://www.openajax.org/member/wiki/OpenAjax_Hub_2.0_Specification" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bugzappy.com/2009/09/01/secure-integration-of-3rd-party-javascript-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ExpandBox jquery plugin</title>
		<link>http://www.bugzappy.com/2009/04/02/expandbox-jquery-plugin/</link>
		<comments>http://www.bugzappy.com/2009/04/02/expandbox-jquery-plugin/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 06:13:42 +0000</pubDate>
		<dc:creator>bugzappy</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[controller]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.bugzappy.com/?p=20</guid>
		<description><![CDATA[It&#8217;s a barebones plugin that acts purely as a browser-side widget controller, it does not come with canned HTML/CSS. You must pass the id&#8217;s of the &#60;div&#62; or other elements you want to control to the plugin.
The widget is just a box which starts with a limited height, and then can be expanded by the user [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a barebones plugin that acts purely as a browser-side widget controller, it does not come with canned HTML/CSS. You must pass the id&#8217;s of the &lt;div&gt; or other elements you want to control to the plugin.</p>
<p>The widget is just a box which starts with a limited height, and then can be expanded by the user by a specified increment, or collpased entirely.</p>
<p></p>
<p>Try a DEMO:</p>
<div style="border: 1px solid #ff0000; width: 200px;">
<div id="demo_box" style="padding: 10px; overflow: hidden; width: 200px; max-height: 80px;">
<p>AAAAAAA</p>
<p>BBBBBBBB</p>
<p>CCCCCCC</p>
<p>DDDDDDD</p>
<p>EEEEEEEE</p>
<p>FFFFFFFF</p></div>
<div id="demo_expand" style="color: #ff0000; cursor: pointer; width: 100px; height: 20px; float: left; text-align: left;">+</div>
<div id="demo_collapse" style="color: #ff0000; cursor: pointer; width: 100px; height: 20px; float: left; text-align: right;">-</div>
</div>
<p><script type="text/javascript"><!--
document.write(unescape("%3Cscript src='http://www.bugzappy.com/js/jquery.js' type='text/javascript'%3E%3C/script%3E"));
document.write(unescape("%3Cscript src='http://www.bugzappy.com/wp-content/uploads/2009/04/jqueryexpandbox.js' type='text/javascript'%3E%3C/script%3E"));
// --></script><br />
<script type="text/javascript"><!--
var $j = jQuery.noConflict();
$j("#demo_box").expandBox('#demo_expand', '#demo_collapse', {shrunkHeight: 80, expandHeightInc: 40, expandText: 'expand', expandDelay: 100, shrinkText: 'collapse'});
// --></script></p>
<p></p>
<p>The CODE for the above example:</p>
<pre>
&lt;div style="border: 1px solid #ff0000; width: 200px;">
&lt;div id="demo_box" style="padding: 10px; overflow: hidden; width: 200px; max-height: 80px;">
&lt;p>AAAAAAA$lt;/p>
&lt;p>BBBBBBBB$lt;/p>
&lt;p>CCCCCCC$lt;/p>
&lt;p>DDDDDDD$lt;/p>
&lt;p>EEEEEEEE$lt;/p>
&lt;p>FFFFFFFF$lt;/p>
&lt;/div>
&lt;div id="demo_expand"
    style="color: #ff0000; cursor: pointer; width: 100px; height: 20px; float: left; text-align: left;">+&lt;/div>
&lt;div id="demo_collapse"
    style="color: #ff0000; cursor: pointer; width: 100px; height: 20px; float: left; text-align: right;">-&lt;/div>
&lt;/div>

&lt;script type="text/javascript">&lt;!--
document.write(unescape("%3Cscript src='http://www.bugzappy.com/js/jquery.js' type='text/javascript'%3E%3C/script%3E"));
document.write(unescape("%3Cscript src='http://www.bugzappy.com/wp-content/uploads/2009/04/jqueryexpandbox.js' type='text/javascript'%3E%3C/script%3E"));
// -->&lt;/script>

&lt;script type="text/javascript">&lt;!--
var $j = jQuery.noConflict();
$j("#demo_box").expandBox('#demo_expand', '#demo_collapse', {shrunkHeight: 80, expandHeightInc: 40, expandText: 'expand', expandDelay: 100, shrinkText: 'collapse'});
// -->&lt;/script>
</pre>
<p></p>
<p>DOWNLOAD: <span style="color: #551a8b; text-decoration: underline;"><a href="http://www.bugzappy.com/wp-content/uploads/2009/04/jqueryexpandbox.js">jquery.expandbox</a>.js</span></p>
<p></p>
<p>A bit of documentation coming later.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bugzappy.com/2009/04/02/expandbox-jquery-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
