Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How should I organize my Flex application?

Tags:

apache-flex

I'm currently a .NET developer, but I'm starting to work with Flex a little bit and I've found the community to be great. There are a lot of great resources out there, but one of the issues I'm running into conceptually is how to organize a flex project. Coming from the standpoint of a "traditional" ASP.NET web application I'd create folders of related pages, controls, CSS, JavaScript, etc.

What's the best pattern for organizing a flex application? I like using the code behind pattern with my MXML files, but these aren't really "pages" per se, so how do you keep from just dumping everything into the root of your src folder?

like image 526
JC Grubbs Avatar asked Jan 05 '09 03:01

JC Grubbs


People also ask

Can I work everyday with Amazon Flex?

You can do as many Amazon Flex blocks as you want each day. However, there's a caveat involved here. The caveat is that Amazon won't let you work more than eight total hours per day. You could run a two-hour delivery route in the morning to pick up packages from your local Amazon warehouse.

What do I do when I arrive for Amazon Flex?

When you arrive at a Prime Now delivery station, look for the posted signs and park your vehicle. Enter the station and tap I've Arrived in the Amazon Flex app and then take a seat. Your assigned route will display on a screen in the station. The app will let you know when your order is ready.

How many packages do you get with Amazon Flex?

The number of packages you're expected to handle varies. With a large enough car, you could deliver up to 70 packages. “With a large enough car, you could deliver up to 70 packages.” The app will create a route for you.

How long does it take for Amazon Flex to approve?

Amazon says that it should take 2-5 days to complete your background check, but it's possible that it could take longer. If it's been longer than 5 days, contact Amazon Flex support.


1 Answers

Is is common to use a MVC architecture like Cairngorm and a reverse domain naming structure. So, the the project gets split into Model, View, Controller,..... A Cairngorm example is shown here:

ProjectName
-assets
--images
-lib
-locale
-src
--com
---company
----project
-----model
-----events
-----view
-----controller
-----business
-----delegates
-----views
------components
-----util
-----vo
-Main.mxml
-Style.css

Then if you add thrid party source they become:

com/thirdparty/component

The post here gives further explanation on each folder.

This is the client side of the application and I have typically seen the server side of the application split into its own folder structure.

like image 194
Brandon Avatar answered Nov 15 '22 04:11

Brandon