Actions
2010 ADWOrganization of the PHP programs » History » Revision 3
« Previous |
Revision 3/4
(diff)
| Next »
Neil Voss, 06/09/2010 08:48 AM
Organization of the PHP programs¶
- Location:
- /myami/myamiweb/processing
- Sub Folders:
inc
— include directory, common libraries likeappionlib
js
— javascript directory, containshelp.js
the help pop-up window textimg
— image director, contains images like program logos (e.g., EMAN, Appion, Spider) and check, cross, and ext icons for image assessorcss
— style sheets, custom look and feel of website, usually not modified
- The include (
inc
) folderappionloop.inc
— contains the common interface for all appionLoop programs (CTF estimators, Particle pickers, and Make Stack)— depricated on the fly Euler plot generation script, was way too slow moved to pythoneuler.inc
menuprocessing.php
— a single, giant function that generates the menu on the left side of all appion pagesparticledata.inc
— collection of all database queries, e.g., getStackIds(), getParticlesFromImageId(), getPixelSizeFromImgId(), or getStackIdFromReconId()processing.inc
— functions that are common to all Appion pages, e.g., processing_header(), referenceBox(), submitAppionJob(), getProjectId()summarytables.inc
— provides summary tables that are common on many pages, e.g., stacksummarytable(), alignstacksummarytable(), and modelsummarytable()
- Important base scripts:
checkAppionJob.php
— follow the progress of the job (common to all scripts, except reconstructions, seecheckRefineJobs.php
)index.php
— provides the final report with methods section for any exemplar reconstructionsconfig.php
— the customization file for the- @@ —
- @@ —
- @@ —
viewstack.php
— the famous stack viewer
- Ideal flow for a job process:
- 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 - run Appion script (e.g.,
runDogPicker.php
) — setup parameters and run the program checkAppionJob.php
— follow the progress of the job (common to all scripts, except reconstructions, seecheckRefineJobs.php
)- process summary (e.g.,
stackhierarchy.php
) — show all runs of that process type, e.g., stacks - process report (e.g.,
stackreport.php
— report on a particular run of that process type, e.g. stack id 12
- select program (e.g.,
Updated by Neil Voss over 14 years ago · 3 revisions