Archive for the ‘Best Practices’ Category

6
Apr

Using Resource Bundles in MXML for simple strings

There are a few ways developers can use resource bundles in a flex application. When using a resource bundle, in particular a simple string, inside of an mxml file you can gain access to the resource using the resourceManager or by using the @Resource directive. For simple strings, meaning strings you are not going to tokenize you should be using the @Resource directive instead of the resourceManager.
[Read more →]

2
Nov

Compile Flex applications using ANT

A quick setup and example of how to compile a Flex application using ANT. This example will show the basics of how to run the ANT script to compile your flex application, I will walk through more complex examples in later posts but to get started look through the script and properties files below or download the attached project files at the bottom of this post.

ANT is a very powerful tool that, once you get into using it, will make your development, deployment and automation a lot simpler as well a lot less prone to error. If you are new to ANT there are a lot of resources out on the web that will help you get up to speed. This post and others to follow will focus specifically on the uses of ANT with Flex in a CI build process.

[Read more →]

29
Jan

Talk to your view through your command

Admittedly, this is something I have grappled with for quite some time now, and apparently I’m not the only one. This is by no means a hot topic but for my own purposes, and as I venture deeper into the world of “Best Practices” and the pursuit of architectural sanity I felt that this was worth a post. [Read more →]