Archive

Archive for the ‘Banter’ Category

Linking to your GitHub code

August 19th, 2010 shaun View Comments

It’s pretty easy to link directly to a line of code in your GitHub repo:

robotlegs/robotlegs-framework/blob/master/src/org/robotlegs/core/IContextProvider.as#L16

Don’t do that you naughty sausage! Your codebase will evolve (if all goes well), and line 16 will be replaced by a newer, shinier string of characters. Or, in this case, it’ll point to something that no longer exists.

This, on the other hand, is more likely to stick around to haunt its author (me):

robotlegs/robotlegs-framework/blob/v1.1.2/src/org/robotlegs/core/IContextProvider.as#L16

Select a tag before you link to your fancy code (“Switch Tags” under GitHub‘s “Source” menu).

Categories: Banter, Robotlegs Tags: , , ,

Clean Code

August 2nd, 2010 shaun View Comments

I recently purchased @unclebobmartin‘s awesome book: Clean Code. What a book! I’m going to echo a sentiment that often ripples through the Twittersphere: If you are a programmer and you haven’t read Clean Code you are doing your fellow programmers (and yourself) a great disservice. Seriously.
Read more…

Categories: Banter, Code, Inspiration Tags:

Flash Platform – Oh Teh Lolz!

August 8th, 2009 shaun View Comments
Categories: Banter Tags: , , , ,

Parsley: Your Favourite Herb?

July 12th, 2009 shaun View Comments

I’ve just started looking into Parsley: http://www.spicefactory.org/parsley/

First thought: version 2 is exactly what I’ve been trying to build with RobotLegs. Read more…

Review: Balsamiq Mockups

May 20th, 2009 shaun View Comments

If you haven’t checked it out yet, head to Balsamiq and click Try it now.

Twitter Mockup

It doesn’t take much playing around to see the potential of Mockups. Read more…

Categories: Banter, Reviews Tags: , ,

A Nice Eclipse Icon – Suited for Mac OS X

May 18th, 2009 shaun View Comments

I’ve always found the default Eclipse App Icon to be a bit.. lacking. I’m pretty sure I’m not the only person who feels this way. Occasional quests to find a better icon have usually resulted in disappointment. My latest search lead me to this icon. Not great, but it inspired me to finally sit down and try to create my own.

The First Stab

Here’s my initial attempt:

OS X Eclipse Icon 256x256 Black

Mac OS X Eclipse Logo 256x256 on Black

Read more…

RobotLegs AS3: System/Context Event Flow

May 2nd, 2009 shaun View Comments

RobotLegs AS3 is a Dependency Injection Driven MVCS Framework for Flash and Flex inspired by PureMVC.

RobotLegs AS3 Event Flow

Actors may be dependent on actors below them in the diagram, but should not be dependent on anything above them.

Commands, Services and Proxies may dispatch system events, but should never listen for them.

Mediators may both dispatch and listen for system events. Read more…

Constructor Injection vs Setter Injection

May 1st, 2009 shaun View Comments

Constructor injection is theoretically superior:

Constructor Injection vs Setter Injection
Constructor vs Setter Injection – Constructor is Better
Setter injection versus constructor injection and the use of required

Before I built RobotLegs I was sold on constructor injection. My prototype, however, used SmartyPants-IOC which lacked constructor injection, so I bit my lip and used setter injection. In practice I found that often, especially with framework actors, it was incredibly convenient. Read more…

Another Architectural Framework, But Why?

April 29th, 2009 shaun View Comments

robotlegssketchsmall

The State Of The Game

There are some great Flash and Flex application frameworks out there right now. Mate, Swiz and PureMVC (update: and Parsley!) stand out. The authors of these frameworks realized that the Flash Platform is different enough to the JVM to warrant a fresh approach to application design.

Read more…

AS3 Dependency Injection Framework SmartyPantsIOC – Released!

April 14th, 2009 shaun View Comments

Great news: SmartyPantsIOC, a Dependency Injection framework for Flash and Flex has been released. Check it out here:

http://code.google.com/p/smartypants-ioc/

SmartyPantsIOC

I guess that means that it’s time for me to release RobotLegs – an MVCS micro-architecture for Rich Internet Applications inspired by PureMVC, Mate and Swiz! But first, I have to write a little demo application for it.. coming soon!