Flex best practices – Part 1: Setting up your Flex project

Flex project setup considerations review

You have seen some somewhat basic practices that, when followed, can foster a clean and understandable working environment for your Flex project. Consistency is a crucial element in understanding another developer's work. As applications mature, different developers can be called upon to modify and scale the app. During this time, a project's codebase shifts in an organic, lifelike way. This is due to the hands and minds of the multiple developers that contribute to the growth of the project. If a set of best practices is used from the beginning, there is a template to show the developers how to structure and format their work.

These practices can be applied to all of your Flex applications. Take a moment to review these practices:

checkmarkUse workspaces to keep your Flex projects organized.

checkmarkUse a common directory for your Flex workspace in team environments.

checkmarkFollow common naming conventions for Flex project names.

checkmarkDetermine your target platform.

checkmarkUse the default "bin-debug" directory.

checkmarkPut your code in the "src" directory.

checkmarkUse object-oriented programming practices for Flex projects.

checkmarkUse a source code control solution.

checkmarkReference shared SWC libraries using the Flex Library path.

checkmarkUse the libs folder to bundle SWC libraries with your Flex project.

checkmarkUse UpperCamelCasing for MXML file names.

checkmarkUse UpperCamelCasing for ActionScript Class file names.

checkmarkUse UpperCamelCasing for ActionScript Interface file names, and begin the file name with a capitalized letter I.

checkmarkDo not use spaces when naming files!

checkmarkDo not use special characters when naming files.

checkmarkDo not use acronyms or abbreviations.

checkmarkDo not use periods in file names.

checkmarkUse packages to organize and structure your projects codebase.

checkmarkUse the following format for package names: com.seantheflexguy.stringUtils

AttachmentSize
adobe_fx_download_button_100x30.jpg1.49 KB
0
Average: 2 (1 vote)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

Comments

bet replied on Mon, 2009/06/29 - 2:31pm

Lets start from beginning. I have started earn $$ with sports betting about 3 years ago. Firstly I was very very bed thinking about this kind of job. Lots of people said me that sports btting is just gambling and nothing more. That I have started read a lot of betting and bookmakers firms, bonuses ect. First what I found what very interested me was betfair and Betfair trading system it is nothing but exchange bets with other members of this system. It is amazing option earn lots of money. One more think what I love in betfair is great bonus with Sports betting. Firstly when You wanna start betting You have to choose of the betting system and next find good site with livescore. When You have more information about sport betting You could think about change Your bookmaker to something new like bwin or bet365. Last think what I wanna tell You is Good LUCK, read and learn as much as You can and finaly You got You succes with bookies.Best regards !!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.