| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Member
Join Date: Dec 2007
Posts: 85
|
Hi, I have a project in flash, which is based upon MVC design pattern. This is required to have about 12-15 classes with different functionalities and purposes. I've decided to categorize them into the following folder structure.
FLA, SWF, HTML (files) XML (folder) com (stands for commercial) | |- Util (stands for utility) |- Controller, |- View, |- Data Now i'm wanted to discuss where should the js (javascript) files be placed. As these are supposed to be deployed with the html and SWFs so these are an open source code kind of code. So this can be placed on the root folder (along with FLA, SWF, html, etc). Or in a separate folder on the root folder. Otherwise in the com folder in the Util folder. Please tell me what do u guys follow? What does the industry standard/best practices say about that? Or is it entirely an individuals choice! |
|
|
|
|
|
#2 |
|
Joeri Sebrechts
Join Date: Apr 2005
Location: Antwerp, Belgium
Posts: 1,462
|
I don't know if there are any industry standard practices about this. If there are, they're overbearing. File layout changes from project to project and team to team, so use whatever works best for you.
|
|
|
|
|
|
|
|
|
#3 |
|
Member
Join Date: Dec 2007
Posts: 85
|
Thanks for the opinion. Sure, there cannot be hard-and-fast rules about file structuring.
Then I invite more practitioners to share what works best for them. Perhaps a project example which worked best for them will work! What kind of grouping they follow! thanks. |
|
|
|
|
|
#4 |
|
lala
Join Date: Feb 2002
Location: on the road
Posts: 2,859
|
we tend to follow
-controllers -models -events -services -views -itemrenderers -components -skins -errors |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| flash file not shown in php file | Manou | Other Flash General Questions | 0 | 02-18-2007 02:25 AM |
| Flash to PHP & PHP to Flash | awdio | ActionScript 2.0 | 2 | 11-08-2006 05:09 PM |
| MP3 player / file defined in HTML code | Asparagus | ActionScript 2.0 | 2 | 11-08-2006 01:20 PM |
| dynamic text .txt file code | cyann | ActionScript 2.0 | 2 | 12-14-2005 04:55 PM |
| What's wrong with this code? (projector file) | moglie | ActionScript 1.0 (and below) | 13 | 11-12-2001 06:02 PM |