<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>John Kleijn - Comments</title>
    <link>http://www.johnkleijn.nl/</link>
    <description>John Kleijn - Cogito ergo sum, baby</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.2 - http://www.s9y.org/</generator>
    <pubDate>Mon, 06 Feb 2012 22:49:06 GMT</pubDate>

    <image>
        <url>http://www.johnkleijn.nl/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: John Kleijn - Comments - John Kleijn - Cogito ergo sum, baby</title>
        <link>http://www.johnkleijn.nl/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>John Kleijn: ExtJS RecordFormPanel</title>
    <link>http://www.johnkleijn.nl/2010/ExtJS-RecordFormPanel#c259</link>
            <category></category>
    
    <comments>http://www.johnkleijn.nl/2010/ExtJS-RecordFormPanel#comments</comments>
    <wfw:comment>http://www.johnkleijn.nl/wfwcomment.php?cid=42</wfw:comment>

    

    <author>nospam@example.com (John Kleijn)</author>
    <content:encoded>
    &lt;p class=&quot;whiteline&quot;&gt;That makes sense, I didn&#039;t know StoreMgr.lookup() acts as a factory. It&#039;s not something I would personally use, as you point out the primary function of this component is a &quot;shared store&quot; situation. It might be useful in situations where you need a local store though, but then again, that is not a logical use case for this component.
&lt;/p&gt;&lt;p class=&quot;break&quot;&gt;For sake of completeness it&#039;s a good suggestion though &lt;img src=&quot;http://www.johnkleijn.nl/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 29 Dec 2010 21:50:48 +0100</pubDate>
    <guid isPermaLink="false">http://www.johnkleijn.nl/2010/42#c259</guid>
    
</item>
<item>
    <title>Mchl: ExtJS RecordFormPanel</title>
    <link>http://www.johnkleijn.nl/2010/ExtJS-RecordFormPanel#c258</link>
            <category></category>
    
    <comments>http://www.johnkleijn.nl/2010/ExtJS-RecordFormPanel#comments</comments>
    <wfw:comment>http://www.johnkleijn.nl/wfwcomment.php?cid=42</wfw:comment>

    

    <author>nospam@example.com (Mchl)</author>
    <content:encoded>
    &lt;p class=&quot;whiteline&quot;&gt;It&#039;s not for referencing by ID (though Ext.StoreMgr.lookup()&#039;s signature might suggest that). It&#039;s for being able to do something like this.
&lt;/p&gt;&lt;p class=&quot;whiteline&quot;&gt;&lt;div class=&quot;javascript geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #003366; font-weight: bold;&quot;&gt;var&lt;/span&gt; recordForm &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;&amp;#160; xtype&lt;span style=&quot;color: #339933;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&#039;recordform&#039;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;&amp;#160; ...&lt;br /&gt;&amp;#160; &lt;span style=&quot;color: #660066;&quot;&gt;store&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; xtype&lt;span style=&quot;color: #339933;&quot;&gt;:&lt;/span&gt; &lt;span style=&quot;color: #3366CC;&quot;&gt;&#039;jsonstore&#039;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;&amp;#160; &amp;#160; ...&lt;br /&gt;&amp;#160; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;&amp;#160;&lt;/div&gt;
&lt;/p&gt;&lt;p class=&quot;break&quot;&gt;In other way it lets you defer instantiation of the store until you actually need it.&lt;/p&gt;&lt;p class=&quot;break&quot;&gt;Granted, this component will probably be used together with other store enabled components like GridPanel, and would be using stores already associated with them (via Ext.grid.GridPanel.getStore() for example). Nonetheless, adding this one line adds some extra functionality to the RecordPanel which makes it a bit more versatile.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 29 Dec 2010 21:38:22 +0100</pubDate>
    <guid isPermaLink="false">http://www.johnkleijn.nl/2010/42#c258</guid>
    
