<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">

  <title><![CDATA[Acko.net]]></title>
  <link href="http://acko.net/atom.xml" rel="self"/>
  <link href="http://acko.net/"/>
  <updated>2012-05-17T01:12:29-07:00</updated>
  <id>http://acko.net/</id>
  <author>
    <name><![CDATA[Steven Wittens]]></name>
    
  </author>

  
  <entry>
    <title type="html"><![CDATA[Updated Drupal TextMate Bundle]]></title>
    <link href="http://acko.net/blog/updated-drupal-textmate-bundle/"/>
    <updated>2007-01-14T00:00:00-08:00</updated>
    <id>http://acko.net/blog/updated-drupal-textmate-bundle</id>
    <content type="html"><![CDATA[<div class='g8 i2 first'><div class='pad'><h1>Updated Drupal TextMate Bundle</h1><p>I've updated my Drupal TextMate bundle script to also generate snippets for all PHP internal functions, including correct placeholders for the function arguments. It's a lifesaver when navigating PHP's bizarre Array or String APIs.
</p>

<p>
The script fetches the PHP function list straight from PHP CVS, but it still needs a Drupal tree to work. You can also copy in the contrib documentation to get snippets for hooks too (which even auto-fill in the module name). All PHP files within the given path are parsed.
</p>

<p>
To use it, place it in <code>~/Library/Application&nbsp;Support/TextMate/Bundles</code> and run it:
</p>

<p>
<code><br />
php&nbsp;generate.php.txt&nbsp;[path&nbsp;to&nbsp;drupal]<br />
</code>
</p>

<p>
In TextMate, go to Bundles › Bundle Editor › Reload Bundles to activate it. 
</p>

<p>
  <a href='/files/drupal-textmate/generate.php.txt'>Download</a>
</p>

<p>
 (License: <a href='http://www.gnu.org/copyleft/gpl.html'>GPL</a>)
</p></div></div>]]></content>
  </entry>
  
  <entry>
    <title type="html"><![CDATA[I ♥ Cocoa]]></title>
    <link href="http://acko.net/blog/i-cocoa/"/>
    <updated>2006-10-31T00:00:00-08:00</updated>
    <id>http://acko.net/blog/i-cocoa</id>
    <content type="html"><![CDATA[<div class='g8 i2 first'><div class='pad'><h1>I ♥ Cocoa</h1><p>I've been using <a href='http://macromates.com/'>TextMate</a> as my editor for a while, but it keeps amazing me every day. Today, I stumbled upon this cool screencast that shows off how easy it is to extend TextMate with Cocoa. You can add in custom dialogs, pipe in data from various sources and integrate it with the rest of TextMate.
</p>

<p>
This is mostly possible simply because of the coolness of Apple's <a href='http://developer.apple.com/cocoa/'>Cocoa</a>: the ability to drag and drop together not just dialogs, but the underlying model and controllers, is great. It's also the thing that confused me most when I first started doing Cocoa, because I had to unlearn the old principle that no behaviour is possible without code.
</p>

<p>
Using OS X's built-in Interface Builder and TextMate's <code>tm_dialog</code> command, he builds an SVN revision list viewer in a few easy steps. You can clearly see how Interface Builder is much more than a fancy dialog editor.
</p>

<p>
<a href='http://macromates.com/screencast/intro_to_tm_dialog.mov'>Intro to <code>tm_dialog</code></a>
</p>

<p>
Also, if you're still not convinced TextMate is the bee's knees, check out these 'casts about HTML editing:
</p>

<p>
<a href='http://macromates.com/screencast/insert_html_tags.mov'>Inserting HTML tags</a>
<a href='http://macromates.com/screencast/html_text_transformations.mov'>HTML transformations</a>
</p>

<p>
Yes, I'm sure you can do all this in arcane editors of old as well, but TextMate makes it easy to go from novice to expert, as every one of these commands is exposed in the UI in a transparent and consistent manner.
</p></div></div>]]></content>
  </entry>
  
</feed>

