Idealism is what precedes experience; cynicism is what follows...

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 ( this will become one of the places where you can expect to see events posted.

Check it out:

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:

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.

My Network