</item>
<item>
    <title>John Kleijn: ExtJS RecordFormPanel</title>
    <link>http://www.johnkleijn.nl/2010/ExtJS-RecordFormPanel#c257</link>
            <category></category>
    
    <comments>http://www.johnkleijn.nl/2010/ExtJS-RecordFormPanel#comments</comments>
    <wfw:comment>http://www.johnkleijn.nl/wfwcomment.php?cid=42</wfw:comment>

    

    <author>nospam@example.com (John Kleijn)</author>
    <content:encoded>
    &lt;p class=&quot;break&quot;&gt;I guess. Personally I am not really using referencing by ID, I prefer a stateful interface. I use it for combo&#039;s though, for often referenced lists, like an employee list. Technically I should not do that though, for the same reasons a Singleton Registry is ill-advised.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 29 Dec 2010 21:14:30 +0100</pubDate>
    <guid isPermaLink="false">http://www.johnkleijn.nl/2010/42#c257</guid>
    
</item>
<item>
    <title>Mchl: ExtJS RecordFormPanel</title>
    <link>http://www.johnkleijn.nl/2010/ExtJS-RecordFormPanel#c256</link>
            <category></category>
    
    <comments>http://www.johnkleijn.nl/2010/ExtJS-RecordFormPanel#comments</comments>
    <wfw:comment>http://www.johnkleijn.nl/wfwcomment.php?cid=42</wfw:comment>

    

    <author>nospam@example.com (Mchl)</author>
    <content:encoded>
    &lt;p class=&quot;whiteline&quot;&gt;You might want to add
&lt;/p&gt;&lt;p class=&quot;whiteline&quot;&gt;&lt;div class=&quot;javascript geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;store&lt;/span&gt; &lt;span style=&quot;color: #339933;&quot;&gt;=&lt;/span&gt; Ext.&lt;span style=&quot;color: #660066;&quot;&gt;StoreMgr&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;lookup&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #000066; font-weight: bold;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #660066;&quot;&gt;store&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&amp;#160;&lt;/div&gt;
&lt;/p&gt;&lt;p class=&quot;break&quot;&gt;to initComponent() function. This will allow passing both config objects as well as  Store objects. See source of Ext.grid.GridPanel.initComponent()&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 29 Dec 2010 21:04:16 +0100</pubDate>
    <guid isPermaLink="false">http://www.johnkleijn.nl/2010/42#c256</guid>
    
</item>
<item>
    <title>John Kleijn: Topological sorting of JavaScript files</title>
    <link>http://www.johnkleijn.nl/2010/Topological-sorting-of-JavaScript-files#c255</link>
            <category></category>
    
    <comments>http://www.johnkleijn.nl/2010/Topological-sorting-of-JavaScript-files#comments</comments>
    <wfw:comment>http://www.johnkleijn.nl/wfwcomment.php?cid=41</wfw:comment>

    

    <author>nospam@example.com (John Kleijn)</author>
    <content:encoded>
    &lt;p class=&quot;whiteline&quot;&gt;Not really. I don&#039;t scan for xtypes myself (I use a @depends JSDoc tag), but adapting the code above to work for xtypes is trivial.
