OCaml in enterprise stack [closed] - ocaml

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm trying to figure out how OCaml is represented in enterprise technology stack. For example, Is there in Ocaml own enterprise message queue or workflow engine?
So, can anybody advice me frameworks for OCaml from the following aspects:
Workflow engine
Service bus
Message Queue
ORM
HTTP Server
Update #1: Workflow Engine
en.wikipedia.org/wiki/Workflow_engine
http://www.jboss.org/drools - one of implementations in Java technology stack.
http://en.wikipedia.org/wiki/Windows_Workflow_Foundation - implementation of WE in .NET technology stack

Perhaps ocamlnet answers partly to your questions. If you want to code web server (or services) in Ocaml, consider also Ocsigen
(and I don't really understand the entreprise stack sentence; for me it is a marketing buzz word without a clearly defined technical content)
I have no idea of what a "list item" is for you. I am not sure to understand "workflow engine" neither.
And the Ocaml Hump is a nice place to find Ocaml software.

For message queues: NetAMQP.
For an ORM: maybe Macaque can fit here. It's not exactly like what you can find elsewhere, but it fits the functional spirit.
For an HTTP server: Ocsigen. It also includes a framework for developing web applications (client and server) entirely in OCaml. Ocamlnet also provides libraries useful to write CGI applications as well as an Apache connector.

ocamlmq is a pure OCaml STOMP message broker written by Mauricio Fernandez
ocamlnet is a high-performance evented system layer for network programming, by Gerd Stolpmann. Besides a complete HTTP server, it contains a:
Sun RPC service layer that lets you transparently bind to fault-tolerant services across the network by using a locator

In addition to the other answers already posted, see Opa
It's a web development langauge/framework written in OCaml. It takes a unique approach in that the server, database and app are all in one executable.

Related

What kind of front end/ gui is used with trading applications? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I was wondering what kind of front end is used for trading applications. Coming from a quant background, I was always only concerned with research and back end of the application but am at a total loss when it comes to front end/ gui. Most of my coding has been done in c++ and I am using just a config file to pass parameters.
Now it turns out due to regulatory reasons, this might not suffice. I need to have a front end which can start/ stop the strategy, change parameters and fetch order and trade history. So question boils down to this, How can I create a simple ui which can sit on another machine, communicate with the colocated machine and do all this.
Initially I thought of using web/javascript but not much is out there regarding this. Qt is another option but I suspect it will require substantial rewrite of the code and learning.
What is the preferred front end for medium to high frequency trading applications which have the core strategy running in c++?
Coming from the industry, I can tell you with certainty: Anything goes. I have worked on trading application frontends using MFC, QT, Forms, WPF. Java is quite popular too, as are homegrown abominations. One non-obvious way to communicate with the colocated machine is Citrix or Remote Desktop.
You do need to make sure that you have well defined behavior in case the client crashes, server crashes, connection between them freezes/gets lost, connection to the market gets lost, connection comes back, etc. Tell the trader how it will react in these situations, in advance. If it doesn't make sense, the trader won't use your application.
Further details depend on many variables. Are you an ISV, or is it an in-house application? Are you working in an arcade? Which markets are you connecting to? Does your hosted co-lo environment have some special rules in regards to what can run there?

C++ and internet program [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I've been self teaching myself C++ for the last 6 months and I would like to put my little acquired knowledge into a relatively useful program.
I would like to make a program that will ask for an input, (here's the tricky part) search in a list of websites (including other pages in said website) for that input's value and display the results.
Truth is, I don't really know how to get started since I haven't read any guide on c++ and networking, so if you do have a good guide in mind, please share it with me, much appreciated.
EDIT: Sorry I wasn't clear enough, the program in itself isn't really what worries me, i'm just looking for a guide that explains how to combine c++ and networking. And I want it to be something like a price comparison program, take an input from the user, search the input in a list of websites, get the result, look for it's value and display the results in an increasing order
You may wish to start looking into Networking libraries for c++. keep in mind there are many library and choosing the right one will purely depends on your requirement. Here is the quick list of c++ networking libraries that I've considered in past!
Boost.Asio is really good, though the documentation is scarce.
C++ Network Library
POCO
Qt
libcurl
ZeroMQ
Apache APR
Also see the post by 'George Stocker' at https://stackoverflow.com/a/118968/3685825
Generally We Use Sockets In c++ for Network programming. And Sockets uses following protocol families.
PF_UNIX Local communication
PF_INET Internet (TCP/IP)
PF_NDD The operating system NDD
PF_INET contains following protocol.
TCP
UDP
RDS
IP
Internet Control Message Protocol (ICMP)
And for Calling an HTTP protocol you need a middle-ware since socket can't communicate directly to the HTTP protocol.
See this question for calling an HTTP URL from c++.
How do you make a HTTP request with C++?
And for socket Reference I suggest you to read
dvanced Programming in the UNIX® Environment.
By W. Richard Stevens, Stephen A. Rago
for other references
What is a good book/guide for socket programming in C?

Best XML Parser with SOAP Request/Response Support [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am looking for Best XML parser with support for XSD and Namespace along with SOAP Support. Looking for small footprint(ideally upto 500kB). I came across gSOAP, but not sure if Standard Open Source Edition of gSOAP supports all the features I am looking for.
Any help if much appreciated.
I think it is a good question.
First: if you use xml/soap/wsdl based web services, you have probably a really highlevel project, and thus even the c++ isn't really sure an optimal choice. I think it is very unlinkely, if you want to develop a real, working software in C, which makes soap services. IMHO you could think about java.
Second: xml and soap/wsdl are two different things, although soap uses xml for communication and the interface description (wsdl) is xml, too.
For xml handling, I suggest you could use libxml++ .
For SOAP, there is more library, but most of them isn't enough good for me to name them. Try each after the other, and sometimes you will have luck. :-)
Both libs have small footprint - they are relative complex, but don't need a legion of another libraries.

A gui library in c++ as web client [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am trying to create web gui for my c++ application can any one recommend any good C++ library.I had a look at http://www.webtoolkit.eu/wt . But i am not sure that is the only solution . Is connecting with python is a good solution?
There are many other technologies more recommended for web applications, like php,asp.net, Java EE where there are many resources talking about them, and a lot of libraries exist for such technologies. So even if your backend is in C++ you can develop the front end with another techno, it will be more easy than trying to develop it with C++.
You can make use of http://www.treefrogframework.org/ as well.
In case your server is Windows based, another solution is expose your C++ application via REST with Casablanca, http://msdn.microsoft.com/en-us/devlabs/casablanca. Then provide the UI with a JavaScript framework.
Otherwise I would suggest using a language that makes it easier to bind with C++ for server development, like D (you can then use http://vibed.org/ for the web part).
Using Python will require you to use something like SWIG to be able to access the code. It all depends on how much you need to expose from the C++ side.

As a software developer what is your SNMP suite that easy to integrate into your software [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Well, altough the S of the SNMP stands for Simple, yet, so far I haven't experienced it that way. And now that I am about to deploy my software on around around 180 remote Linux servers and wants to monitor the servers and configure my daemons all from a centralized point.
I simply want you to recommend me the library which you'll confidently describe as "SNMP Made Easy".
I am looking for a suite of software which not standing in the developer's way, easy to work with (install, configure).
Speaking from the NOC perspective, the ideal would be such one which requires no maintenance once installed.
Note: Open Source is mandatory.
I wouldn't describe it as easy, but the easiest I've found (quite a while ago) was pysnmp -- I had to wrap it with a couple of façades to make it somewhat usable by people who weren't deep SNMP experts (and that code I had to leave behind at a previous employer, was never open-sourced, and I couldn't reconstruct it right now but would have to develop again from scratch). However, so many years have passed (with PySNMP in continuous development, now with a PSF grant too) that it may definitely have gotten better (one can hope;-).
Try Net-SNMP . It has BSD licence. If you are open for java snmp4j is the best.
I am still searching for that easy to use suite of SNMP tools/API myself.
I build OA&M and I've tried NET-SNMP, Windows SNMP and lately agentpp (www.agentpp.com).
Personally, I preferred the agentpp.
Good luck to you.
The "S" in SNMP is actually for "simple" not because using it is simple, but rather because the protocol (on the wire) is designed to be simple and easy to implement. And it is. Now... actually implementing it and then using it is where the S completely drops away.