Directory Structure
Directory Structure
The table below outlines the directory structure for Appcelerator Python projects.
| ./[project_name] | contains the standard application directories for a Pylons project. Also includes Appcelerator-specific Python service files for the Appcelerator Python SOA Integration Point. |
| ./[project_name]/services | contains all your Appcelerator services |
| ./[project_name]/services/hello_service.py | Sample Python service - used by servicetester.html |
| ./public | contains all user interface files. Note that this directory is not in the standard Pylons location, but in the root directory, consistent with the other Appcelerator SOA Integration Points. This simplifies managing your project's websdk and widgets. However, files in the default Pylons public location (./[project_name]/public) are still served. |
| ./public/widgets | contains Appcelerator widgets |
| ./public/appcelerator.xml | configuration file used by Appcelerator RIAs |
| ./public/javascripts | contains your application Javascript files, including the appcelerator.js file |
| ./public/images | contains your application images and icons |
| ./public/stylesheets | contains your application CSS files |
| ./public/swf | contains the Flash files for our charting widget |
| ./public/servicetester.html | a demo HTML page that works in conjunction with the bundled hello_service.py |
| ./public/index.html | the default HTML file bundled with your project |
| ./public/404.html | default HTML file for 404 response codes |
| ./public/422.html | default HTML file for 422 response codes |
| ./public/500.html | default HTML file for 500 response codes |
| ./public/upgrade_cookies.html | default page that is served if user does not have "cookies" enabled in their browser |
| ./public/upgrade_script.html | default page that is served if user does not have "javascript" enabled in their browser |
| ./tmp | a temporary directory used by Appcelerator |
| ./config | contains the appcelerator.config file, which tracks the versions of your Appcelerator software components |
| ./plugins | contains Appcelerator plugins - empty by default |
| ./log | standard directory for log files |