&lt;/p&gt;&lt;p class=&quot;whiteline&quot;&gt;Just add a sibling to the &#039;classes&#039; index in the spec, eg:
&lt;/p&gt;&lt;p class=&quot;whiteline&quot;&gt;&lt;div class=&quot;php geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://www.php.net/preg_match_all&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;preg_match_all&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&amp;quot;Ext.reg(ister)?\((&#039;|&lt;span style=&quot;color: #000099; font-weight: bold;&quot;&gt;\&amp;quot;&lt;/span&gt;)([a-z]+)(&#039;|&lt;span style=&quot;color: #000099; font-weight: bold;&quot;&gt;\&amp;quot;&lt;/span&gt;)&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$contents&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$matches&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;&#039;xtype&#039;&lt;/span&gt; &amp;#160;&lt;span style=&quot;color: #339933;&quot;&gt;=&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #000088;&quot;&gt;$matches&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #cc66cc;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;br /&gt;&amp;#160;&lt;/div&gt;
&lt;/p&gt;&lt;p class=&quot;whiteline&quot;&gt;Then simply add another iteration for every file, if a match for &quot;xtype:\s*(&#039;|\&quot;)&quot; . $specA[&#039;xtype&#039;]. &quot;(&#039;|\&quot;)&quot; is found, add the link.
&lt;/p&gt;&lt;p class=&quot;break&quot;&gt;PS Serendipity sucks ass.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 29 Dec 2010 21:01:58 +0100</pubDate>
    <guid isPermaLink="false">http://www.johnkleijn.nl/2010/41#c255</guid>
    
</item>
<item>
    <title>Mchl: Topological sorting of JavaScript files</title>
    <link>http://www.johnkleijn.nl/2010/Topological-sorting-of-JavaScript-files#c254</link>
            <category></category>
    
    <comments>http://www.johnkleijn.nl/2010/Topological-sorting-of-JavaScript-files#comments</comments>
    <wfw:comment>http://www.johnkleijn.nl/wfwcomment.php?cid=41</wfw:comment>

    

    <author>nospam@example.com (Mchl)</author>
    <content:encoded>
    &lt;p class=&quot;whiteline&quot;&gt;My solution was a bit uglier. I put every component into a separate file and add a list of it&#039;s direct dependencies (ugh!). Then I let PHP recursively load all JS files needed for any given &#039;Screen&#039; (a basic unit of my GUI system).
&lt;/p&gt;&lt;p class=&quot;break&quot;&gt;I&#039;m currently thinking on how to remove dependency lists by parsing the source code for used classes (might be tricky when lazy instantiation through xtype is used).&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 29 Dec 2010 20:44:01 +0100</pubDate>
    <guid isPermaLink="false">http://www.johnkleijn.nl/2010/41#c254</guid>
    
</item>
<item>
    <title>Mchl: Why you can't (or shouldn't) unserialize exceptions</title>
    <link>http://www.johnkleijn.nl/2010/Why-you-cant-or-shouldnt-unserialize-exceptions#c252</link>
            <category></category>
    
    <comments>http://www.johnkleijn.nl/2010/Why-you-cant-or-shouldnt-unserialize-exceptions#comments</comments>
    <wfw:comment>http://www.johnkleijn.nl/wfwcomment.php?cid=32</wfw:comment>

    

    <author>nospam@example.com (Mchl)</author>
    <content:encoded>
    &lt;p class=&quot;break&quot;&gt;Hi John,&lt;/p&gt;&lt;p class=&quot;break&quot;&gt;This is something I wouldn&#039;t ever think of. Lesson for today: (if it&#039;s not necessary) build your classes in such a way, they won&#039;t throw Exceptions on __wakeup()&lt;/p&gt; 
    </content:encoded>

    <pubDate>Fri, 24 Dec 2010 00:40:27 +0100</pubDate>
    <guid isPermaLink="false">http://www.johnkleijn.nl/2010/32#c252</guid>
    
</item>
<item>
    <title>Anonymous: Story: Doctrine 2 lead up</title>
    <link>http://www.johnkleijn.nl/2010/Story-Doctrine-2-lead-up#c251</link>
            <category></category>
    
    <comments>http://www.johnkleijn.nl/2010/Story-Doctrine-2-lead-up#comments</comments>
    <wfw:comment>http://www.johnkleijn.nl/wfwcomment.php?cid=38</wfw:comment>

    

    <author>nospam@example.com ()</author>
    <content:encoded>
    &lt;p class=&quot;whiteline&quot;&gt;Hey Ross,
