summaryrefslogtreecommitdiffstats
path: root/tags/native-sca-1.0.incubating-M3-RC4/runtime/extensions/php/samples/PHPCalculator/README
blob: dbee1f5f85a7fe2d8515c72660299656c00ecd5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Tuscany SCA for C++ Samples - PHP Calculator Sample
===================================================

This is a simple sample to show how an SCA composite can wire together
a number of components to implement a Calculator service and expose that service as
to a number of different tpyes of client. The sample components are implemented in various 
ways to demonstrate the different features of the PHP SCA extension.

There are two sub projects in this workspace:
    - sample.calculator
      This contains the source code and SCDL artifacts for the SCA Calculator
      composite implementing the sample Calculator

    - sample.calculator.client
      A sample client which does a local call to the Calculator service

A Python client is used because the work to enable PHP to host SCA is not done yet 
 
Windows
=======
tba

Linux
=====

The make install will deploy this under $TUSCANY_SCACPP/extensions/php/samples

To run the sample

cd $TUSCANY_SCACPP/extensions/php/samples/PHPCalculator/deploy/sample.calculator.client
./runclient.sh