-1 for the Fx prefix
Thursday, February 12, 2009 at 06:05PM Adobe has announced that in the next version of the flex sdk ( 4 ) that they are going to prefix components with Fx so as to avoid name collision/confusion with the current Halo flex components. For an example, the Button would then have the current <mx:Button /> and a newer component called <FxButton /> that offers the new Gumbo functionality, which is great btw.
I'll have to admit I'm somewhat discombobulated about Adobe deciding to prefix new Flex SDK 4 Gumbo components with an Fx. Adding to my confusion not all the new components are prefixed. If it's a new component ( not in the mx 2006 namespace ) it just got a regular name with no prefix. I've read a lot of reasons for and against this addition, but simply put as a developer the right thing for Adobe to do is to use a <fx> namespace for newer components. For the ubiquitious Button example you'd have a <mx:Button /> and an <fx:Button />. Using an <fx> prefix doesn't solve the problem for the next version of the Flex SDK however. The more I think about it the more I think Adobe should just be replacing <mx:Button /> with the new Gumbonent. The functionality of the Button should always be that of Button. Who cares if the internals are completely rewired as long as it looks and acts like a Button.
At any rate, my argument against having a Fx prefix is that it incorrectly assumes the flex sdk is responsible for namespaces. In reality the developer is responsible resolving namespaces and I'd have to add that the only job of a namespace is to disambiguate between classes, without this duty it ceases to exist. It's a petty minor issue, this Fx prefix business, but one that seems to have gotten under the skin of alot of people. My goal in posting this is to hopefully enable flex developers on what they can do to make sure their voice is heard. ( as long as they agree with me ;) )
Here's a thread on the adobe forums that you can particpate it. List your reasons for or against the Fx prefix.
http://www.adobeforums.com/webx?128@@.59b7cdf0
Here's the thread for the adobe jira bug/feature tracker in which you can vote to have the prefix replaced with a namespace.
https://bugs.adobe.com/jira/browse/SDK-17854
Brian | Comments Off | 