&lt;/p&gt;&lt;p class=&quot;whiteline&quot;&gt;I don&#039;t think it&#039;s ready for a public release. It&#039;s very basic anyway: just a helper to do insert node, remove branch, fetch branch and move branch.
&lt;/p&gt;&lt;p class=&quot;whiteline&quot;&gt;It&#039;s not integrated into the persisters or anything. Hierarchical objects need to extend a base class that handles the left, right and level values (using @MappedSuperclass).
&lt;/p&gt;&lt;p class=&quot;whiteline&quot;&gt;There are definite downsides to this approach, in perticular the list of children will not always be populated, only if fetched using the helper.
&lt;/p&gt;&lt;p class=&quot;break&quot;&gt;Add to that that technically I do not own this code, I&#039;ll have to decline.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Mon, 26 Jul 2010 15:30:43 +0200</pubDate>
    <guid isPermaLink="false">http://www.johnkleijn.nl/2010/38#c251</guid>
    
</item>
<item>
    <title>Ross: Story: Doctrine 2 lead up</title>
    <link>http://www.johnkleijn.nl/2010/Story-Doctrine-2-lead-up#c250</link>
            <category></category>
    
    <comments>http://www.johnkleijn.nl/2010/Story-Doctrine-2-lead-up#comments</comments>
    <wfw:comment>http://www.johnkleijn.nl/wfwcomment.php?cid=38</wfw:comment>

    

    <author>nospam@example.com (Ross)</author>
    <content:encoded>
    &lt;p class=&quot;break&quot;&gt;On the subject of Doctrine2, any interest in opening up your NestedSet implementation?&lt;/p&gt; 
    </content:encoded>

    <pubDate>Mon, 26 Jul 2010 14:53:50 +0200</pubDate>
    <guid isPermaLink="false">http://www.johnkleijn.nl/2010/38#c250</guid>
    
</item>
<item>
    <title>David Weinraub: NetBeans is TDD unfriendly!</title>
    <link>http://www.johnkleijn.nl/2010/NetBeans-is-TDD-unfriendly!#c8</link>
            <category></category>
    
    <comments>http://www.johnkleijn.nl/2010/NetBeans-is-TDD-unfriendly!#comments</comments>
    <wfw:comment>http://www.johnkleijn.nl/wfwcomment.php?cid=30</wfw:comment>

    

    <author>nospam@example.com (David Weinraub)</author>
    <content:encoded>
    &lt;p class=&quot;break&quot;&gt;Right, I&#039;m on WinXP, so it&#039;s probably the Java slowing up the works. My PHP unit tests run significantly faster from command line (no surprise). Cheers!&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 19 May 2010 12:37:39 +0200</pubDate>
    <guid isPermaLink="false">http://www.johnkleijn.nl/2010/30#c8</guid>
    
</item>
<item>
    <title>John Kleijn: NetBeans is TDD unfriendly!</title>
    <link>http://www.johnkleijn.nl/2010/NetBeans-is-TDD-unfriendly!#c7</link>
            <category></category>
    
    <comments>http://www.johnkleijn.nl/2010/NetBeans-is-TDD-unfriendly!#comments</comments>
    <wfw:comment>http://www.johnkleijn.nl/wfwcomment.php?cid=30</wfw:comment>

    

    <author>nospam@example.com (John Kleijn)</author>
    <content:encoded>
    &lt;p class=&quot;break&quot;&gt;No problem. It seems though as if my verdict of Zend Studio was premature. I&#039;m starting to have similar issues with NetBeans, which probably means the issue with Java on Ubuntu, rather than with either IDEs. &lt;img src=&quot;http://www.johnkleijn.nl/templates/default/img/emoticons/sad.png&quot; alt=&quot;:-(&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 19 May 2010 12:07:18 +0200</pubDate>
    <guid isPermaLink="false">http://www.johnkleijn.nl/2010/30#c7</guid>
    
</item>
<item>
    <title>David Weinraub: NetBeans is TDD unfriendly!</title>
    <link>http://www.johnkleijn.nl/2010/NetBeans-is-TDD-unfriendly!#c6</link>
            <category></category>
    
    <comments>http://www.johnkleijn.nl/2010/NetBeans-is-TDD-unfriendly!#comments</comments>
    <wfw:comment>http://www.johnkleijn.nl/wfwcomment.php?cid=30</wfw:comment>

    

    <author>nospam@example.com (David Weinraub)</author>
    <content:encoded>
    &lt;p class=&quot;whiteline&quot;&gt;Thanks for your post. I was wondering why NB always failed to find my tests. As you explain, the test for MyClass must also be named MyClass, but located within the /tests folder. Like you, I prefer to have my test class named MyClassTest, though I am perfectly happy to place it in a separate hierarchy in the /tests folder.
