Aug
0

Mate examples: #7 Reset Countdown (pt 2)

Mate examples: #7 Reset Countdown (pt 2)

This blog post is related to My LFPUG Presentation about Mate blog post.

This is the seventh of a series of gradually more complex examples on how to use Mate. If you haven’t done it yet you should have a look first at our previous examples: #1, #2, #3, #4, #5, and #6.

In the previous example, we added a reset countdown which sets all the counters to 0 when the countdown is off. But it’s a bit of a pain this unstoppable countdown. It would be cool to add a start/stop button, wouldn’t it?

OK, let’s do it (source is available by right-clicking on the demo after launching it):

Mate example

#7 Reset Countdown (pt 2) (click to Launch)

Continue Reading…

Aug
0

Mate examples: #6 Reset Countdown (pt 1)

Mate examples: #6 Reset Countdown (pt 1)

This blog post is related to My LFPUG Presentation about Mate blog post.

This is the sixth of a series of gradually more complex examples on how to use Mate. If you haven’t done it yet you should have a look first at our previous examples: #1, #2, #3, #4 and #5.

Today we’re going to add another useless functionality to our already useless application: a reset countdown. It’s a timer that resets all the counters when it reaches 0. The point here is to illustrate the communication (other than using data binding) between a manager and the rest of the application.

Here is the demo (source is available by right-clicking on the demo after launching it):

Mate example

#6 Reset Countdown (part 1) (click to Launch)

As you can see, it’s pretty much the same application as before (visually speaking) except that there’s now a countdown showing up next to the MainView title. When it reaches 0 all your amounts, subAmounts and globalAmounts are reset to 0.

Continue Reading…

Aug
0

Mate examples: #5 LocalEventMap

Mate examples: #5 LocalEventMap

This blog post is related to My LFPUG Presentation about Mate blog post.

This is the fifth of a series of gradually more complex examples on how to use Mate. If you haven’t done it yet you should have a look first at our previous examples: #1, #2, #3 and #4.

In the previous example, we added the capability to add/remove counters to the Tile component dynamically. Now let’s imagine that each counter is now embedding two subcounters, each one being capable of interacting with the other, but without affecting the subcounters in other counters.

The demo should probably be clearer (source is available by right-clicking on the demo after launching it):

Mate example

#5 LocalEventMap (click to Launch)

Continue Reading…

Aug
0

Mate examples: #4 Counters created dynamically

Mate examples: #4 Counters created dynamically

This blog post is related to My LFPUG Presentation about Mate blog post.

This is the fourth of a series of gradually more complex examples on how to use Mate. If you haven’t done it yet you should have a look first at our previous examples: #1, #2 and #3.

In the previous example, we manually added four counters to a Tile component. Let’s now add/remove those counters dynamically.

But let’s have a look at the demo first (source is available by right-clicking on the demo after launching it):

Mate example

#4 Counters created dynamically (click to Launch)

Continue Reading…

Aug
0

Mate examples: #3 Multiple Counters

Mate examples: #3 Multiple Counters

This blog post is related to My LFPUG Presentation about Mate blog post.

This is the third of a series of gradually more complex examples on how to use Mate. If you haven’t done it yet you should have a look first at our first example and at our second one.

And now let’s have a look on the demo (source is available by right-clicking on the demo after launching it):

Mate example

#3 Multiple Counters (click to Launch)

Continue Reading…

Aug
1

Mate examples: #2 Databinding and EventHandlers

Mate examples: #2 Databinding and EventHandlers

This blog post is related to My LFPUG Presentation about Mate blog post.

This is the second of a series of gradually more complex examples on how to use Mate. It’s still a fairly basic one and visually it looks just the same as our previous example.

But let’s first have a look on the demo (source is available by right-clicking on the demo after launching it):

Mate example

#2 Databinding and EventHandlers (click to Launch)

Continue Reading…

Aug
5

Mate examples: #1 A very basic injectors example

Mate examples: #1 A very basic injectors example

This blog post is related to My LFPUG Presentation about Mate previous blog post.

This is the first of a series of gradually more complex examples on how to use Mate. It’s a fairly basic one. You’ve got 2 “counters” with 2 buttons to increase and decrease the value of 2 variables: amount (which is specific for each counter) and globalAmount (which is shared by the two counters).

But let’s first have a look on the demo (source is available by right-clicking on the demo after launching it):

Mate example

#1 A very basic injectors example (click to Launch)

Continue Reading…

Aug
3

My LFPUG presentation about Mate

My LFPUG presentation about Mate

[Update #1 (06/08/09): Added a list of various resources]

So, my Mate presentation for the London Flash Platform User Group the other day went obviously better than what I was initially afraid of. At least nobody threw shoes at me which is a great success already.

Now I’ve promised I would publish the presentation content along with the examples and various linked and resources I cited during that (long) hour so here is first the presentation itself. To view it you need to download XMind, a pretty cool mind mapping software I’ve started to work with a few months ago. The free version gives you access to pretty much everything useful and you only need to subscribe if you intend to use the presentation functions (which are pretty cool) and use some specific export tools. You should most definitely have a look at their demos.

My Mate presentation in XMind

My Mate presentation in XMind

Click here to download the Presentation (2.8 Mb).

Resources:

You can also access those resources by clicking on the 2nd tab at the bottom left of the document. I’m a bit short of time to write a more complete post right now but I’ll update it in the next few days.

For the same reason, I’m also going to write separate posts with the different examples (I intend to add a few new ones as well, like Two-ways databinding or Mate with versioned applications) so keep an eye on this post and on the new ones.

And, of course, thanks to all of you who came around the other day, that was cool.

Jul
8

Why the hell do I become so stupid sometimes during job interviews?

Why the hell do I become so stupid sometimes during job interviews?

I wish I knew. Honest.

Don’t get me wrong: I do land jobs, and pretty decent ones too. Until last week I was a Senior Flex Developer for a startup in London. No less. And during the  past 15 years (give or take) I had several good others. So all my job interviews could hardly be quoted as “Epic Fails“.

But every now and then, I suffer from a very strange affliction. On a daily basis I am the reasonably smart guy. French smart guy (which says a lot one would say) but I wear glasses and that totally helps. And jokes aside, I believe I wouldn’t be here, doing what I do if I was a complete fraud and being incapable of putting 2 lines of working code together. I don’t think so.

Well, except maybe when I have a job interview… Preferably over the phone.

Even better: a technical one.

A Technical Job Interview Over the Phone

Continue Reading…

Jul
1

Come and see me talking about Mate

Come and see me talking about Mate

Some of you might have heard of my recent difficulties, but the Show Must Go On and I’m glad to invite all the Londoners (and the others if they are willing to come around) at my little causerie for the next London Flash Platform User Group gathering. It’s called Mate Framework: The Pleasures And Pains. I wanted to call it Everything You Always Wanted To Know About Mate * But Where Afraid To Ask but apparently, according to Tink who gently invited me, it didn’t fit. What a pity.

Anyway, it’s the 30th of July, at the CosmoBar and I’ll be preceded by Matthew Press who will talk about UML for AS3. Yes indeed. So click here if you want the details and set a bookmark in your agenda if you want to come to see me make a fool of myself.

Ok, now let’s start thinking about what I really am going to speak about…