1 | .. _introduction: |
---|
2 | |
---|
3 | ************** |
---|
4 | Introduction |
---|
5 | ************** |
---|
6 | |
---|
7 | .. contents:: Table of Contents |
---|
8 | :depth: 5 |
---|
9 | :backlinks: top |
---|
10 | |
---|
11 | What is ZOO ? |
---|
12 | ============= |
---|
13 | |
---|
14 | ZOO-Project is a WPS (Web Processing Service) open source project released under a `MIT/X-11 <http://zoo-project.org/trac/wiki/Licence>`__ style license. It provides an OGC WPS compliant developer-friendly framework to create and chain WPS Web services. ZOO is made of three parts: |
---|
15 | |
---|
16 | * `ZOO Kernel <http://zoo-project.org/docs/kernel/index.html#kernel>`__ : A powerful server-side C Kernel which makes it possible to manage and chain Web services coded in different programming languages. |
---|
17 | * `ZOO Services <http://zoo-project.org/docs/services/index.html#services>`__ : A growing suite of example Web Services based on various open source libraries. |
---|
18 | * `ZOO API <http://zoo-project.org/docs/api/index.html#api>`__ : A server-side JavaScript API able to call and chain the ZOO Services, which makes the development and chaining processes easier and faster. |
---|
19 | |
---|
20 | ZOO was designed to make the service creation and deployment easy, by providing a powerful system able to understand and execute WPS compliant queries. It supports seven programming languages, thus allowing you to create Web Services using the one you prefer. It also lets you use an existing code and to turn it as a WPS Service. |
---|
21 | The current supported programming languages are the following: |
---|
22 | |
---|
23 | * C/C++ |
---|
24 | * Python |
---|
25 | * Perl |
---|
26 | * Java |
---|
27 | * Fortran |
---|
28 | * PHP |
---|
29 | * JavaScript |
---|
30 | |
---|
31 | More information on the project is available on the `ZOO Project official website <http://www.zoo-project.org/>`__ . |
---|
32 | |
---|
33 | How does ZOO works ? |
---|
34 | ==================== |
---|
35 | |
---|
36 | ZOO is based on a C Kernel which is the ZOO-Project core system (aka ZOO-Kernel). The latter is able to dynamically load libraries and to handle them as on-demand Web services. |
---|
37 | |
---|
38 | A ZOO-Service is a link composed of a ZOO metadata file (.zcfg) and the code for the corresponding implementation. The metadata file describes all the available functions that can be called using a WPS Execute Request, as well as the desired input/output. Services contain the algorithms and functions, and can be implemented using any of the supported languages. |
---|
39 | |
---|
40 | ZOO-Kernel works as CGI through Apache and can communicate with cartographic engines and Web mapping clients. It simply adds the WPS support to your spatial data infrastructure and your webmapping applications. It can use every GDAL/OGR supported formats as input data and create suitable vector or raster output for your cartographic engine and/or your web-mapping client application. |
---|
41 | |
---|
42 | What are we going to do in this workshop? |
---|
43 | =============================== |
---|
44 | |
---|
45 | Participants will then learn how to use ZOO Kernel and how to create ZOO Services using the OSGeo Live 5.5 A pre-compiled ZOO 1.3-dev package is provided inside OSGeoLive, so participants won't have to compile and install it manually. Configuration file and basic ways to run ZOO Kernel and ZOO Service will be presented. Participants will be then invited to start programming their own service using Python language. Some ZOO Services will be presented and individually tested inside a ready-to-use OpenLayers application. Finally, this services will be chained using the server-side Javascript ZOO API. |
---|
46 | |
---|
47 | The whole workshop is organized step-by-step and numerous code snippets are available along with their respective explanations. The instructors will check the ZOO Kernel functioning on each machine and will assist you while coding. Technical questions are of course welcome during the workshop. |
---|
48 | |
---|
49 | Usefull tips for reading |
---|
50 | ======================== |
---|
51 | |
---|
52 | .. code-block:: guess |
---|
53 | |
---|
54 | this is a code block |
---|
55 | |
---|
56 | .. warning:: This is a warning message. |
---|
57 | |
---|
58 | .. note:: This is an important note. |
---|
59 | |
---|
60 | **Let's go !** |
---|