Project

General

Profile

2010 ADWOrganization of the PHP programs » History » Version 3

Neil Voss, 06/09/2010 08:48 AM

1 1 Neil Voss
h1. Organization of the PHP programs
2 2 Neil Voss
3
* Location:
4
** /myami/myamiweb/processing
5
6
* Sub Folders:
7
** @inc@ — include directory, common libraries like @appionlib@
8
** @js@ — javascript directory, contains @help.js@ the help pop-up window text
9
** @img@ — image director, contains images like program logos (e.g., EMAN, Appion, Spider) and check, cross, and ext icons for image assessor
10
** @css@ — style sheets, custom look and feel of website, usually not modified
11
12
* The include (@inc@) folder
13
** @appionloop.inc@ — contains the common interface for all appionLoop programs (CTF estimators, Particle pickers, and Make Stack)
14
** -@euler.inc@- — depricated on the fly Euler plot generation script, was way too slow moved to python
15
** @menuprocessing.php@ — a single, giant function that generates the menu on the left side of all appion pages
16
** @particledata.inc@ — collection of all database queries, e.g., getStackIds(), getParticlesFromImageId(), getPixelSizeFromImgId(), or getStackIdFromReconId()
17
** @processing.inc@ — functions that are common to all Appion pages, e.g., processing_header(), referenceBox(), submitAppionJob(), getProjectId()
18
** @summarytables.inc@ — provides summary tables that are common on many pages, e.g., stacksummarytable(), alignstacksummarytable(), and modelsummarytable()
19
20 3 Neil Voss
* Important base scripts:
21
** @checkAppionJob.php@ — follow the progress of the job (common to all scripts, except reconstructions, see @checkRefineJobs.php@)
22
** @index.php@ — provides the final report with methods section for any exemplar reconstructions
23
** @config.php@ — the customization file for the 
24
** @@ — 
25
** @@ — 
26
** @@ — 
27
** @viewstack.php@ — the famous stack viewer
28
29 2 Neil Voss
* Ideal flow for a job process:
30
** _select program_ (e.g., @selectParticleAlignment.php@) — a selection page for each program that provides a detailed description to help user decide which on to use
31
** _run Appion script_ (e.g., @runDogPicker.php@) — setup parameters and run the program
32
** @checkAppionJob.php@ — follow the progress of the job (common to all scripts, except reconstructions, see @checkRefineJobs.php@)
33
** _process summary_ (e.g., @stackhierarchy.php@) — show all runs of that process type, e.g., stacks
34
** _process report_ (e.g., @stackreport.php@ — report on a particular run of that process type, e.g. stack id 12