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 like- appionlib
- js— javascript directory, contains- help.jsthe help pop-up window text
- img— image director, contains images like program logos (e.g., EMAN, Appion, Spider) and check, cross, and ext icons for image assessor
- css— style sheets, custom look and feel of website, usually not modified
 
- The include (inc) folder- appionloop.inc— contains the common interface for all appionLoop programs (CTF estimators, Particle pickers, and Make Stack)
- euler.inc
- menuprocessing.php— a single, giant function that generates the menu on the left side of all appion pages
- particledata.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, see- checkRefineJobs.php)
- index.php— provides the final report with methods section for any exemplar reconstructions
- config.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, see- checkRefineJobs.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 15 years ago · 4 revisions