Skip to content


Bifff 0.2a Prerelease - Group + Name

A few days ago I introduced Bifff in my post - jQuery for Flex.  I’ve since picked a name, created a google group, released a new version, and figured out a few more uses for it. Yes, I picked the name Bifff, which stands for Behavior Injection Framework for Flex

Important Links

Thoughts after a few days

I’ve been trying to use Bifff on my projects, and have come across a few tips that may be useful.

I created a debugger than can be very useful. Set debug=”true” on your behavior map, then if you double click on the map’s target, it will dump all of its info to the console, including which selectors match which targets, and the display tree of the object you clicked on.

The more complicated the selector is, the more likely you will screw something up and get it wrong. I’ve found it is much better to have a selector based on one id or class with a long name, than to create a complicated selector with descendants, etc.

It can be very useful for applying components of a certain type within some view of your application. So you can say any button in my login form should have style X. (see new Styles and Set behavior updates)

New Release

Version 0.2 includes some updates.

  • <Styles> tag adds and removes styles, and runs the selectors against it again
  • Selector caching - a selector will not be applied twice to the same target
  • <Set> can read styles from a stylesheet. <Set style=”bob”/> will take the .bob style from the StyleManager and set everything on the target.
  • Bug fixes + Removed delay on behavior map.

You can get the new release on the home page, here.

Posted in Flex. Tagged with .

One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Josef Salyer said

    I think Bifff is an awesome name!

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.