asscripter
01-23-2008, 04:58 AM
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!
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!