<?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>Webmonkey &#187; Programming</title>
    <atom:link href="http://www.webmonkey.com/tag/programming/feed/" rel="self" type="application/rss+xml" />
    <link>http://www.webmonkey.com</link>
    <description>The Web Developer&#039;s Resource</description>
    <lastBuildDate>Mon, 06 May 2013 17:29:19 +0000</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <generator>http://wordpress.org/?v=3.4.2</generator>
    
    <item>
        <title>Write Better CSS With &#8216;Idiomatic CSS&#8217;</title>
        <link>http://www.webmonkey.com/2012/06/write-better-css-with-idiomatic-css/</link>
        <comments>http://www.webmonkey.com/2012/06/write-better-css-with-idiomatic-css/#comments</comments>
        <pubDate>Mon, 11 Jun 2012 15:49:20 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=57298</guid>
        		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Programming]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2012/06/CSS_sheep-157x100.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2012/06/CSS_sheep.jpg" alt="Write Better CSS With &#8216;Idiomatic CSS&#8217;" /></div>Large projects with many programmers contributing can result in tangled code, but style guides like Idiomatic CSS offer a way out of the confusion.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><div id="attachment_57299" class="wp-caption alignleft" style="width: 167px"><a href="http://www.webmonkey.com/wp-content/uploads/2012/06/CSS_sheep.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2012/06/CSS_sheep.jpg" alt="" title="CSS_sheep" width="157" height="192" class="size-full wp-image-57299" /></a><p class="wp-caption-text">Wooly, the CSS Sheep <em>Image: <a href='http://www.w3.org/Style/Woolly/woolly-icon.svg'>W3C</a></em></p></div>If you&#8217;ve ever worked on a large programming project you know all about the joy of trying to read other people&#8217;s code. And of course that&#8217;s how everyone else feels about reading your code. That&#8217;s why formal programming style guides exist &#8212; to help bridge the gap between individual styles. </p>
<p>There is no right or wrong style of writing code, but there are styles that are easier to read and share with other people. Search the web and you&#8217;ll find  formal guides to writing readable JavaScript, Python, Ruby and countless other popular languages, but one language that doesn&#8217;t get as much attention is CSS. </p>
<p>Developer Nicolas Gallagher wants to change that. To do so Gallagher has put together <a href="https://github.com/necolas/idiomatic-css">Idiomatic CSS</a>, a style guide for how to format, organize and craft quality CSS that anyone can work with. Here are the general principles of the project:</p>
<blockquote>
<blockquote>
<p>&#8220;Part of being a good steward to a successful project is realizing that writing code for yourself is a Bad Idea™. If thousands of people are using your code, then write your code for maximum clarity, not your personal preference of how to get clever within the spec.&#8221; &mdash; Idan Gazit</p>
</blockquote>
<ul>
<li>All code in any code-base should look like a single person typed it, no matter how many people contributed.</li>
<li>Strictly enforce the agreed upon style.</li>
<li>If in doubt use existing, common patterns.</li>
</ul>
</blockquote>
<p>Idiomatic CSS follows in the footsteps of Rick Waldron&#8217;s <a href="https://github.com/rwldrn/idiomatic.js">Idiomatic JS</a>, which does the same thing for JavaScript. </p>
<p>If you&#8217;ve made the leap to a CSS preprocessor like <a href="http://sass-lang.com/">SASS</a> or <a href="http://lesscss.org/">LESS</a>, fear not, Idiomatic CSS has you covered as well. Preprocessor syntax varies and Idiomatic CSS offers examples in SCSS, but the more general rule, &#8220;your conventions should be extended to accommodate the particularities of any preprocessor in use,&#8221; apply to others as well.</p>
<p>Wrangling CSS on large projects can be a pain, but if you take the time to create a set of conventions and ensure that everyone sticks to them it becomes a much more manageable task. If you&#8217;ve got experience and insight to share, head on over to the <a href="https://github.com/necolas/idiomatic-css">Idiomatic CSS GitHub page</a> and contribute your knowledge.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2012/06/write-better-css-with-idiomatic-css/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Google Kicks Off Summer of Code 2012</title>
        <link>http://www.webmonkey.com/2012/05/google-kicks-off-summer-of-code-2012/</link>
        <comments>http://www.webmonkey.com/2012/05/google-kicks-off-summer-of-code-2012/#comments</comments>
        <pubDate>Tue, 22 May 2012 14:54:38 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=56746</guid>
        		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Google]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2012/05/summerofcode-200x100.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2012/05/summerofcode.jpg" alt="Google Kicks Off Summer of Code 2012" /></div>Google's annual Summer of Code project, an effort to get college students writing open source software during their summer vacations, is underway.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><div id="attachment_56748" class="wp-caption alignleft" style="width: 330px"><a href="http://www.webmonkey.com/wp-content/uploads/2012/05/summerofcode.jpg"><img src="http://www.webmonkey.com/wp-content/uploads/2012/05/summerofcode.jpg" alt="" title="summerofcode" width="320" height="214" class="size-full wp-image-56748" /></a><p class="wp-caption-text">Students: Step into your summer office. <em>Image: <a href='http://www.flickr.com/photos/-arpi/4323800353/'>Lost In The RP</a>/Flickr</em></p></div>Students, start your coding engines. Google&#8217;s annual <a href="http://www.google-melange.com/gsoc/homepage/google/gsoc2012">Summer of Code</a> program, which helps college students write open source software during their summer vacations, starts today. </p>
