Changeset 315


Ignore:
Timestamp:
Aug 11, 2011, 6:28:42 PM (9 years ago)
Author:
jmckenna
Message:

change header

Location:
trunk/docs/services
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/services/examples.txt

    r272 r315  
    44================
    55
     6:Authors: Nicolas Bozon, Gérald Fenoy, Jeff McKenna
    67:Last Updated: $Date$
    7 :Id:    $Id$
    8 :Author: $Author$
    9 :HeadURL: $HeadURL$
     8
     9ZOO Services are quite easy to create once you have installed the ZOO Kernel and have
     10chosen code (in the language of your choice) to turn into a ZOO service. Here are some
     11HelloWorlds with links to their corresponding ``.zcfg`` files.
     12
     13.. contents:: Table of Contents
     14    :depth: 3
     15    :backlinks: top
    1016
    1117GDAL ZOO Service
  • trunk/docs/services/howtos.txt

    r272 r315  
    44=========================
    55
     6:Authors: Nicolas Bozon, Gérald Fenoy, Jeff McKenna
    67:Last Updated: $Date$
    7 :Id:    $Id$
    8 :Author: $Author$
    9 :HeadURL: $HeadURL$
    108
    11 ZOO Services are quiet easy to create once you have install ZOO Kernel and that you have
    12 chosen a code to turn into a ZOO service. Here are some HelloWorlds in Python, PHP, Java
    13 and JavaScript with link to the correpondant .zcfg files.
     9ZOO Services are quite easy to create once you have installed the ZOO Kernel and have
     10chosen code (in the language of your choice) to turn into a ZOO service. Here are some
     11HelloWorlds in Python, PHP, Java  and JavaScript with links to their corresponding
     12``.zcfg`` files.
     13
     14.. contents:: Table of Contents
     15    :depth: 3
     16    :backlinks: top
    1417
    1518Python
    1619------
    1720
    18 You'll find here informations needed to deploy your own Python Services Provider.
     21You'll find here information needed to deploy your own Python Services Provider.
    1922
    2023Python ZCFG requirements
    2124************************
    2225
    23 For each Services providen by your ZOO Python Services Provider, the ZCFG File
    24 have to be named as the Python module function name.
     26.. Note:: For each Service provided by your ZOO Python Services Provider, the ZCFG File
     27          must be named the same as the Python module function name.
    2528
    2629The ZCFG file should contain the following :
     
    3033    Python
    3134serviceProvider
    32     the name of the Python module to use as a ZOO Service Provider. For instance, if your
    33     script, located in the same directory as your ZOO Kernel, was named my_module.py then
    34     you should use my_module (the Python module name) as serviceProvider value in ZCFG file.
     35    The name of the Python module to use as a ZOO Service Provider. For instance, if your
     36    script, located in the same directory as your ZOO Kernel, was named ``my_module.py`` then
     37    you should use ``my_module`` (the Python module name) for the serviceProvider value in ZCFG file.
    3538
    3639Python Data Structure used
    3740**************************
    3841
    39 The Python module's function to be used as a service have to :
     42The Python module's function to be used as a service must:
    4043
    4144- take three arguments : the main configuration, inputs and outputs maps are passed to the
    42   Python module as  dictionaries.
    43 - return an integer : corresopnding to the service status code.
     45  Python module as dictionaries.
     46- return an integer : corresponding to the service status code.
    4447
    4548Sample Data Structure
    4649*********************
    4750
    48 In the following you 'll find a sample argument passed to the Python module's function for
     51In the following you'll find a sample argument passed to the Python module's function for
    4952the two first main configuration file' sections.
    5053
     
    6669***********************************
    6770
    68 The following code represent a simple ZOO Python Services Provider which provides only one
     71The following code represents a simple ZOO Python Services Provider which provides only one
    6972Service, the HelloPy one.
    7073
  • trunk/docs/services/index.txt

    r272 r315  
    1111   introduction
    1212   zcfg-reference
    13    howtos
    1413   examples
  • trunk/docs/services/zcfg-reference.txt

    r272 r315  
    44========================================= 
    55
    6 :Last Updated: $Date$
    7 :Id:    $Id$
    8 :Author: $Author$
    9 :HeadURL: $HeadURL$ 
     6:Authors: Nicolas Bozon, Gérald Fenoy, Jeff McKenna
     7:Last Updated: $Date$
    108
    119.. contents:: Table of Contents
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png