<?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>BorkWeb &#187; standards</title>
	<atom:link href="http://borkweb.com/story/tag/standards/feed" rel="self" type="application/rss+xml" />
	<link>http://borkweb.com</link>
	<description>Some People Are Squirrel Handed.</description>
	<lastBuildDate>Tue, 17 Jan 2012 22:00:21 +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>XMLHttpRequest Object W3C Working Draft</title>
		<link>http://borkweb.com/story/xmlhttprequest-object-w3c-working-draft</link>
		<comments>http://borkweb.com/story/xmlhttprequest-object-w3c-working-draft#comments</comments>
		<pubDate>Mon, 10 Apr 2006 13:45:58 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Random News]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[w3c]]></category>
		<category><![CDATA[xmlhttprequest]]></category>

		<guid isPermaLink="false">http://borkweb.com/story/xmlhttprequest-object-w3c-working-draft</guid>
		<description><![CDATA[I found this article over at Ajaxian. W3C has taken notice of the use of the XMLHttpRequest and has decided to standardize it! w00t! W3C says: The XMLHttpRequest object is implemented today, in some form, by many popular Web browsers. Unfortunately the implementations are not completely interoperable. The goal of this specification is to document [...]]]></description>
			<content:encoded><![CDATA[<p>I found <a href="http://ajaxian.com/archives/xmlhttprequest-w3c-working-draft">this article</a> over at <a href="http://ajaxian.com">Ajaxian</a>.  <a href="http://www.w3.org/TR/XMLHttpRequest/">W3C</a> has taken notice of the use of the XMLHttpRequest and has decided to standardize it!  w00t!  W3C says:</p>
<blockquote><p>
The XMLHttpRequest object is implemented today, in some form, by many popular Web browsers. Unfortunately the implementations are not completely interoperable. The goal of this specification is to document a minimum set of interoperable features based on existing implementations, allowing Web developers to use these features without platform-specific code. In order to do this, only features that are already implemented are considered. In the case where there is a feature with no interoperable implementations, the authors have specified what they believe to be the most correct behavior.</p></blockquote>
<p>This is pretty exciting because we can now see a proposed consistent method for using the object will be solidified in future browsers!  Now&#8230;lets hope the browsers implement it quickly :)  Oh, and here&#8217;s an example of setting a Request Header:</p>
<pre class="brush: jscript; title: ; notranslate">
// The following script:
var r = new XMLHttpRequest();
r.open('get', 'demo.cgi');
r.setRequestHeader('X-Test', 'one');
r.setRequestHeader('X-Test', 'two');
r.send(null);

// ...would result in the following header being sent:
...
X-Test: one, two
...
</pre>
]]></content:encoded>
			<wfw:commentRss>http://borkweb.com/story/xmlhttprequest-object-w3c-working-draft/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Object Oriented JavaScript</title>
		<link>http://borkweb.com/story/object-oriented-javascript</link>
		<comments>http://borkweb.com/story/object-oriented-javascript#comments</comments>
		<pubDate>Thu, 23 Feb 2006 18:24:48 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Random News]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA["object oriented"]]></category>
		<category><![CDATA["web application","oo js"]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[oop]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[structure]]></category>

		<guid isPermaLink="false">http://www.borkweb.com/story/object-oriented-javascript</guid>
		<description><![CDATA[Javascript has invaded my life. And I like it. I have developed web applications for quite some time, writing Javascript off an often unnecessary tool that simply added frills. Over the course of this year &#8211; with the birth of the Ajax hype &#8211; I realize my error. I began inserting javascript all over hell&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image179" src="http://www.borkweb.com/wp-content/uploads/2006/02/code.gif" alt="javascript.gif" align="left" class="post_image"/>Javascript has invaded my life.  And I like it.</p>
<p>I have developed web applications for quite some time, writing Javascript off an often unnecessary tool that simply added frills.  Over the course of this year &#8211; with the birth of the Ajax hype &#8211; I realize my error.  I began inserting javascript all over hell&#8217;s half acre and raving about its sweetness.  I&#8217;ve grown in a year.</p>
<p>As I develop more javascript-rich web applications for <a href="http://masterwish.com">my amusement</a> and <a href="http://plymouth.edu">my job</a>, I am constantly seeking better ways to structure both data and code.  It wasn&#8217;t until a month ago that I really began to dig into the <a href="http://www.borkweb.com/story/prototype-makes-javascript-painless">Prototype</a> and <a href="http://www.borkweb.com/story/scriptaculous-is-my-new-best-friend">Script.aculo.us</a> code (rather than simply using it) and began to grow aware of what was actually going on.  Object Oriented Javascript.</p>
<p>I think it is important to note (so I don&#8217;t look like a complete nitwit) that I was aware that Javascript had this capability a couple of months back before I picked up and started using the afore mentioned Javascript libraries&#8230;I just had no drive to learn it and spot where it was being used.  I have seen the light and it is good.</p>
<p>What are its benefits?  Well, pretty much the same applies to Javascript that applies to any other programming language&#8230;OOP helps increase organization and reduce un-needed redundancy.  And best of all?  It helps <strong>prevent dual-declared functions and variables</strong>.  <em>That</em> is the reason I chose to begin my quest for OO-JS familiarity.</p>
<p>I had gone hunting at a few other sites that claimed to be good references (obviously) of OO-JS, but they lacked the topic of inheritance, which is the real strength of any OOP Language.  The <a href="<br />
http://www.webreference.com/js/column79/">most helpful article</a> I found on the topic was at <a href="<br />
http://www.webreference.com/">WebReference</a>.  They discuss the use of <strong>prototype</strong> (<em>Not the Javascript Library</em>).  Here&#8217;s a quick excerpt, but I&#8217;d suggest you read the article for yourself!</p>
<p>Excerpt from <a href="http://www.webreference.com/js/column79/">WebReference</a></p>
<pre class="brush: jscript; title: ; notranslate">
function Person() {
      this.name = &quot;Rob Roberson&quot;;
      this.age = 31;
}

function Employee() {
      this.dept = &quot;HR&quot;;
      this.manager = &quot;John Johnson&quot;;
}

Employee.prototype = new Person();

var Ken = new Employee();
</pre>
<p><strong>Ken is in the prototype chain of Employee, Person, and Object.</strong></p>
<p>Check it out.  Use it.  You&#8217;ll like it.  You&#8217;re applications will like it.  Oh, and it may prove useful to check out some <a href="http://dojotoolkit.org/js_style_guide.html">Javascript Coding Conventions</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://borkweb.com/story/object-oriented-javascript/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