&lt;/p&gt;&lt;p class=&quot;whiteline&quot;&gt;I confess that I am not doing much pure TDD, so I usually do have my SUT class already defined, if not completely written. So, as you observe, I can run tests by doing a right-click Run on the Test file itself, provided NB is pointed to the right test bootstrap file.
&lt;/p&gt;&lt;p class=&quot;whiteline&quot;&gt;Now to figure out why my tests run so slowly, even via this method.
&lt;/p&gt;&lt;p class=&quot;break&quot;&gt;Thanks and cheers!&lt;/p&gt; 
    </content:encoded>

    <pubDate>Fri, 14 May 2010 08:55:32 +0200</pubDate>
    <guid isPermaLink="false">http://www.johnkleijn.nl/2010/30#c6</guid>
    
</item>
<item>
    <title>ficuscr: Zend Framework 1.7: Zend_Db_Table still sucks</title>
    <link>http://www.johnkleijn.nl/2008/Zend-Framework-1.7-Zend_Db_Table-still-sucks#c4</link>
            <category></category>
    
    <comments>http://www.johnkleijn.nl/2008/Zend-Framework-1.7-Zend_Db_Table-still-sucks#comments</comments>
    <wfw:comment>http://www.johnkleijn.nl/wfwcomment.php?cid=22</wfw:comment>

    

    <author>nospam@example.com (ficuscr)</author>
    <content:encoded>
    &lt;p class=&quot;break&quot;&gt;Amen!&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 07 Apr 2010 23:39:21 +0200</pubDate>
    <guid isPermaLink="false">http://www.johnkleijn.nl/2010/22#c4</guid>
    
</item>
<item>
    <title>Mchl: Google not indexing my blog</title>
    <link>http://www.johnkleijn.nl/2010/Google-not-indexing-my-blog#c3</link>
            <category></category>
    
    <comments>http://www.johnkleijn.nl/2010/Google-not-indexing-my-blog#comments</comments>
    <wfw:comment>http://www.johnkleijn.nl/wfwcomment.php?cid=31</wfw:comment>

    

    <author>nospam@example.com (Mchl)</author>
    <content:encoded>
    &lt;p class=&quot;break&quot;&gt;&#039;John Klein&#039; folder in my Thunderbird just lit up blue and indicates there&#039;s a lot of new items in it... I guess it means things are getting back on track.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 07 Apr 2010 22:08:39 +0200</pubDate>
    <guid isPermaLink="false">http://www.johnkleijn.nl/2010/31#c3</guid>
    
</item>
<item>
    <title>John Kleijn: Started on a new framework</title>
    <link>http://www.johnkleijn.nl/2010/Started-on-a-new-framework#c2</link>
            <category></category>
    
    <comments>http://www.johnkleijn.nl/2010/Started-on-a-new-framework#comments</comments>
    <wfw:comment>http://www.johnkleijn.nl/wfwcomment.php?cid=8</wfw:comment>

    

    <author>nospam@example.com (John Kleijn)</author>
    <content:encoded>
    &lt;p class=&quot;whiteline&quot;&gt;Hi Daniel,
&lt;/p&gt;&lt;p class=&quot;whiteline&quot;&gt;Yes, I do mention that (&quot;arguably we could already do that by recursively casting to an array&quot;).
&lt;/p&gt;&lt;p class=&quot;break&quot;&gt;Thanks for pointing out the mistake in the text, pretty sloppy of me.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sun, 28 Mar 2010 03:47:43 +0200</pubDate>
    <guid isPermaLink="false">http://www.johnkleijn.nl/2010/8#c2</guid>
    
</item>

</channel>
</rss>
