Author Archives: shaun
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:
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. Continue reading
Constructor injection is theoretically superior:
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. Continue reading
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.
RobotLegs AS3 is a Dependency Injection Driven MVCS Framework for Flash and Flex inspired by PureMVC.
Now with DI/IOC and Reflection adapters instead of direct dependencies on the SmartyPants-IOC framework. By providing your own adapters you can run RobotLegs off a DI/IOC/Reflection framework of your choosing. Continue reading
Well, you might enjoy RobotLegs AS3: yet another lightweight micro-architecture for Rich Internet Applications.
Great news: SmartyPantsIOC, a Dependency Injection framework for Flash and Flex has been released. Check it out here:
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!
I asked this question on Stack Overflow:
Based on the feedback I wrote a little class to make it super easy to do. You add function references to a queue, and those functions get called (in the order they were added) on the next Flash Player Frame.
Herewith, the DelayedFunctionQueue.as
UPDATE: This looks like a good fit Grep Console
I’m asking this in relation to Flex Builder, but it might apply to Eclipse in general.
Trace statements in Flex Builder get sent to an Eclipse Output Console. What is the easiest way to filter this text on the Eclipse side?
Specifically, I’d like to be able to filter (ignore) lines by patterns.
I came across Logback, but it seems like overkill for this scenario. Is there no way to script something like this Eclipse itself? Continue reading