<p>Past participants have helped improve everything from popular web frameworks to browser add-ons and even operating systems. Summer of Code is also not a half bad way to get yourself on Google&#8217;s radar &#8212; the company looks at the results of the program to help it &#8220;identify potential recruits.&#8221;</p>
<p>Summer of Code has served as a launchpad for quite a few new open source software projects as well as helping to jumpstart work on existing favorites. This year&#8217;s roster includes some 1,208 students who will spend the next 12 weeks writing code for 180 different open source organizations.</p>
<p>With 208 proposed projects, there&#8217;s a pretty good chance that some Summer of Code improvements will be rolled into your favorite open source projects later this year. Among the things we&#8217;ll be keeping an eye on are <a href="http://www.metalinker.org/">Metalink&#8217;s</a> various efforts to <a href="http://www.google-melange.com/gsoc/org/google/gsoc2012/metalink">improve the download capabilities in Firefox and Chrome</a>. Eventually Metalink wants to bring error recovery/repair for large downloads to everything from Chrome to wget.</p>
<p>Other promising projects include several efforts to help <a href="http://www.google-melange.com/gsoc/org/google/gsoc2012/osm">improve OpenStreetMap</a>, the so-called &#8220;Wikipedia of maps,&#8221; as well as <a href="http://www.google-melange.com/gsoc/org/google/gsoc2012/codeforamerica">Code for America&#8217;s various projects</a>, some <a href="http://www.google-melange.com/gsoc/org/google/gsoc2012/git">new features for Git</a> and an ambitious plan to <a href="http://www.google-melange.com/gsoc/project/google/gsoc2012/lothiraldan/18002">bring Pylint into the modern world of Python 3</a>.</p>
<p>For more info on this year&#8217;s Summer of Code, head over to Google&#8217;s <a href="http://www.google-melange.com/gsoc/homepage/google/gsoc2012">Summer of Code website</a>, which has details on all the various projects and participants. You can also get updates from the <a href="https://plus.google.com/b/102168248469649733567/">Summer of Code page at Google+</a>.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2012/05/google-kicks-off-summer-of-code-2012/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Development Tips to Improve Your Code Quality</title>
        <link>http://www.webmonkey.com/2010/10/development-tips-to-improve-your-code-quality/</link>
        <comments>http://www.webmonkey.com/2010/10/development-tips-to-improve-your-code-quality/#comments</comments>
        <pubDate>Wed, 20 Oct 2010 20:42:30 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=49001</guid>
        		<category><![CDATA[Programming]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[tips]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2010/10/qualityyoucantaste.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2010/10/qualityyoucantaste.jpg" alt="Development Tips to Improve Your Code Quality" /></div>Any good programmer can tell you writing code is an art form, and as with most art forms, the key to success is good habits and lots of practice. The Ruby Learning blog recently posted an interesting list of ways to improve your code quality and, perhaps more importantly, develop habits that will lead to [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><img src="http://www.webmonkey.com/wp-content/uploads/2010/10/qualityyoucantaste.jpg" alt="quality you can taste" title="quality you can taste" /></p>
<p>Any good programmer can tell you writing code is an art form, and as with most art forms, the key to success is good habits and lots of practice.</p>
<p>The Ruby Learning blog recently posted an interesting list of ways to <a href="http://rubylearning.com/blog/2010/10/18/do-you-enjoy-your-code-quality/">improve your code quality</a> and, perhaps more importantly, develop habits that will lead to better code creation. Developer James Schorr&#8217;s tips range from the obvious, like using a good version control system, to the more subtle: &#8220;realize that just because we &#8220;can&#8221; doesn&#8217;t mean that we &#8220;should&#8221;&#8230; anything&#8217;s possible, but not everything&#8217;s advisable.&#8221;</p>
<p>The article is broken into the three major parts of any programming workflow: pre-development, development and post-development. There are a number of great suggestions in each, but our favorite parts are the fourth category: Enjoying Your Development. Almost any project is fun and enjoyable in the beginning, but then there seems to come that point at which the fun evaporates and we get bogged down in the grunt work of writing code. Schorr has few tips to help break you out of those boring stretches:</p>
<blockquote><p>Give yourself time to think and rest. There are some days where I just can&#8217;t write code well; other days where it&#8217;s just flowing. This is due to how your brain functions. You need sleep and a change of pace and scenery now and then.</p>
<p>Walk away for a while. It&#8217;s easy to get &#8220;tunnel vision&#8221; and think that you&#8217;re close to solving a problem and to think that more effort will solve it&#8230; You would be surprised at the ideas or solutions that will spring into your mind as you are thinking about or doing other things.</p>
</blockquote>
<p>Head over to the <a href="http://rubylearning.com/blog/2010/10/18/do-you-enjoy-your-code-quality/">Ruby Learning blog</a> to read some of the other helpful tips and tricks for producing quality code.</p>
<p><em>Photo: Christian Hellman/<a href="http://www.flickr.com/photos/codepo8/4998539771/">Flickr</a>/CC</em></p>
<p><strong>See Also:</strong><br/></p>
<ul>
<li><a href="http://www.webmonkey.com/2008/07/commenting_your_code_-_what_s_too_much__too_little_/">Commenting Your Code — What&#8217;s Too Much, Too Little?</a></li>
<li><a href="http://www.webmonkey.com/2007/11/become_a_better_programmer_with_refactormycode/">Become A Better Programmer With RefactorMyCode</a></li>
<li><a href="http://www.webmonkey.com/2010/09/how-to-speed-up-your-site-with-yslow-and-page-speed/">How to Speed Up Your Site With YSlow and Page Speed</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/10/development-tips-to-improve-your-code-quality/feed/</wfw:commentRss>
        <slash:comments>3</slash:comments>

        
    </item>
    
    <item>
        <title>XSS Vulnerabilities, Raw SQL Top List of Common Programming Errors</title>
        <link>http://www.webmonkey.com/2010/03/xss-vulnerabilities-raw-sql-top-list-of-common-programming-errors/</link>
        <comments>http://www.webmonkey.com/2010/03/xss-vulnerabilities-raw-sql-top-list-of-common-programming-errors/#comments</comments>
        <pubDate>Wed, 24 Mar 2010 18:24:21 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=46976</guid>
        		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[Web Apps]]></category>
		<category><![CDATA[xss]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2010/03/bobbytables.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2010/03/bobbytables.jpg" alt="XSS Vulnerabilities, Raw SQL Top List of Common Programming Errors" /></div>No programmer is perfect, but some mistakes are more dangerous than others. While some mistakes might just slow down your site, others can open up vulnerabilities that expose your code, your database and even your users to all manner of attack. To help you identify the more serious errors common in programs of all types, [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><a href="http://xkcd.com/327/"><img src="http://www.webmonkey.com/wp-content/uploads/2010/03/bobbytables-300x176.jpg" alt="bobbytables" title="bobbytables" width="300" height="176" class="alignleft size-medium wp-image-46975" /></a>No programmer is perfect, but some mistakes are more dangerous than others. While some mistakes might just slow down your site, others can open up vulnerabilities that expose your code, your database and even your users to all manner of attack.</p>
<p>To help you identify the more serious errors common in programs of all types, a group of top software security experts in the US and Europe have released their <a href="http://cwe.mitre.org/top25/">Top 25 Most Dangerous Programming Errors</a>.</p>
<p>Unsurprisingly, cross-site scripting vulnerabilities and improperly handled SQL top the list of common and dangerous mistakes. Remember kids, sanitize your database inputs; you just never know when someone is going to name their child: &#8220;Robert&#8217;) DROP TABLE Students;&#8221;</p>
<p>While not all the errors in the list are common in web programming, some of the more serious things are concerns for web developers &#8212; cross-site request forgeries, missing encryption of sensitive data and unrestricted file uploads are all common web programming issues.</p>
<p>Also interesting is the <a href="http://cwe.mitre.org/top25/profiles.html#ProfileLang">weaknesses by language</a> section, which breaks down common mistakes in PHP, Java, Perl and C/C++. No doubt web developers would like to have seen Python and Ruby in that list, but it should at least be useful for PHP and Perl programmers.</p>
<p><strong>See Also:</strong><br/></p>
<ul>
<li><a href="http://www.webmonkey.com/2009/04/oauth_security_exploit_tests_limits_of_open_web_standards/">OAuth Security Exploit Tests Limits of Open Web Standards</a></li>
<li><a href="http://www.webmonkey.com/2010/01/creating_a_better_privacy_policy/">Warning: This Site May Be Sharing Your Data</a></li>
<li><a href="http://www.webmonkey.com/2007/09/google_wants_global_privacy_rules/">Google Wants Global Privacy Rules</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/03/xss-vulnerabilities-raw-sql-top-list-of-common-programming-errors/feed/</wfw:commentRss>
        <slash:comments>3</slash:comments>

        
    </item>
    
    <item>
        <title>Function</title>
        <link>http://www.webmonkey.com/2010/02/function/</link>
        <comments>http://www.webmonkey.com/2010/02/function/#comments</comments>
        <pubDate>Mon, 15 Feb 2010 20:45:47 +0000</pubDate>

                <dc:creator>Webmonkey Staff</dc:creator>

        <guid isPermaLink="false">http://stag.wired.com/primate/?p=141</guid>
        		<category><![CDATA[Glossary]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[wiki]]></category>
        <description><![CDATA[A function is a named group of statements in a program that performs a task when it is invoked. Other programming languages make a distinction between a function, which returns a value, and a procedure, which performs some operation but does not return a value. Since JavaScript does not make this distinction, you can create [...]]]></description>

            <content:encoded><![CDATA[<!-- wpautop disabled --><p>A function is a named group of <a href="/2010/02/Statement" title="Reference:Statement">statements</a> in a program that performs a task when it is invoked.

</p><p>Other programming languages make a distinction between a function, which returns a value, and a procedure, which performs some operation but does not return a value. Since JavaScript does not make this distinction, you can create functions that return values elsewhere in your code.

</p><div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/02/function/feed/</wfw:commentRss>
        <slash:comments>1</slash:comments>

        
    </item>
    
    <item>
        <title>Platform</title>
        <link>http://www.webmonkey.com/2010/02/platform/</link>
        <comments>http://www.webmonkey.com/2010/02/platform/#comments</comments>
        <pubDate>Mon, 15 Feb 2010 20:45:47 +0000</pubDate>

                <dc:creator>Webmonkey Staff</dc:creator>

        <guid isPermaLink="false">http://stag.wired.com/primate/?p=280</guid>
        		<category><![CDATA[Glossary]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[wiki]]></category>
        <description><![CDATA[Software developers need to know which platform their software will be running on. A platform can be an Intel processor running Windows, a Macintosh running System 8, or any combination of hardware and software that works together. Platforms are important for web designers to understand, because they need to make sure their pages will work [...]]]></description>

            <content:encoded><![CDATA[<!-- wpautop disabled --><p><br />

Software developers need to know which platform their software will be running on. A platform can be an Intel processor running Windows, a Macintosh running System 8, or any combination of hardware and software that works together. Platforms are important for web designers to understand, because they need to make sure their pages will work on more than one platform. Different browsers display web pages differently on various platforms. Since the internet itself is a cross-platform system, designers need to test web pages on different combinations of machines and browsers to ensure the widest possible audience will be able to view their sites.

</p><div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/02/platform/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Hash</title>
        <link>http://www.webmonkey.com/2010/02/hash/</link>
        <comments>http://www.webmonkey.com/2010/02/hash/#comments</comments>
        <pubDate>Mon, 15 Feb 2010 20:45:47 +0000</pubDate>

                <dc:creator>Webmonkey Staff</dc:creator>

        <guid isPermaLink="false">http://stag.wired.com/primate/?p=149</guid>
        		<category><![CDATA[Glossary]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[wiki]]></category>
        <description><![CDATA[A hash, also known as an associative array, is a collection of data in which each piece of data has two components: a key and a value. Much like the hash at your local diner, JavaScript hashes go unordered: They&#8217;re not indexed by numbers. For example, if you wish to use JavaScript to put up [...]]]></description>

            <content:encoded><![CDATA[<!-- wpautop disabled --><p>A hash, also known as an associative array, is a collection of data in which each piece of data has two components: a key and a value. Much like the hash at your local diner, JavaScript hashes go unordered: They&#8217;re not indexed by numbers. For example, if you wish to use JavaScript to put up a different GIF animation on your site every day of the week, you might throw all these animations into a hash associated to each weekday as a key. Then you would refer to the key day to invoke that day&#8217;s animation.

</p><p>For example, in a normal array, you&#8217;d have:

</p>

<pre class="brush: js">  dinner[0] = "monkey brain";

  dinner[1] = "meatloaf";

</pre>

<p>But in a hash, you could use a string as the index:

</p>

<pre class="brush: js">  dinner["monday"] = "monkey brain";

  dinner["tuesday"] = "meatloaf";

</pre><div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/02/hash/feed/</wfw:commentRss>
        <slash:comments>1</slash:comments>

        
    </item>
    
    <item>
        <title>Hover</title>
        <link>http://www.webmonkey.com/2010/02/hover/</link>
        <comments>http://www.webmonkey.com/2010/02/hover/#comments</comments>
        <pubDate>Mon, 15 Feb 2010 20:45:47 +0000</pubDate>

                <dc:creator>Webmonkey Staff</dc:creator>

        <guid isPermaLink="false">http://stag.wired.com/primate/?p=154</guid>
        		<category><![CDATA[Glossary]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[wiki]]></category>
        <description><![CDATA[Much like standing behind your co-worker while she slaves away, hover implies standing by but not doing anything. In dHTML, it refers specifically to when the user has positioned her cursor over a link but not yet clicked anything. The style will not change if the cursor is simply passed over the link, but you [...]]]></description>

            <content:encoded><![CDATA[<!-- wpautop disabled --><p>Much like standing behind your co-worker while she slaves away, hover implies standing by but not doing anything. In dHTML, it refers specifically to when the user has positioned her cursor over a link but not yet clicked anything. The style will not change if the cursor is simply passed over the link, but you can set an action to take place after a predetermined amount of hovering.

</p><div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/02/hover/feed/</wfw:commentRss>
        <slash:comments>1</slash:comments>

        
    </item>
    
    <item>
        <title>Loop</title>
        <link>http://www.webmonkey.com/2010/02/loop/</link>
        <comments>http://www.webmonkey.com/2010/02/loop/#comments</comments>
        <pubDate>Mon, 15 Feb 2010 20:45:47 +0000</pubDate>

                <dc:creator>Webmonkey Staff</dc:creator>

        <guid isPermaLink="false">http://stag.wired.com/primate/?p=195</guid>
        		<category><![CDATA[Glossary]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[wiki]]></category>
        <description><![CDATA[A loop is like a programming thought. Say you&#8217;re a police officer using a radar gun to catch speeding motorists. If the speed limit is 55 miles per hour, you might say to yourself: &#8220;If a car makes my radar gun display a higher value than 55, I&#8217;ll pull them over, but until then I [...]]]></description>

            <content:encoded><![CDATA[<!-- wpautop disabled --><p>A loop is like a programming thought. Say you&#8217;re a police officer using a radar gun to catch speeding motorists. If the speed limit is 55 miles per hour, you might say to yourself: &#8220;If a car makes my radar gun display a higher value than 55, I&#8217;ll pull them over, but until then I will continue to take readings. And perhaps snack on this cruller.&#8221; In programming, the statement of this loop would be the action (firing up your motorcycle and chasing the speeder), and the expression would be the evaluation of whether or not the passing car made your radar gun read higher than 55. This is an example of a &#8220;while&#8221; loop:

</p>

<pre class="brush: js">  while (carSpeed &lt; 55) {

  carSpeed = readRadar();

  // note:readRadar() should return the latest carSpeed

}



pullEmOver();  // this will only execute once carSpeed is &gt;= 55

</pre><div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/02/loop/feed/</wfw:commentRss>
        <slash:comments>1</slash:comments>

        
    </item>
    
    <item>
        <title>Object dHTML</title>
        <link>http://www.webmonkey.com/2010/02/object_dhtml/</link>
        <comments>http://www.webmonkey.com/2010/02/object_dhtml/#comments</comments>
        <pubDate>Mon, 15 Feb 2010 20:45:47 +0000</pubDate>

                <dc:creator>Webmonkey Staff</dc:creator>

        <guid isPermaLink="false">http://stag.wired.com/primate/?p=225</guid>
        		<category><![CDATA[Glossary]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[wiki]]></category>
        <description><![CDATA[In object-oriented programming, an object is a self-contained entity that consists of both data and manipulation procedures. Similarly, HTML 4.0 includes the &#60;OBJECT&#62; element to extend HTML in order to make it more dynamic. &#60;OBJECT&#62; allows an author to download external data or programs into the current page. This element can be used to gather [...]]]></description>

            <content:encoded><![CDATA[<!-- wpautop disabled --><p>In object-oriented programming, an object is a self-contained entity that consists of both data and manipulation procedures.

</p><p>Similarly, HTML 4.0 includes the <tt>&lt;OBJECT&gt;</tt> element to extend HTML in order to make it more dynamic. <tt>&lt;OBJECT&gt;</tt> allows an author to download external data or programs into the current page. This element can be used to gather other pieces of information, including Java applets, ActiveX controls, and possibly dHTML. The long-term goal of the World Wide Web Consortium (W3C) is for the <tt>&lt;OBJECT&gt;</tt> element to become the only way to <a href="/2010/02/Embedded_Media" title="Reference:Embedded Media">embed</a> data, replacing the <tt>&lt;APPLET&gt;</tt> and <tt>&lt;IMG&gt;</tt> elements.



</p><div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2010/02/object_dhtml/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    </channel>
</rss>
