Adobe Flex 2.0 training day 1

Flex 2 box shotWhen the first beta of ADOBE Flex 2.0 came out to public I played with it like a little child doing stuff that had no real purpose (like play with webcam and sound possibilities,… ) but you can also make wonderfull “real life” projects with it. So a few weeks ago I was reading about the first official Flex 2.0 training from Adobe at Belgium (organised by Multimediacollege) and I decided to follow the 5 day course so I would be able also to make some serious programs with it :-). Technical University of West-Flanders, department PIH, where I work, has to miss me for a week but I will come back next week with a lot of extra knowledge which I want to teach my last year students as soon as possible :-).

Today was the first day and I have the intention to post every day a bit of a summary of the key points we learned. The first three days mainly focus on developing rich internet applications in Flex 2.0. The last two days focus on de Flex Data Services 2. The course is given by Simon Slooten, one of the really few certified master instructors for Adobe Flex 2.0 in the world.

What we talked about today:

  • an introduction to Rich Internet Applications and the evulution of RIA during the last 10 years. We talked about Allaire (who invented Coldfusion) and the merger with Macromedia. A new platform for internet enabled applications was born, but everything was still using a page based model.  As we all know Macromedia decided at a given time to make the Flash player as accessible as possible. As you know that in future 500 million people in China will be connected to the internet without a PC (using phones, PDA, other handheld devices,…)you know that Macromedia made a very good decision. But one of the big reasons for Flex was that it was very difficult to make applications in the Flash IDE so Flex was born. In Flex we do not have a timeline and a movieclip based system. It’s now all based on Sprites which is actually a lightweight MovieClip version (eg without the timeline…). A good example to demonstrate the possibilities of Flex 2.0 is the Schiphol application or even the new yahoo maps application.

  • The “must do” looking to the interface .
  • We made a simple Flex application using different layout models. We talked about containers, properties of components, … so what we call basic layout stuff.
  • Then we started with user interface controls and data binding. This all resulted in making an own “custom” MXML component. The binding is really important because when we compare with AS 2.0: AS 2.0 compiler monitores everything (every variable) eg 12 times per second. In contrast with this AS 3.0 did not monitores anything; when you want a variable to be updated 12 times per second, you have to make it bindable with the bindable option. This main difference between AS 2 and 3 results in an increased performance.
  • As we all know Actionscript is an event driven programming language. Every second there are 100’s of events fired. You know when an event occurs something should happen but most of the events are fired but not used during application runs. Think about the MouseMove event, it is fired for every pixel your mouse is moved. Events work with classes and function calls are used when events are fired. We learned to handle these events  with actionscript 3.0 functions. A good best practice is to use a initApp() function which initialises all events on particular objects like a button. This way of working makes a strict separation between design and development possible. (Model-View-Controller).
  • At last we worked with several Flex components to get familiar with it and started our application we will work on during this training week.

tired but satisfied looking forward to tomorrow 🙂

Advertisements

7 responses to “Adobe Flex 2.0 training day 1

  1. Koen 6 November , 2006 at 9:24 pm

    Je hebt dit mooi samengevat. Tot morgen

  2. Pingback: Zeg niet dat je het niet wist

  3. Stefan Richter 6 November , 2006 at 9:48 pm

    Is this course available in the UK? If so, sign me up!

  4. Joeri 6 November , 2006 at 11:01 pm

    Hi, thanks for the summary. I’ll be waiting for your daily blog about this course. I’m living in Belgium and was looking for a good flex2 course 😉

  5. Koen 6 November , 2006 at 11:24 pm

    @ stefan: this course is maybe available in UK also. You can check prisma-it.com for details. Or you can follow the training given by Aral Balkan at ariaware which is also very good, I am sure !
    @ Joeri: Multimediacollege is going to give a few more courses in the future i think so keep checking multimediacollege.be for future courses.

  6. Wouter 7 November , 2006 at 4:10 pm

    nice, just gave “Learning AS3/Flex2” a higher ranking on my TODO list 😉 I’ll know who to annoy with the getting started stuff…

  7. Silvano Jose Boschetti 12 April , 2007 at 1:05 am

    I made the course Flex 2: Developing Rich Client Applications but I finished losing the archives them examples. Somebody could send me?

    silvanojb@globo.com

    Very Obliged.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s