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… [Read more…]
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… [Read more…]
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… [Read more…]
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)… [Read more…]
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)… [Read more…]
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… [Read more…]
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.… [Read more…]
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… [Read more…]
The basis of refactoring Refactoring or Core Refactoring is a process in which code and the organization of code and classes are restructured, to: Increase clarity – As a project grows, code can become more and more messy, as chosen paths changes and solutions that once were sufficient had to be expanded or changed as… [Read more…]
When you run a project with many objects clustering and cross-referring, the trick is to keep it simple, to avoid a complex mess of objects and object references. Here is the base-list of what I started doing for just such a project in Flex in the past year: Define the main identifiers – Preferably as… [Read more…]
November 13, 2011
1