:::: MENU ::::
Browsing posts in: Code

Dreamhost: Works… Like a dream

I’ve been a long time client with MediaTemple, and have been, at best, semi-happy with their service. When I first signed up, they were the place to go for all things cutting-edge, and more specifically, the biggest supporters of Flash services (i.e. Flash Media Server, etc.). It didn’t hurt that some of my idols in the community (at that time 2advanced studios) were also big proponents of the company. Couple this with the fact that I got myself a pretty damn good hosting rate, and I was more than happy to deal with the slowness, rather half-assed customer service, and chronic growing pains. Now don’t get me wrong, I’m not saying that MediaTemple is a bad provider, in fact I still hear from quite a few people that they are quite happy with their service; however, most of these people are using their higher end hosted solutions, while I am using a much lower rate shared server.
Continue Reading

Robotlegs Gotcha #2 – Using Interfaces for your services and models

One of the common practices suggested by the Robotlegs team (and one I have personally grown to love) is the user of Interfaces for your services and data models. What this allows you to do is type-cast all of your injections and other references to these classes using the name of the Interface, then, when mapping these classes, you map the Interace to the either the concrete class or a seperate “mock” class that can be used for testing. This gives you the ability to quickly swap between mock data and live data by simply changing the injection mappings in your context file (or startup command or wherever you handle your mappings).
Continue Reading

Flash Multi-Frame MovieClip

Over the past couple years the majority of my development focus has been centered around Flex, and having recently started going back to developing in Flash, I’ve come to realize how incredibly SPOILED Flex has made me!

Example: In Flex, when developing components that you want to have multiple views based on user input, or any other laundry list of conditions, you have STATES. In Flash, you have MovieClips with multiple frames, or the option to write all of your logic and views using Actionscript (a huge pain in the ass!). Continue Reading