DarthAPO.com

Comic: #217 - Squint Harder

Source: ZooDotCom | 8 Jan 2015 @ 10:00 pm

New Comic: 217: Squint Harder

Which reminds me, I need to see an ophthalmologist – I have terrible taste in women.

Comic: #216 - Meet The Boffins

Source: ZooDotCom | 1 Jan 2015 @ 10:00 pm

New Comic: 216: Meet The Boffins

Camel’s back, meet the straw.

Comic: #215 - Puffery

Source: ZooDotCom | 25 Dec 2014 @ 10:00 pm

New Comic: 215: Puffery

Can puffins be blonde?

Comic: #214 - Love At First Query

Source: ZooDotCom | 18 Dec 2014 @ 10:00 pm

New Comic: 214: Love At First Query

A good lesson to learn: Never judge a drink by its cover name.

Comic: #213 - Naptime

Source: ZooDotCom | 11 Dec 2014 @ 10:00 pm

New Comic: 213: Naptime

Science has discovered that you can measure the amount of fun you had based on how long your hangover lasts.

Inkwellian Theatre: Minicomic Anthology: Jumblaya! #1

Source: Matt McCray | 5 Dec 2011 @ 4:43 pm
Inkwellian Theatre: Minicomic Anthology: Jumblaya! #1: Jumblaya! #1 , a collection of some of my minicomics all bound up in a handy, iPad-ready*, ebook! 52 pages of weirdness and fun! Avail...

Lion-O

Source: Content from Sketches | 4 Apr 2011 @ 1:57 pm | (From Flickr)

Inkwellian posted a photo:

Lion-O

Lion-O from Thundercats! Warmup sketch using MangaStudio.

Jumping #tuesdaysketch

Source: Content from Sketches | 18 Jan 2011 @ 5:03 pm | (From Flickr)

Inkwellian posted a photo:

Jumping #tuesdaysketch

snowman

Source: Content from Sketches | 7 Jan 2011 @ 12:56 am | (From Flickr)

Inkwellian posted a photo:

snowman

Happy Holidays

Source: Content from Sketches | 6 Jan 2011 @ 5:04 pm | (From Flickr)

Inkwellian posted a photo:

Happy Holidays

Santa

Source: Content from Sketches | 6 Jan 2011 @ 5:04 pm | (From Flickr)

Inkwellian posted a photo:

Santa

Simple Todo App using Backbone

Source: Matt McCray | 15 Oct 2010 @ 1:58 pm

Here's a quick example I threw together of a simple Todo app using Backbone.js. It overrides the Backbone.sync function to persist the tasks to localStorage. I tried to keep it simple.

I'd really like any Backbone gurus to have a look and make suggestions (or make their own fork) for better collection/view handling. Or to just rework it to show "best practices."

Some questions I have are:

It seems most of my questions are related to Views, huh?

Well, I'll continue to experiment and if I come to any conclusions I'll be sure and post them. But if you are, or know, anyone well versed in Backbone (can't be too many people, at this point) I'd really like some feedback.

You can see it below, or here.

Enjoy!

Technorati Tags: , ,

Using Backbone.js in CoffeeScript

Source: Matt McCray | 15 Oct 2010 @ 7:34 am

If you don't know about CoffeeScript yet, you need to check it out. Now. -- I love it. It feels as fun and clean as writing in Ruby, only it compiles to JavaScript. That's what you would call "all good." If you were one to use such expressions.

Here's some coffee I created so I could use Backbone classes as native CoffeeScript classes:

Apps With Backbone

Source: Matt McCray | 14 Oct 2010 @ 5:15 pm

I've been working with a lot of JavaScript (single page) apps lately. I've found that the primary challenge of JS apps is keeping your data and UI sync'ed up.

There are those who say that attaching the data directly to the DOM is fine... But I'm leery of that. Some browsers (notably IE, of course) tend to leak memory when attaching extraneous data to the DOM. Plus, it just feels wrong. There's a reason "Separation of Concerns" (SoC) is a bit of a mantra.

Ideally you'd want to use something like Cocoa's KVC bindings for your UI. But the two main projects that have that as a goal, SproutCore and Cappuccino, are actually trying to implement the entire Cocoa stack on the web. Cappuccino even goes so far as to create a new language (sort of) to do so. Which is great, I guess, if you want to invest the time to learn their huge frameworks. (Don't get me started on their lack of decent docs.)

A new option appeared yesterday. DocumentCloud released an interesting so-called MVC framework named Backbone.js.

I should mention that it's not actually an MVC framework in the truest sense. It provides Models, Views, and Collections... MVC actually stands for Models, Views, and Controllers. For Controllers, I think Sammy.js is probably the best Controller framework you'll use.

Why is Backbone interesting? Because it's basically a small framework (~2Kb) that provides the core pieces of KVO bindings.

It's also built on top of jQuery and underscore.js. Bonus!

I'm definitely gonna be digging into Backbone and I'll write up my findings and some examples as I go along.

Hark! He Posts.

Source: Matt McCray | 14 Oct 2010 @ 3:24 pm

What's this? Has hell frozen over?

Not exactly. But I am resurrecting my blog. I've included all the old content here to keep some kind of continuity.

I'll be posting my more technical oriented material here. For illustrations, sketchs and other fun stuff, I'll be posting that to zoodotcom.com.

Lately I've been moving more to the JavaScript world, an already familiar place for me. So expect to see some posts about Node.js, Backbone.js, CoffeeScript and other things that catch my fancy.

Cheers!