Category Archives: programming

using the parent() function in e4x epressions and actionscript to create complex queries.

Let’s say you have the following xml for greeting cards.

<designlist>

<design

 id="123"

title="Happy Hanukkah"

previewImageUrl="assets/demo/images/g0022_4×6h_preview.jpg"

thumbImageUrl=""

   <tags>

  <tag id=‘1231′></tag>

<tag id=‘3242′&gt;Hanukkah&lt;/tag&gt;</code></blockquote>

</tags>

<code> &lt;/design&gt;</code>

<p align="left">&nbsp;</p>

 

<p align="left"><code>&lt;design

</code>

<blockquote><code> id="456"</code>

<code> title="Happy New Year"</code>

<code> previewImageUrl="assets/demo/images/g0412_4×6h_preview.jpg"</code>

<code> thumbImageUrl=""&gt;</code>

<code> &lt;tags&gt;</code>

<blockquote><code> &lt;tag id=’1231′&gt;Holiday&lt;/tag&gt;</code>

<code> &lt;tag id=’2342′&gt;New Year&lt;/tag&gt;</code></blockquote>

<code> &lt;/tags&gt;</code>

<code></code></blockquote>

<p align="left"><code> &lt;/design&gt;</code></p>

<p align="left">&nbsp;</p>

 

<p align="left"><code>&lt;design

</code>

<blockquote><code> id="8284"</code>

<code> title="Merry Xmas"</code>

<code> previewImageUrl="assets/demo/images/g0256_4×6v_preview.jpg"</code>

<code> thumbImageUrl=""&gt;</code>

<code></code></blockquote>

<blockquote><code> &lt;tags&gt;</code>

<blockquote><code> &lt;tag id=’1231′&gt;Holiday&lt;/tag&gt;</code>

<code> &lt;tag id=’3242′&gt;XMas&lt;/tag&gt;</code>

<code> &lt;tag id=’8323′&gt;Christmas&lt;/tag&gt;</code></blockquote>

<code> &lt;/tags&gt;</code>

<code></code></blockquote>

<p align="left"><code> &lt;/design&gt;</code></p>

<p align="left">&nbsp;</p>

 

<p align="left"><code>&lt;design

</code>

<blockquote><code> id="8284"</code>

<code> title="Happy Happy [...]

Subversion integration with Active Reload’s wonderful Lighthouse Issue Tracking site.

I realize this post is probably not as interesting as integrating Lighthouseapp with GIT but I thought I would jot down a couple of notes.
There is a great script that shows you how to set up subversion with lighthouse here:
http://www.lighthouseapp.com/help/setting-up-subversion-integration
The documentation is sufficient, but too sparse for my tastes.
Here’s some notes that might help [...]

creating control arrays with qcodo

Lately I’ve been playing around with the qcodo framework. There’s a lot of things to love about qcodo, but the 4 or 5 lines of code required to put together a single control is not one of them.
For instance, if I wanted to create a text box on a page. I could something like this.
class [...]