Gregwar / WebToApp-POC

This is a proof of concept on how a web application could communicate to a low level application using ZeroMQ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web to application proof-of-concept

This is a proof-of-concept of how an "calculation" application could communicate with a web application involving ZeroMQ sockets,

Installation

Requirements

First, get the ZeroMQ library for both C/C++ and PHP :

You'll need to setup a web server (for instance Apache) which can executes PHP scripts

Compiling and running the app

To compile and run the app, simply use cmake :

cd app/
mkdir build
cd build/
cmake ../.
make
./App

Testing the thing

Then, run a web server and go to web/index.htm, you should see a dot spinning around. This is a representation of what is calculated in the application, PHP is here used as a proxy to get data from the app.

About

This is a proof of concept on how a web application could communicate to a low level application using ZeroMQ


Languages

Language:Objective-C 61.8%Language:JavaScript 16.6%Language:C++ 15.0%Language:PHP 6.6%