Changes between Initial Version and Version 1 of ZooWebSite/2015/Code/ZOO-Services/Hello


Ignore:
Timestamp:
Feb 26, 2015, 10:25:36 AM (9 years ago)
Author:
nickboz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ZooWebSite/2015/Code/ZOO-Services/Hello

    v1 v1  
     1{{{
     2#!html
     3<div class="zoo-default">
     4  <div class="container">
     5    <div class="col-xs-12 col-sm-2 col-lg-2 text-center">
     6      <span class="zoo-title "><img src="/img/zoo-pinguin.png" class="img-responsive circ"/></span>
     7    </div>
     8    <div class="col-xs-12 col-sm-10 col-lg-10 text-center">     
     9      <h1 class="section-heading">ZOO Services Hello Worlds</h1>
     10      <h2 class="sub-heading">Say hello in WPS using the language of your choice</h2>
     11      <div class="well well well-heading">
     12        <p class="intnp"><b>ZOO Services</b> is a growing collection of ready to use <b>Web Processing Services</b> built on top of reliable open source libraries such as <a href="http://gdal.org" target="_blank">GDAL</a>, <a href="http://grass.osgeo.org" target="_blank">GRASS GIS</a>, <a href="https://www.orfeo-toolbox.org/" target="_blank">OrfeoToolbox</a>, <a href="http://www.cgal.org/" target="_blank">CGAL</a> and more. It aims at using existing geospatial algorithms through standard WPS, and provides a number of significant examples to build your own.</p>
     13      </div>
     14    </div>
     15  </div>
     16</div>
     17
     18
     19<div class="bblockb">
     20  <h1 class="section-heading-w">Hello world</h1>
     21  <div class="container">
     22        <div class="row">
     23        <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 bhoechie-tab-container">
     24            <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2 bhoechie-tab-menu">
     25              <div class="list-group">
     26                               
     27                <a href="#" class="list-group-item list-group-item2 active text-center">
     28                <img src="/img/zoo-monkey.png" class="img-responsive circb center-block mb" width="32" height="32"/>JavaScript
     29                </a>
     30                                <a href="#" class="list-group-item list-group-item2 text-center">
     31                  <img src="/img/zoo-snake.png" class="img-responsive circb center-block mb" width="32" height="32"/>Python
     32</a>
     33                <a href="#" class="list-group-item list-group-item2 text-center">
     34                            <img src="/img/zoo-cheetah.png" class="img-responsive circb center-block mb" width="32" height="32"/>C/C++
     35                </a>
     36
     37
     38              </div>
     39            </div>
     40            <div class="col-lg-10 col-md-10 col-sm-10 col-xs-10
     41            bhoechie-tab">
     42
     43                              <!-- JS section -->
     44                <div class="bhoechie-tab-content active">
     45                    <center>
     46                  <h3>JavaScript</h3>
     47<pre class="language-javascript">
     48<code>function hellojs(conf,inputs,outputs){
     49  outputs["result"]["value"]="Hello "+inputs["S"]["value"]+" from the JS World !";
     50  //SERVICE_SUCEEDED
     51  return Array(3,outputs);
     52}</code>
     53</pre>
     54                    </center>
     55                </div>
     56               
     57                <!-- Python section -->
     58                <div class="bhoechie-tab-content">
     59                    <center>
     60                  <h3>Python</h3>
     61<pre class="language-python">
     62<code>import zoo
     63def HelloPy(conf,inputs,outputs):
     64    outputs["Result"]["value"]="Hello "+inputs["a"]["value"]+" from Python World !"
     65    return zoo.SERVICE_SUCCEEDED
     66</code>
     67</pre>
     68                    </center>
     69                </div>
     70
     71   
     72                <!--C section -->
     73                <div class="bhoechie-tab-content">
     74                    <center>
     75<h3>C</h3>
     76<pre class="language-c">
     77<code>printf</code>
     78</pre>
     79                    </center>
     80                </div>
     81
     82            </div>
     83        </div>
     84  </div>
     85
     86
     87</div>
     88 </div>
     89
     90
     91
     92}}}

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