<?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>Reality Me &#187; Programming</title>
	<atom:link href="http://realityme.net/category/technology/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://realityme.net</link>
	<description>A juggling technophile shares personal stories, challenges, humor and perhaps some political commentary.</description>
	<lastBuildDate>Tue, 07 Feb 2012 16:22:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<cloud domain='realityme.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Cross-domain communication</title>
		<link>http://realityme.net/2012/01/11/cross-domain-communication/</link>
		<comments>http://realityme.net/2012/01/11/cross-domain-communication/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 02:16:12 +0000</pubDate>
		<dc:creator>Doug McCaughan</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://realityme.net/?p=14047</guid>
		<description><![CDATA[If I have an aspx site on one server, let&#8217;s call it foo.com and I have a php site on another server, let&#8217;s call it bar.com, and I want to use an iframe to include data from foo.com within the bar.com site, security for iframes prevents this correct? So, if I instead create a subdomain [...]]]></description>
			<content:encoded><![CDATA[<p>If I have an aspx site on one server, let&#8217;s call it foo.com and I have a php site on another server, let&#8217;s call it bar.com, and I want to use an iframe to include data from foo.com within the bar.com site, security for iframes prevents this correct?</p>
<p>So, if I instead create a subdomain of foo.com, let&#8217;s call it bar.foo.com and use bar.foo.com for the aspx site, does that overcome the cross-domain security issue since both sites are now part of the foo.com domain or does the nature of bar.foo.com being a tertiary domain still create the security issue since bar.foo.com is technically different than foo.com?</p>
]]></content:encoded>
			<wfw:commentRss>http://realityme.net/2012/01/11/cross-domain-communication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Hooks, Actions and Filters &#8211; Modifying the Publish function</title>
		<link>http://realityme.net/2012/01/04/wordpress-hooks-actions-and-filters-modifying-the-publish-function/</link>
		<comments>http://realityme.net/2012/01/04/wordpress-hooks-actions-and-filters-modifying-the-publish-function/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 15:38:50 +0000</pubDate>
		<dc:creator>Doug McCaughan</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Communications]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Publishing]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://realityme.net/?p=14030</guid>
		<description><![CDATA[I&#8217;m writing a child theme to twentyeleven and want to modify the administrative post &#34;Publish&#34; function to do some additional processing during the saving of a new post. Does anyone know if there is a hook, action or filter that will allow me to extend the Publish function?]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m writing a child theme to twentyeleven and want to modify the administrative post &quot;Publish&quot; function to do some additional processing during the saving of a new post. Does anyone know if there is a <a href="http://codex.wordpress.org/Plugin_API">hook, action or filter</a> that will allow me to extend the Publish function?</p>
]]></content:encoded>
			<wfw:commentRss>http://realityme.net/2012/01/04/wordpress-hooks-actions-and-filters-modifying-the-publish-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subversion Error Message On Branch/Tag</title>
		<link>http://realityme.net/2011/09/15/subversion-error-message-on-branchtag/</link>
		<comments>http://realityme.net/2011/09/15/subversion-error-message-on-branchtag/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 15:21:11 +0000</pubDate>
		<dc:creator>Doug McCaughan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://realityme.net/?p=13891</guid>
		<description><![CDATA[Today&#8217;s tech problem: I am trying to create a new baseline for my code. I have checked my code out of my repository, updated individual files to the proper version for the baseline, and then when I try to tag or branch the working copy, I get an error. Error Commit Failed (details follow):Error FileError [...]]]></description>
			<content:encoded><![CDATA[<p>Today&#8217;s tech problem:</p>
<p>I am trying to create a new baseline for my code. I have checked my code out of my repository, updated individual files to the proper version for the baseline, and then when I try to tag or branch the working copy, I get an error.</p>
<blockquote><p>Error Commit Failed (details follow):<br />Error File<br />Error &#8216;/svn/foo/bar/branches/blah/snafu/path/to/file/file.cfm&#8217;<br />Error already exists</p>
</blockquote>
<p>Because of the failure, the branch attempt, or tag attempt, fail leaving the branch/tag empty.</p>
<p><strong>How can the file already exist if the branch/tag starts out completely empty?</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://realityme.net/2011/09/15/subversion-error-message-on-branchtag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>From the mouths of programmers</title>
		<link>http://realityme.net/2011/08/17/from-the-mouths-of-programmers/</link>
		<comments>http://realityme.net/2011/08/17/from-the-mouths-of-programmers/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 23:06:33 +0000</pubDate>
		<dc:creator>Doug McCaughan</dc:creator>
				<category><![CDATA[Daily Life]]></category>
		<category><![CDATA[From the mouths of babes]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://realityme.net/?p=13839</guid>
		<description><![CDATA[Now that the day is over, I can finally begin my work.]]></description>
			<content:encoded><![CDATA[<blockquote><p>Now that the day is over, I can finally begin my work.</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://realityme.net/2011/08/17/from-the-mouths-of-programmers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google&#8217;s Voice Search</title>
		<link>http://realityme.net/2011/06/17/googles-voice-search/</link>
		<comments>http://realityme.net/2011/06/17/googles-voice-search/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 14:49:06 +0000</pubDate>
		<dc:creator>Doug McCaughan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[speak]]></category>
		<category><![CDATA[speak2text]]></category>
		<category><![CDATA[voice]]></category>

		<guid isPermaLink="false">http://realityme.net/?p=13698</guid>
		<description><![CDATA[I think I&#8217;ve seen this and never paid any mind to it. How long Google had voice search on Chrome?]]></description>
			<content:encoded><![CDATA[<p>I think I&#8217;ve seen this and never paid any mind to it. How long Google had voice search on Chrome?</p>
<p><a href="http://realityme.net/wp-content/uploads/2011/06/Googlemicrophone.png"><img src="http://realityme.net/wp-content/uploads/2011/06/Googlemicrophone-300x95.png" alt="" title="Googlemicrophone" width="300" height="95" class="alignright size-medium wp-image-13699" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://realityme.net/2011/06/17/googles-voice-search/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Call to action: WordPress Developers Please Comment</title>
		<link>http://realityme.net/2011/02/17/call-to-action-wordpress-developers-please-comment/</link>
		<comments>http://realityme.net/2011/02/17/call-to-action-wordpress-developers-please-comment/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 14:33:27 +0000</pubDate>
		<dc:creator>Doug McCaughan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[themes]]></category>

		<guid isPermaLink="false">http://realityme.net/?p=13283</guid>
		<description><![CDATA[Hello WordPress developers! (me included). When you make a theme, I implore you, please use a simple html comment at the top of each page to identify the template. For example: &#60;!- &#8211; TEMPLATE: single.php &#8211; -&#62; would allow someone unfamiliar with your theme to look in the generated source and see which template(s) are [...]]]></description>
			<content:encoded><![CDATA[<p>Hello WordPress developers! (me included). When you make a theme, I implore you, please use a simple html comment at the top of each page to identify the template. For example: &lt;!- &#8211; TEMPLATE: single.php &#8211; -&gt; would allow someone unfamiliar with your theme to look in the generated source and see which template(s) are influencing the output. Yes, experienced WordPress developers should already know which files are being used but we don&#8217;t write themes only for experienced developers. And even experienced developers get stuck, tired, or would like things to be sped along and a simple comment, &lt;!- &#8211; TEMPLATE: page.php &#8211; -&gt;, would help tremendously. Thank you!</p>
]]></content:encoded>
			<wfw:commentRss>http://realityme.net/2011/02/17/call-to-action-wordpress-developers-please-comment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t use underscores in css ids</title>
		<link>http://realityme.net/2010/11/17/dont-use-underscores-in-css-ids/</link>
		<comments>http://realityme.net/2010/11/17/dont-use-underscores-in-css-ids/#comments</comments>
		<pubDate>Wed, 17 Nov 2010 21:35:19 +0000</pubDate>
		<dc:creator>Doug McCaughan</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://realityme.net/?p=13069</guid>
		<description><![CDATA[Today&#8217;s reminder from your friendly neighborhood codeslinger is &#34;don&#8217;t use underscores in css ids!&#34; You know, those lines _ that programmers like to use instead of spaces in variable names (because you can&#8217;t really have spaces in a variable name in most languages). This was an illegal character in the original CSS1 and CSS2 specifications [...]]]></description>
			<content:encoded><![CDATA[<p>Today&#8217;s reminder from your friendly neighborhood codeslinger is &quot;don&#8217;t use underscores in css ids!&quot; You know, those lines _ that programmers like to use instead of spaces in variable names (because you can&#8217;t really have spaces in a variable name in most languages). This was an illegal character in the original CSS1 and CSS2 specifications (updated in 2001 to be valid) so setting an id to foo_bar (e.g. &lt;div id=&quot;foo_bar&quot;&gt;) would be translated by the browser as foo\_bar (e.g. &lt;div id=&quot;foo\_bar&quot;&gt;), well, some browsers,  not all browsers because you know browsers are so consistent in their interpretation and implementation of these so called web standards.</p>
<p>The solution? Instead of underscores, opt for dashes (e.g. &lt;div id=&quot;foo-bar&quot;&gt;) or camel case (e.g. &lt;div id=&quot;FooBar&quot;&gt;) but remember that id&#8217;s and class names are case-sensitive.</p>
<p>See <a href="https://developer.mozilla.org/en/underscores_in_class_and_id_names">also</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://realityme.net/2010/11/17/dont-use-underscores-in-css-ids/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jquery challenge of the day</title>
		<link>http://realityme.net/2010/09/07/jquery-challenge-of-the-day/</link>
		<comments>http://realityme.net/2010/09/07/jquery-challenge-of-the-day/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 22:19:13 +0000</pubDate>
		<dc:creator>Doug McCaughan</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Daily Life]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://realityme.net/?p=12864</guid>
		<description><![CDATA[And now for something completely different&#8230; Let&#8217;s say you have a table that could have infinite rows. The table has an id but none of the other elements (ie. we won&#8217;t be traversing by id). The column to the furthest right of the row has an anchor tag in the for of an &#60;a href&#62; [...]]]></description>
			<content:encoded><![CDATA[<p><em>And now for something completely different&#8230;</em></p>
<p>Let&#8217;s say you have a table that could have infinite rows. The table has an id but none of the other elements (ie. we won&#8217;t be traversing by id). The column to the furthest right of the row has an anchor tag in the for of an &lt;a href&gt; There are no other anchors on that row. What I want to do is when the anchor tag is clicked, have the &lt;a href&gt; text in the row above the clicked on turn bold and <em>only</em> that &lt;a href&gt;. Sample table:</p>
<p><code>&lt;table id=&quot;tbl&quot;&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;thead&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;th&gt;col 1 label&lt;/th&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;th&gt;col 2 label&lt;/th&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tr&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;/thead&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;tbody&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td&gt;one&lt;/td&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td&gt;sometext &lt;a class=&quot;tt&quot; href=&quot;#&quot;&gt;link&lt;/a&gt;&lt;/td&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tr&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td&gt;two&lt;/td&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td&gt;moretext &lt;a class=&quot;tt&quot; href=&quot;#&quot;&gt;link&lt;/a&gt;&lt;/td&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tr&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td&gt;three&lt;/td&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td&gt;differenttext &lt;a class=&quot;tt&quot; href=&quot;#&quot;&gt;link&lt;/a&gt;&lt;/td&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tr&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;tr&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td&gt;four&lt;/td&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td&gt;othertext &lt;a class=&quot;tt&quot; href=&quot;#&quot;&gt;link&lt;/a&gt;&lt;/td&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/tr&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;/tbody&gt;<br />
&lt;/table&gt;</code></p>
<p>So, if I click the link in row three, I want the text &quot;link&quot; in row two to become bold. This is using jquery and traversing this is kicking me hard.</p>
]]></content:encoded>
			<wfw:commentRss>http://realityme.net/2010/09/07/jquery-challenge-of-the-day/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>jQuery roadblock</title>
		<link>http://realityme.net/2010/08/12/jquery-roadblock/</link>
		<comments>http://realityme.net/2010/08/12/jquery-roadblock/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 22:33:48 +0000</pubDate>
		<dc:creator>Doug McCaughan</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://realityme.net/?p=12743</guid>
		<description><![CDATA[jQuery problem: &#60;table&#62; &#60;tr&#62;&#60;td&#62;one&#60;/td&#62;&#60;td&#62;two&#60;/td&#62;&#60;td&#62;three&#60;/td&#62;&#60;td&#62;&#60;a class=&#8221;foo&#8221; href=&#8221;"&#62;click me first&#60;/a&#62;&#60;/td&#62;&#60;/tr&#62; &#60;tr&#62;&#60;td&#62;one&#60;/td&#62;&#60;td&#62;two&#60;/td&#62;&#60;td&#62;three&#60;/td&#62;&#60;td&#62;&#60;a class=&#8221;bar&#8221; href=&#8221;"&#62;click me second&#60;/a&#62;&#60;/td&#62;&#60;/tr&#62; &#60;/table&#62; What jQuery would allow me to click on &#34;click me second&#34; and change the color of the text &#34;click me first&#34;? It&#8217;s a little more complicated than that. The real source has a plus image on the first row. Once you [...]]]></description>
			<content:encoded><![CDATA[<p>jQuery problem:</p>
<blockquote><p>&lt;table&gt;<br />
&lt;tr&gt;&lt;td&gt;one&lt;/td&gt;&lt;td&gt;two&lt;/td&gt;&lt;td&gt;three&lt;/td&gt;&lt;td&gt;&lt;a class=&#8221;foo&#8221; href=&#8221;"&gt;click me first&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;<br />
&lt;tr&gt;&lt;td&gt;one&lt;/td&gt;&lt;td&gt;two&lt;/td&gt;&lt;td&gt;three&lt;/td&gt;&lt;td&gt;&lt;a class=&#8221;bar&#8221; href=&#8221;"&gt;click me second&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;<br />
&lt;/table&gt;</p></blockquote>
<p>What jQuery would allow me to click on &quot;click me second&quot; and change the color of the text &quot;click me first&quot;?</p>
<p>It&#8217;s a little more complicated than that. The real source has a plus image on the first row. Once you click that I use .hide() to make the plus go away. I create the 2nd row which has a minus image and a plus image. If you click the plus image, it disappears and creates a third row. The minus image, should 1st) cause the immediate plus image above it to appear 2) then disappear its own row. All plus images have a class of &quot;addrow&quot; and minus images have a class of &quot;deleterow&quot; I thought prev() would be doing it but I get nothing. Specifically .prev(&#8216;.addrow&#8217;).show();</p>
]]></content:encoded>
			<wfw:commentRss>http://realityme.net/2010/08/12/jquery-roadblock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simplifying Code</title>
		<link>http://realityme.net/2010/08/11/simplifying-code/</link>
		<comments>http://realityme.net/2010/08/11/simplifying-code/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 01:55:46 +0000</pubDate>
		<dc:creator>Doug McCaughan</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://realityme.net/?p=12739</guid>
		<description><![CDATA[Often I run across code like this: &#60;cfif ArrayIsEmpty(Cart.Products)&#62; &#160;&#160;&#160;&#160;&#160;&#60;cfset HasCart = False&#62; &#60;cfelse&#62; &#160;&#160;&#160;&#160;&#160;&#60;cfset HasCart = True&#62; &#60;/cfif&#62; Frankly, that makes me twitch a little. This has the same result: &#60;cfset HasCart = NOT ArrayIsEmpty(Cart.Products)&#62;]]></description>
			<content:encoded><![CDATA[<p>Often I run across code like this:</p>
<p><code><br />
&lt;cfif ArrayIsEmpty(Cart.Products)&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfset HasCart = False&gt;<br />
&lt;cfelse&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cfset HasCart = True&gt;<br />
&lt;/cfif&gt;<br />
</code></p>
<p>Frankly, that makes me twitch a little. This has the same result:</p>
<p><code><br />
&lt;cfset HasCart = NOT ArrayIsEmpty(Cart.Products)&gt;<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://realityme.net/2010/08/11/simplifying-code/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Magento &#8211; Not currently favorite color</title>
		<link>http://realityme.net/2010/01/28/magento-not-currently-favorite-color/</link>
		<comments>http://realityme.net/2010/01/28/magento-not-currently-favorite-color/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 12:54:41 +0000</pubDate>
		<dc:creator>Doug McCaughan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://realityme.net/?p=12347</guid>
		<description><![CDATA[Why is debugging and troubleshooting in Magento so difficult? Because of error messages like this: Notice: Undefined variable: rootNode in C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Eav\Model\Entity\Attribute\Source\Config.php on line 53 Trace: #0 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Eav\Model\Entity\Attribute\Source\Config.php(53): mageCoreErrorHandler(8, &#8216;Undefined varia&#8230;&#8217;, &#8216;C:\Domains\exam&#8230;&#8217;, 53, Array) #1 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Adminhtml\Block\Widget\Form.php(196): Mage_Eav_Model_Entity_Attribute_Source_Config->getAllOptions(true, true) #2 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Adminhtml\Block\Customer\Edit\Tab\Account.php(54): Mage_Adminhtml_Block_Widget_Form->_setFieldset(Array, Object(Varien_Data_Form_Element_Fieldset)) #3 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Adminhtml\Block\Customer\Edit\Tabs.php(58): Mage_Adminhtml_Block_Customer_Edit_Tab_Account->initForm() #4 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Core\Block\Abstract.php(642): Mage_Adminhtml_Block_Customer_Edit_Tabs->_beforeToHtml() #5 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Core\Block\Text\List.php(43): Mage_Core_Block_Abstract->toHtml() #6 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Core\Block\Abstract.php(643): Mage_Core_Block_Text_List->_toHtml() #7 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Core\Block\Abstract.php(503): [...]]]></description>
			<content:encoded><![CDATA[<p>Why is debugging and troubleshooting in Magento so difficult? Because of error messages like this:</p>
<blockquote><p>Notice: Undefined variable: rootNode  in C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Eav\Model\Entity\Attribute\Source\Config.php on line 53<br />
Trace:<br />
#0 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Eav\Model\Entity\Attribute\Source\Config.php(53): mageCoreErrorHandler(8, &#8216;Undefined varia&#8230;&#8217;, &#8216;C:\Domains\exam&#8230;&#8217;, 53, Array)<br />
#1 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Adminhtml\Block\Widget\Form.php(196): Mage_Eav_Model_Entity_Attribute_Source_Config->getAllOptions(true, true)<br />
#2 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Adminhtml\Block\Customer\Edit\Tab\Account.php(54): Mage_Adminhtml_Block_Widget_Form->_setFieldset(Array, Object(Varien_Data_Form_Element_Fieldset))<br />
#3 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Adminhtml\Block\Customer\Edit\Tabs.php(58): Mage_Adminhtml_Block_Customer_Edit_Tab_Account->initForm()<br />
#4 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Core\Block\Abstract.php(642): Mage_Adminhtml_Block_Customer_Edit_Tabs->_beforeToHtml()<br />
#5 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Core\Block\Text\List.php(43): Mage_Core_Block_Abstract->toHtml()<br />
#6 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Core\Block\Abstract.php(643): Mage_Core_Block_Text_List->_toHtml()<br />
#7 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Core\Block\Abstract.php(503): Mage_Core_Block_Abstract->toHtml()<br />
#8 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Core\Block\Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml(&#8216;left&#8217;, true)<br />
#9 C:\Domains\example.com\wwwroot\magento\app\design\adminhtml\default\default\template\page.phtml(58): Mage_Core_Block_Abstract->getChildHtml(&#8216;left&#8217;)<br />
#10 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Core\Block\Template.php(144): include(&#8216;C:\Domains\leoa&#8230;&#8217;)<br />
#11 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Core\Block\Template.php(176): Mage_Core_Block_Template->fetchView(&#8216;adminhtml\defau&#8230;&#8217;)<br />
#12 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Core\Block\Template.php(193): Mage_Core_Block_Template->renderView()<br />
#13 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Adminhtml\Block\Template.php(81): Mage_Core_Block_Template->_toHtml()<br />
#14 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Core\Block\Abstract.php(643): Mage_Adminhtml_Block_Template->_toHtml()<br />
#15 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Core\Model\Layout.php(526): Mage_Core_Block_Abstract->toHtml()<br />
#16 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Core\Controller\Varien\Action.php(347): Mage_Core_Model_Layout->getOutput()<br />
#17 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Adminhtml\controllers\CustomerController.php(117): Mage_Core_Controller_Varien_Action->renderLayout()<br />
#18 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Core\Controller\Varien\Action.php(376): Mage_Adminhtml_CustomerController->editAction()<br />
#19 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(248): Mage_Core_Controller_Varien_Action->dispatch(&#8216;edit&#8217;)<br />
#20 C:\Domains\example.com\wwwroot\magento\app\code\core\Mage\Core\Controller\Varien\Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))<br />
#21 C:\Domains\example.com\wwwroot\magento\app\Mage.php(459): Mage_Core_Controller_Varien_Front->dispatch()<br />
#22 C:\Domains\example.com\wwwroot\magento\index.php(65): Mage::run()<br />
#23 {main} </p></blockquote>
<p>Yes, it screams &quot;undefined variable&quot; which is rootNode but through Magento&#8217;s excellent use of object oriented spaghetti, the error does not in anyway reveal what is truly causing rootNode to be undefined nor where to even begin looking.</p>
]]></content:encoded>
			<wfw:commentRss>http://realityme.net/2010/01/28/magento-not-currently-favorite-color/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IRC Support for Zend Framework is on Freenode</title>
		<link>http://realityme.net/2010/01/24/irc-support-for-zend-framework-is-on-freenode/</link>
		<comments>http://realityme.net/2010/01/24/irc-support-for-zend-framework-is-on-freenode/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 11:23:50 +0000</pubDate>
		<dc:creator>Doug McCaughan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[zend]]></category>
		<category><![CDATA[zend framework]]></category>
		<category><![CDATA[zendframework]]></category>
		<category><![CDATA[zf]]></category>

		<guid isPermaLink="false">http://realityme.net/?p=12340</guid>
		<description><![CDATA[The unofficial IRC support channel for Zend Framework is on Freenode at #zftalk.]]></description>
			<content:encoded><![CDATA[<p>The unofficial <acronym title="Internet Relay Chat">IRC</acronym> support channel for Zend Framework is on Freenode at #zftalk.</p>
]]></content:encoded>
			<wfw:commentRss>http://realityme.net/2010/01/24/irc-support-for-zend-framework-is-on-freenode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Current Magento Questions &#8211; getCustomerFormData</title>
		<link>http://realityme.net/2010/01/21/current-magento-questions-getcustomerformdata/</link>
		<comments>http://realityme.net/2010/01/21/current-magento-questions-getcustomerformdata/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 03:18:17 +0000</pubDate>
		<dc:creator>Doug McCaughan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[ecommerce]]></category>
		<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://realityme.net/?p=12332</guid>
		<description><![CDATA[The Magento ecommerce question I am trying to answer right now is what does getCustomerFormData() do? In AccountController.php and Register.php there is this reference $data = $this->_getSession()->getCustomerFormData(true); and this reference $data = new Varien_Object(Mage::getSingleton(&#8216;customer/session&#8217;)->getCustomerFormData(true)); respectively. I&#8217;ve searched using grep and within eclipse&#8217;s file search but can find no other reference to getCustomerFormData. I can find [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://magentoecommerce.com/">Magento ecommerce</a> question I am trying to answer right now is what does getCustomerFormData() do?</p>
<blockquote><p>In AccountController.php and Register.php there is this reference $data = $this->_getSession()->getCustomerFormData(true); and this reference $data = new Varien_Object(Mage::getSingleton(&#8216;customer/session&#8217;)->getCustomerFormData(true)); respectively. I&#8217;ve searched using grep and within eclipse&#8217;s file search but can find no other reference to getCustomerFormData.</p></blockquote>
<p>I can find no reference to getCustomerFormData other than these two lines of code. So what is this supposed to be accomplishing?</p>
]]></content:encoded>
			<wfw:commentRss>http://realityme.net/2010/01/21/current-magento-questions-getcustomerformdata/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento &#8211; Developer Killer</title>
		<link>http://realityme.net/2010/01/21/magento-developer-killer/</link>
		<comments>http://realityme.net/2010/01/21/magento-developer-killer/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 18:09:11 +0000</pubDate>
		<dc:creator>Doug McCaughan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[ecommerce]]></category>

		<guid isPermaLink="false">http://realityme.net/?p=12318</guid>
		<description><![CDATA[While trying to add some functionality to my client&#8217;s Magento ecommerce store, I came across an article that summed up my Magento experience quite well: Most of us in ecommerce application development have already heard of Magento. Some would call it new ecommerce killer app. I myself stand with that statement for many of reasons. [...]]]></description>
			<content:encoded><![CDATA[<p>While trying to add some functionality to my client&#8217;s <a href="http://magentoecommerce.com/">Magento ecommerce</a> store, I came across an article that summed up my Magento experience quite well:</p>
<blockquote><p>Most of us in ecommerce application development have already heard of Magento. Some would call it new ecommerce killer app. I myself stand with that statement for many of reasons. However <strong>I would like to call it with one more name, developer killer app</strong>. This developer killer is what I literally had in mind. <strong>Magento is currently one of the most difficult PHP systems out there a developer could learn and master</strong>. [<a href="http://activecodeline.com/what-makes-magento-so-hard-to-learn">Source, {}activecodeline, <em>What makes Magento so hard to learn</em></a> (emphasis added)]</p></blockquote>
<p>I have put so much effort into learning this system that I both never want to touch it again AND must do more Magento development so that this exercise of gaining knowledge does not go to waste.</p>
<p>Today&#8217;s links for Magento success:</p>
<ul>
<li><a href="http://netbeans.org/">Netbeans</a></li>
<li><a href="http://www.eclipse.org/">Eclipse</a></li>
<li><a href="http://framework.zend.com/">ZendFramework</a></li>
<li><a href="http://www.magentocommerce.com/?ACT=25&amp;fid=40&amp;aid=9563_38jYypduC0XKiAfzF4Zi&amp;board_id=1">MAGENTO_v1.3.2.4&#8212;Database_Diagram.pdf</a> by <a href="http://www.magentocommerce.com/boards/viewthread/7359/">ggoodwin</a></li>
<li><a href="http://framework.zend.com/docs/quickstart">ZendFramework Quikstart</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://realityme.net/2010/01/21/magento-developer-killer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Magento References</title>
		<link>http://realityme.net/2010/01/19/magento-references/</link>
		<comments>http://realityme.net/2010/01/19/magento-references/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 02:23:56 +0000</pubDate>
		<dc:creator>Doug McCaughan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://realityme.net/?p=12305</guid>
		<description><![CDATA[Relevant to my life right now: Class Mage_Eav_Model_Entity_Setup Installing Custom Attributes with Your Module Magento Architecture ERDs and other diagrams database diagrams Question about adding selects, radio buttons, and checkboxes to registration form. Designing for Magento Themeing Magento Categories, Products, and Attributes &#8211; part 1 Categories and Attributes in Magento: Part 2]]></description>
			<content:encoded><![CDATA[<p>Relevant to my life right now:</p>
<ul>
<li><a href="http://docs.magentocommerce.com/Mage_Eav/Mage_Eav_Model_Entity_Setup.html">Class Mage_Eav_Model_Entity_Setup</a></li>
<li><a href="http://www.magentocommerce.com/wiki/doc/installing_custom_attributes_with_your_module">Installing Custom Attributes with Your Module</a></li>
<li><a href="http://www.magentocommerce.com/wiki/doc/magento-architecture">Magento Architecture</a></li>
<li><a href="http://www.magentocommerce.com/boards/viewthread/3512/">ERDs and other diagrams</a></li>
<li><a href="http://www.magentocommerce.com/boards/viewthread/7359/#top">database diagrams</a></li>
<li><a href="http://www.magentocommerce.com/boards/viewthread/73362/">Question about adding selects, radio buttons, and checkboxes to registration form.</a></li>
<li><a href="http://www.magentocommerce.com/wiki/how-to/designing/designing-for-magento">Designing for Magento</a></li>
<li><a href="http://www.themeswiki.org/Theming_Magento">Themeing Magento</a></li>
<li><a href="http://www.packtpub.com/article/categories-and-attributes-in-magento-part1">Categories, Products, and Attributes &#8211; part 1</a></li>
<li><a href="http://www.packtpub.com/article/categories-and-attributes-in-magento-part2">Categories and Attributes in Magento: Part 2</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://realityme.net/2010/01/19/magento-references/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

