Extend classes or use Utils and Handlers instead?

March 23, 2012

0

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 […]

Posted in: Uncategorized

To use a framework or not?

March 6, 2012

0

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 […]

Posted in: FrameWork

Is the ship called “Flash” sinking?

November 13, 2011

1

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 […]

Posted in: Opinions

My thoughts on the future and past of Flash

November 10, 2011

0

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 […]

Posted in: Opinions

“The end of Flash”, Microsoft “Bans” and “drops” Flash in (the Metro browser of) Windows 8

September 16, 2011

0

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 […]

Posted in: Opinions

Design Patterns: Refactoring an If/Then/Else State Handler using the State Pattern

August 1, 2011

0

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) […]

Design Patterns: Using Maps to cancel out Switch statements

July 30, 2011

0

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) […]

Posted in: Design patterns

Design Patterns: Getting things done (1) Managing processes with the Mediator and State Pattern

July 30, 2011

0

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 […]

Design patterns: an introduction

July 30, 2011

0

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. […]

Posted in: Design patterns

Self-managing objects – To support Agile development processes

July 8, 2011

0

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 […]

Posted in: Design patterns