The Adobe AIR team visits Stockholm in Sweden next month. Unfortunately the registrees have already reached capacity.
Several of the other stops on the tour is still open for signup, so dont hesitate to consider going to either Berlin or London if your in the area.
Check it out...
http://onair.adobe.com/schedule/cities/stockholm.php
Idealism is what precedes experience; cynicism is what follows...
Wednesday, May 28, 2008
Friday, May 23, 2008
PureMVC : Pipes and intermodular communications
The PureMVC team (Read 'Cliff Hall') has been working this week on a new utility called Pipes. Its being unit tested right now and they expect to put up a demo soon.
Pipes will henceforth be the main way that modules communicate without having references to each other or sharing a Facade... very cool stuff.
Check it out...
http://trac.puremvc.org/Utility_AS3_MultiCore_Pipes
Docs...
http://puremvc.org/pages/docs/AS3/multicore/pipes_asdoc
Pretty printed source
http://puremvc.org/pages/docs/AS3/multicore/pipes_source
Pipes will henceforth be the main way that modules communicate without having references to each other or sharing a Facade... very cool stuff.
Check it out...
http://trac.puremvc.org/Utility_AS3_MultiCore_Pipes
Docs...
http://puremvc.org/pages/docs/AS3/multicore/pipes_asdoc
Pretty printed source
http://puremvc.org/pages/docs/AS3/multicore/pipes_source
Tuesday, May 20, 2008
PureMVC & Cairngorm (1)
We have recently been blessed with a couple of very skilled PureMVC oriented developers. Seeing that we have traditionally been a distinctive Cairngorm company, this was naturally an issue we needed to address... however, upon considering the options we came to the conclusion that there were no apparent reasons why our specific implementation of the Cairngorm framework could not coexist happily side-by-side with PureMVC. A number of apparent conflicts based on the various singleton's would have to be solved, but seeing that we have abandoned the singleton FrontController's and ModelLocator's in both frameworks all we had to do was to hook the PureMVC Facade and our custom Cairngorm EventBroadcaster together so our events being dispatched in one place will be delegated to the other place.
What we eventually end up with is a Hybrid which is based on Cairngorm but 100% faciliates PureMVC-based code and it seems to work without any major issues.
This is the first of what will become a number of posts I will be making about our experiences in taking a 1300+ Class large system based on Cairngorm and adding PureMVC to it.
What we eventually end up with is a Hybrid which is based on Cairngorm but 100% faciliates PureMVC-based code and it seems to work without any major issues.
This is the first of what will become a number of posts I will be making about our experiences in taking a 1300+ Class large system based on Cairngorm and adding PureMVC to it.
Labels:
Adobe Flex,
Best Practices,
Cairngorm,
PureMVC
Sunday, May 11, 2008
Control Creation : In Markup or Code ?
While it is possible to create all your controls and objects in code, best practices dictate that it is usually better to do so in markup. The most compelling reason is that markup is highly “toolable” – that is, it lends itself to round-trip modification in tools such as Adobe Flex Builder and MS Visual Studio / Expression and thus is easier to scale, modify and maintain.
EventHandlers / EventListeners : Where, inline or code ?
I admit it, I have a strong preference for declaring all event handlers/listeners in code. I believe it is better encapsulation, making for more scalable and more maintainable code. But this is a personal opinion.
Silverlight 2 : Attached Properties
Attached Properties are an effective and quite neat way obtaining flexibility without sacrificing any means on encapsulation. Attached Properties are the ability for a nested control in a layout control to use the layout control's property from within a control, this is referred to as an Attached Property. For example, the Button object might use the Attached Property Canvas.Left to position itself with respect to the left border of a surrounding canvas.
Jesse Liberty's rules for examples...
Reading about Silverlight 2, I stumpled upon Jesse Liverty's rules for examples, they are simple and almost universal...
Judge for yourself...
1. Keep it simple enough that the example totally focuses on what you are trying to illustrate (but no simpler)
2. Try to use something like business objects rather than cute animals or game objects
3. Don’t show off how clever you are, break the code down into small digestible parts.
4. Use interim variables; they’re easier to catch in a debugger
5. Strip away all exception and error handling and bullet proofing unless you are teaching exception handling, error handling or bullet proofing.
6. Use great variable names so you need fewer comments, but don’t convince yourself that means you don’t need any.
7. Show the output
8. Make no apologies (except when you’re wrong)
Thanks, Jesse... for letting us laymen get access to some of the experience you have gained from writing those 10+ technical books about programming :)
Judge for yourself...
1. Keep it simple enough that the example totally focuses on what you are trying to illustrate (but no simpler)
2. Try to use something like business objects rather than cute animals or game objects
3. Don’t show off how clever you are, break the code down into small digestible parts.
4. Use interim variables; they’re easier to catch in a debugger
5. Strip away all exception and error handling and bullet proofing unless you are teaching exception handling, error handling or bullet proofing.
6. Use great variable names so you need fewer comments, but don’t convince yourself that means you don’t need any.
7. Show the output
8. Make no apologies (except when you’re wrong)
Thanks, Jesse... for letting us laymen get access to some of the experience you have gained from writing those 10+ technical books about programming :)
Labels:
Arbitrary Thoughts,
Best Practices,
Code Design
Saturday, May 10, 2008
PaperVision3D : Now in Stockholm
For all us fans in Scandinavia of the Papervision3D API, there are great news in the immediate future.
It appears that PV3D major contributor Ralph Hauwert is having a course in Stocktown on June 12th thi year.
Check it out:
http://www.richmediainstitute.com/papervision_stockholm
It appears that PV3D major contributor Ralph Hauwert is having a course in Stocktown on June 12th thi year.
Check it out:
http://www.richmediainstitute.com/papervision_stockholm
Innovation Peak, when ?
According to Watts Humphrey in his work called "Managing for Innovation" the innovative peak for engineers and scientists occurs two times in a life time.
The first peak happens in the early twenties, which is not much of a surprise as its common knowledge, however there exist a common belief that once innovative skills decrease over the years which W. Humphrey seems to disprove.
It appears that the decrease over the years are less significant than most think. And as an encouraging thought for the seniors out there, it appears that a second and much later peak occurs in the mid- to late-50s. He claims directly that this double-peak occurs among all the groups of engineers and scientists and that the dip in between is not very significant.
He continues to argue that the late 30s and early 40s is a highly stressfull period, but once creative people pass this hurdle, they will continue their creative work for many years... he sums it by pointing to an all american icon, Edison, seeing that many of Edison's 1.100 inventions were produced later in his 84-year life.
Good news for us that intend to stay in the creative and innovative part of the software industry for many years.
The first peak happens in the early twenties, which is not much of a surprise as its common knowledge, however there exist a common belief that once innovative skills decrease over the years which W. Humphrey seems to disprove.
It appears that the decrease over the years are less significant than most think. And as an encouraging thought for the seniors out there, it appears that a second and much later peak occurs in the mid- to late-50s. He claims directly that this double-peak occurs among all the groups of engineers and scientists and that the dip in between is not very significant.
He continues to argue that the late 30s and early 40s is a highly stressfull period, but once creative people pass this hurdle, they will continue their creative work for many years... he sums it by pointing to an all american icon, Edison, seeing that many of Edison's 1.100 inventions were produced later in his 84-year life.
Good news for us that intend to stay in the creative and innovative part of the software industry for many years.
Tuesday, May 06, 2008
HCI : Morphable Interfaces introduces new challenges
Lately I have been working on a number of applications where the requirements to the UI has been quite extensive. The paradigm of UI in RIA's are now getting more and more well-understood among the GFX departments, XD departments, IA departments, etc. and this has triggered something resembling a revolution in advanced UI's.
Among one of the new paradigms is the morphable interface where no elements are static in their representation, but on the contrary have many different and often incoherent states.
I have chosen the wording "morphable interface" as all elements now have many representations all depending on the overall state of the application combined with the fact that movement now has taken a new position as it now is used to communicate the change of state: hence the Adobe coined slogan, "movement matters".
Having many different incoherent application-states with an equivalent set of elements combined with an effect being played while transitioning between two states defines a morphable interface.
Among one of the new paradigms is the morphable interface where no elements are static in their representation, but on the contrary have many different and often incoherent states.
I have chosen the wording "morphable interface" as all elements now have many representations all depending on the overall state of the application combined with the fact that movement now has taken a new position as it now is used to communicate the change of state: hence the Adobe coined slogan, "movement matters".
Having many different incoherent application-states with an equivalent set of elements combined with an effect being played while transitioning between two states defines a morphable interface.
Labels:
Best Practices,
HCI,
Morphable Interfaces,
State Machines
Friday, April 25, 2008
The Copenhagen RIA / Flex Meetup
Earlier this year a MeetUp group was created for Copenhagen centered around the development of RIA's and Adobe Flex.
Along with DFUG (www.flashforum.dk) this will become one of the places where you can expect to see events posted.
Check it out:
http://flash.meetup.com/149/
Along with DFUG (www.flashforum.dk) this will become one of the places where you can expect to see events posted.
Check it out:
http://flash.meetup.com/149/
Labels:
Adobe Flex,
AUG,
DFUG,
Events,
RIA
Thursday, April 24, 2008
Power Designer 15 : Now in Beta
I'm a great fan of system modelling, and therefore I am a great fan of a good system modeling tool.
Among the best imho. is PowerDesigner from Sybase and now its out in its most recent and 15th edition which is out there available in the first public Beta.
Check it out:
http://www.sybase.com/detail?id=1056477
Among the best imho. is PowerDesigner from Sybase and now its out in its most recent and 15th edition which is out there available in the first public Beta.
Check it out:
http://www.sybase.com/detail?id=1056477
Friday, April 11, 2008
Adobe Flex : When to fetch Data
A frequent question among Flex developers is the question about when to fetch data.
During what phase in the component lifecycle should the model layer be called and asked for data, and if not present already, should the model layer access the data layer and fetch the data.
Let me start by pointing out that most developers do it wrong.
Most developers use the non-ambiguous creationComplete event or even worse, the applicationComplete. However certain the component is to all children being available and all settings being set, it inflicts a major overhead for the component as it after data has been fetched is typically forced to invalidate itself and hence do all initialization one more time... this time just with data.
The answer to the question about when to fetch data is in short the initialize event. You can use the preInitialize but outside the scope of this post, there can be certain issues when doing it at this time.
So, in conclusion... fetch the data at the initialize event and NOT at the creationComplete.
During what phase in the component lifecycle should the model layer be called and asked for data, and if not present already, should the model layer access the data layer and fetch the data.
Let me start by pointing out that most developers do it wrong.
Most developers use the non-ambiguous creationComplete event or even worse, the applicationComplete. However certain the component is to all children being available and all settings being set, it inflicts a major overhead for the component as it after data has been fetched is typically forced to invalidate itself and hence do all initialization one more time... this time just with data.
The answer to the question about when to fetch data is in short the initialize event. You can use the preInitialize but outside the scope of this post, there can be certain issues when doing it at this time.
So, in conclusion... fetch the data at the initialize event and NOT at the creationComplete.
Thursday, February 28, 2008
Adobe Flex Builder 3 released !
Through 4 long beta's we have been waiting for the moment when the Adobe Flex Builder 3.0 got relased... that moment is here now.
Im gonna install it in a test machine to ensure that it doesn't break our projects. There are no reason to believe that anything should be broken on the account of going from the milestone 4 Beta to the release... but no reason to take chances as I more than one time have experienced that making assumptions about something like this can have disastrous consequences.
Anyways... here it is:
http://www.adobe.com/products/flex/features/flex_builder/
Im gonna install it in a test machine to ensure that it doesn't break our projects. There are no reason to believe that anything should be broken on the account of going from the milestone 4 Beta to the release... but no reason to take chances as I more than one time have experienced that making assumptions about something like this can have disastrous consequences.
Anyways... here it is:
http://www.adobe.com/products/flex/features/flex_builder/
Wednesday, February 27, 2008
FITC Amsterdam 2008 : Immediate post-festival thoughts
Now the FITC Amsterdam 2008 is formally over, remaining is only the Colin Moock, ActionScript 3.0 - from the ground up tour.
Licking my wounds on top of a session filled 3 days (including the pre-festival workshop day) I am confident that I will go next year again. Yes, FITC has announced that they will do it again for sure next year. Good news to us in Europe who struggle to make the non-north-american influence on Adobe's products stronger in an coordinated effort in concretely making the future better in regards to localization of the Flash platform.
Anyways, in short I have met a lot of interesting people here doing great things on the Flash Platform and I have been motivated to make my contribution more significant, seeing that it appears to me that some of the things we are doing at Hello are pretty upfront.
There are many possibilities of making a difference right now since the developer community is just getting started... and I have decided that I want to be an active part of this.
Licking my wounds on top of a session filled 3 days (including the pre-festival workshop day) I am confident that I will go next year again. Yes, FITC has announced that they will do it again for sure next year. Good news to us in Europe who struggle to make the non-north-american influence on Adobe's products stronger in an coordinated effort in concretely making the future better in regards to localization of the Flash platform.
Anyways, in short I have met a lot of interesting people here doing great things on the Flash Platform and I have been motivated to make my contribution more significant, seeing that it appears to me that some of the things we are doing at Hello are pretty upfront.
There are many possibilities of making a difference right now since the developer community is just getting started... and I have decided that I want to be an active part of this.
Monday, January 21, 2008
PV3D : Course in London, 2nd day
The second day was the most interesting of the two days as we here got to dive a bit deeper into the API's and even got to do some "freestyle" coding under the watchful eye from the competent Mr. Ralph Hauwert.
The sources and presentation files for the entire course can be downloaded from UnitZeroOne's website:
http://www.unitzeroone.com/papervision/workshops/workshoplondon.zip
An additional source is a spherical panorama of the course-hall which can be downloaded here:
http://www.unitzeroone.com/papervision/workshops/spherePano.zip
The sources and presentation files for the entire course can be downloaded from UnitZeroOne's website:
http://www.unitzeroone.com/papervision/workshops/workshoplondon.zip
An additional source is a spherical panorama of the course-hall which can be downloaded here:
http://www.unitzeroone.com/papervision/workshops/spherePano.zip
Labels:
ActionScript 3.0,
Events,
London,
PV3D
DFUG : Manager for Adobe User Group Copenhagen
Its a great honor for me to have been elected the regional manager for the Adobe User Group in Copenhagen in collaboration with Mikkel Havmand.
We hope to be able to make a difference on the Copenhagen RIA scene and I sincerely hope to be able to arrange for some cool events, both virtual and real-life, in the upcoming year.
I will from now on be posting about topics relating to this as well as RIA and Adobe Flex in general.
Check out the official statement (sorry, its only in Danish):
http://flashforum.dk/publikationer/nyheder/dfug-far-nyt-manager-team-i-kobenhavn
FITC : ActionScript 3.0 PostFestival Session
If you are attending this years FITC in Amsterdam, don't miss out on the opportunity for at day with Colin Mook. The day after the "Flash In The Can" festival, there is a "ActionScript - From The Ground Up" session.

