One of the requested features was to implement a way to do bindings without creating a strong reference. The PropertyInjector tag establishes a binding between the source and the target. Internally, it uses the BindingUtils to create the binding. The problem with this approach is that BindingUtils always creates a strong reference - at least in Flex 3 (Flex 4 has some improvements for that).
To fix that, we added a new attribute called "softBinding" to the PropertyInjector tag that will create a binding using weak references. This feature is very handy if you are using modules because your module will be garbage collected when you unload it.
What else is new?
The ability to use an ISmartObject as the value for a service method call. In other words, now you can use a value coming from an event or any ISmartObject to define the method that a RemoteObjectInvoker or WebserviceInvoker will use.
Also, I added a patch to MessangeHandlers that avoids calling the subscribe method in the consumer twice (thanks to Dirk Stevens for the patch).
Ok that is all for 08.8. I didn't do a post about what was new for 08.7, so here it is . The major feature was Injection by interfaces, what that means is that you can add an interface as a target of the Injector tag and if that matches the current object, the object will get injected. Also, if you add a super class as a target and the current object extends that class, the injection will also run. But there is something that you should be aware of: to make it work, you need to set "includeDerivatives" to true. By default, this attribute is false because injecting by super classes and injecting by interfaces is more expensive than the normal injection. So if you don't need it, I would suggest that you don't change that attribute.
The other main thing in 08.7 is the addition of the new tag called CacheSetter. I will not cover all the details of that. There is a thread in the forums that you can read
Posted on June 07, 2009
Filed under: News |
No Comments »
Thank you all who attended my sessions.
For cf.objective(), I focused on ColdFusion developers, so you'll see some ColdFusion code there. For 360|Flex Indianapolis, I focused on what things you can do to make it easier to develop large applications. It is a completely new presentation, which was not recorded (although we got some video, I am not sure if it has good quality). As promised, here are both slides decks.
Breaking down your applications with Mate
Mate for ColdFusion developers
Posted on May 23, 2009
Filed under: Presentations |
9 Comments »
Join us Tuesday at 4:00pm at 360 Flex Indy. Laura we will be going over an example and talking about how you can organize a large application. She will cover LocalEventMaps, modules and how the presentation model pattern works well with Mate.
This is the description of the session:
Breaking down your applications with Mate.
As an architectural framework, Mate helps you break down your application into specialized parts. As applications grow larger, they might benefit from the further division into specialized modules. In this session, Laura will show how to take advantage of special Mate features such as LocalEventMaps to help the development of modular Flex applications. She will also discuss the design patterns that work best with Mate to aid the development of simpler views that delegate some of its functionality, which is most needed when creating larger applications or working in teams.
Also, Laura will be giving a short introduction to Mate in the Code Jam room at noon if you need a primer.
See you there.
Posted on May 18, 2009
Filed under: News · Presentations |
6 Comments »
I'll be presenting Mate at cf.objective(). The presentation will focus on ColdFusion developers and how they can leverage Mate when developing applications with a Flex UI.
Every framework has its advantages and benefits. In this session we will discuss what features of the Mate Flex framework are most beneficial to a ColdFusion developer. We will cover how to use Remote Objects to send and receive data from ColdFusion, how to take advantage of the Flex Messaging gateway, and how to create and use mock services to test and make it easier to develop when the ColdFusion services may not yet be created.
See you there!
Posted on May 13, 2009
Filed under: Presentations |
2 Comments »

I'll be presenting Mate at the Flex Camp Miami. The event will take place at the University of Miami, on March 6th.
I hope to see you there!
Posted on March 01, 2009
Filed under: News |
1 Comment »