Changes between Initial Version and Version 1 of BossaExampleFour


Ignore:
Timestamp:
Jul 31, 2008, 1:49:35 PM (16 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BossaExampleFour

    v1 v1  
     1= Example 4: a more complex application =
     2
     3In this application, volunteers locate fossils in images of desert terrain.
     4They can locate several (zero or more) fossils in the same image,
     5and can associate a type and a comment with each annotation.
     6They can remove existing annotations.
     7When they're all done, they click a "Done" button.
     8
     9This is implemented as a sequence of web pages;
     10each addition or deletion of an annotation goes to a new web page.
     11Hence, in addition to the '''job_show()''' callback function,
     12the application uses a separate web page, '''user/bossa_example4.php''',
     13that handles the edit operations.
     14
     15The application is implemented by three scripts in ~/projects/test/html/:
     16
     17 * [source:/trunk/boinc/html/ops/bossa_example4_make_jobs.php ops/bossa_example4_make_jobs.php]: a script that creates jobs.
     18 * [source:/trunk/boinc/html/inc/bossa_example4.inc inc/bossa_example4.inc]: the application's callback functions.
     19 * [source:/trunk/boinc/html/user/bossa_example4.php user/bossa_example4.php]: the handler for editing operations.
     20
     21== Creating jobs ==
     22
     23Using the administrative interface, create an application named "bossa_example4".
     24Create a directory '''~/projects/test/html/user/example4_images'''.
     25Put some images (.png or .jpg) there; a good source is
     26http://isaac.ssl.berkeley.edu/test/example4_images/
     27
     28Now go to the project's ops/ directory and type
     29
     30{{{
     31php bossa_example4_make_jobs.php --dir example4_images
     32}}}
     33
     34==