You can sign up here, and its free.
The SignUp form is taylered for US citizens only, but with a little cheekiness you can get around it.
Sign up here:
http://www.adobeas3tour.com/
You can sign up here, and its free.
The SignUp form is taylered for US citizens only, but with a little cheekiness you can get around it.
Sign up here:
http://www.adobeas3tour.com/
Sunday, January 20, 2008
Apple : Apple MacBook AIR
It looks amazing and I am now 99,9% sure that my next Laptop will be a Apple MacBook AIR... preferrably with the 64GB solidstate drive, but seeing the pricetag for this confguration might result in me not being so lucky.

Its the thinnest laptop I have seen since the Sony Vaio 505 which was only marketed in Japan and to my knowledge never made it to other markets (and if it did, at least never to Europe).

Check it out:
http://www.apple.com/macbookair/

Its the thinnest laptop I have seen since the Sony Vaio 505 which was only marketed in Japan and to my knowledge never made it to other markets (and if it did, at least never to Europe).

Check it out:
http://www.apple.com/macbookair/
Thursday, January 17, 2008
Adobe Flex : Ted Patrick and his SEO experiment
The latest shout-out from Ted regarding his experiment with doing SEO on the Flex directory caught my interest. If it was Ted's apparent excitement I thought to be sensing when reading the first couple of lines (I should probably mention that SEO s something that normally leaves me cold) or it was the actual content that initially turned my focus to this last post about his experiments, I should not be able to say.
Anyways, read the post and judge by yourself :-)
Exciting stuff...
http://www.onflex.org/ted/2008/01/seo-and-flex-directory-build-003.php
Anyways, read the post and judge by yourself :-)
Exciting stuff...
http://www.onflex.org/ted/2008/01/seo-and-flex-directory-build-003.php
Subscribe to:
Posts (Atom)
Blog Archive
-
▼
2008
(123)
-
▼
August
(11)
- This blog have been moved...
- IDEFactory... currently in Beta… soon in production…
- RSL and the lack of a build-in map over class-defi...
- Adobe Flex training in a nutshell: Flex in a Week
- Guice (pronounced 'Juice')
- Curved Scrollbar
- .NET Reflector... no more Lutz Roeder
- ClassMappings between WebORB and Adobe Flex
- The other Adobe Flex ACE's in Europe
- I got my Adobe Community Expert (ACE) designation ...
- The MyLifeBits Project
-
▼
August
(11)
My Network
-
-
Stop dragging me into board meetings - Dear Reader : This might be a bit more NEGATIVE than you’re used to. Apologies about that. I love to chair startups and companies, but I hate 95% board m...11 years ago
-
Design practice makes perfect - Evidence gained from research is powerful. It can persuade the most stubborn board members if presented in a way where decisions can be made based on facts...12 years ago
-
-
dutch vs danish politics - First reaction: glad I don’t live there. And then I made this comparison. It doesn’t differ that much actually. CDA 14% – Konservative 10% VVD 21% – Venstr...16 years ago
-
The Next Web – Timothy Ferriss - First speaker on the last day of The Next Web was Timothy Ferriss, author of the ”4-Hour workweek”. I don’t know what I was really expecting from a guy who ...16 years ago
-
Links for Motorcycle enthusiasts - MC travel-blogs: Must see: http://www.kccd.no/ http://4qconditioning.blogspot.com/ Danish blogs: http://www.ossianbuilds.blogspot.com http://wrenchmonkees....16 years ago
-
New Arduino project - I found myself a new Arduino project – an automated car! Well how to go about this. My best approach was to get a cheap RC toy car from the local toy store...17 years ago
-
Unrecognized selector sent to instance - As you may or may not know, I do iPhone/Cocoa touch now... While playing around with something this evening I stumbled across something I thought I'd share...17 years ago
-
-
-
-
-
-
-
About Me
- Peter Andreas Molgaard
- Copenhagen, Denmark
Labels
- Adobe Flex (62)
- Events (28)
- Best Practices (27)
- ActionScript 3.0 (16)
- Adobe AIR (15)
- Tools (15)
- Workaholics United (14)
- PV3D (10)
- Arbitrary Thoughts (9)
- PureMVC (7)
- Adobe Flex SDK (6)
- Adobe Max (6)
- Methodology (6)
- RIA (6)
- State Machines (6)
- .NET (5)
- Adobe Flex Builder (5)
- DFUG (5)
- Google (5)
- WebORB (5)
- Data Visualization (4)
- Flash Platform (4)
- Independent Thinking (4)
- Process (4)
- SEO (4)
- Silverlight (4)
- Adobe Flash Player (3)
- Code Design (3)
- Flash Player (3)
- HCI (3)
- MAC vs. PC (3)
- Microsoft (3)
- Performance Optimization (3)
- Stockholm (3)
- Undocumentation (3)
- Visual Studio (3)
- Windows Workflow Foundation (3)
- ACE (2)
- AUG (2)
- Adobe Thermo (2)
- Ajax (2)
- Bug Report (2)
- Cairngorm (2)
- Commerciel (2)
- Documentation (2)
- Estimation (2)
- Firefox (2)
- Google Gears (2)
- London (2)
- Morphable Interfaces (2)
- SVN (2)
- SoftwareEngineering (2)
- Test (2)
- Admin (1)
- Adobe Flex Adobe Flex Builder (1)
- Facebook (1)
- Graphics (1)
- Hardware (1)
- HelloGroup (1)
- IEEE (1)
- Outsourcing (1)
- Training (1)
- XAML (1)