Extending Classes is one of the knee-jerk reactions when you want to build and extend on default behavior. Unproven and wild assumptions This article explores a new – and more restricted – approach to OOP than I am used to until now. It describes a new approach I will be using and testing in the […]
March 6, 2012
In some cases I am a very fierce opponent of frameworks. Especially when these frameworks do not solve a real problem. Below I give a short reason why. Structure versus re-usable software libraries To keep things simple I will divide frameworks into two types: Structural frameworks: advocating a specific way of working. PureMVC is one […]
November 13, 2011
Flash is now 15 years of age and old news for a long time. My hopes to build entire websites in Flash lasted until 2005 / 2007. But when still nothing substantial had happened regarding SEO, memory management and performance issues in Flash I gave up. Something had not happened in Flash that I had […]
November 10, 2011
The current death of Flash for browsers on Mobile platforms In the past week two messages hit my Twitter stream: Adobe lays off 750 people – See here Adobe terminates Flash for Mobile – See here To terminate Flash for mobile browsers in the light of the lay-off seems to me a sane step to […]
September 16, 2011
In the past 16 hours there has been some commotion about Microsoft “banning” or “dropping” Flash. You can read the announcement of Microsoft in many ways and if you are biases (as I have noticed in several occasions on my own perception on things in the past) you read what you want to read. Another […]
August 1, 2011
Lets consider you wrote this code to save files either locally or over a network connection (the values in capitals are Constants used in your code instead of hard coded values): class MyFile() { // Set our starting position var dataState=DATA_STATE_UNCHANGED; var fileSaveState=FILE_SAVESTATE_UNSAVED; // Store our data binaryData:BinaryData=new BinaryData(); public method saveFile() { if(dataState==DATA_STATE_UNCHANGED) […]
July 30, 2011
Cancelling out Switch statements [Removed from other post – requires editing] If you take the code example from “Design Patterns for Dummies”, “Design Patterns” or “C# Design Patterns” and many other resources you will find by default a Switch statement like this: // The default Switch Statement you find in a lot of code (examples) […]
July 30, 2011
In this post and the next series of posts we will look at 6 patterns to get thing done. The Mediator and State Pattern This post will focus on the Mediator and State Pattern and provides you a brief overview of the similarities and differences in use and approach. To improve some of the shortcomings […]
July 30, 2011
It has taken me a while to wrap my head around design patterns. I read four books recently, including “Design patterns” by the Gang of Four (referred to as “Design Patterns”, “Design Patterns for Dummies” by Steve Holzner, “C# Design Patterns” by Judith Bisshop and “ActionScript 3.0 Design Patterns” by William Sanders and Chandima Camarantunge. […]
July 8, 2011
The main issue: avoiding entanglement of dependencies When you build software, at a certain point you will start building (managed) lists of objects. You might even have one or more managers taking care of this. For instance: Person – Is a Value Object (VO) containing a person. PeopleManager – Is a manager containing a List […]
March 23, 2012
0