Any good c++ library for web programming? [closed] - c++

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 searched the web, and found cgicc, rudeserver and Wt etc., but none of them suit my needs. I want a library that can parse all the request data to a get,post,cookie and file array, just like php does.
Cgicc etc use formentry to get form data, but it's way too difficult to use.
Wt use the widgets to develop, which I think is not very comfortable.
I used to use PHP for web programming, but when I know that C++ is amazingly faster than php, I decide to use C++ instead.
Any suggestions? thanks in advance.

I don't understand why Wt don't fit. (you could use Wt without its "widgets", just for the HTTP aspect).
You could make a FastCGI application (it would fit nicely into many existing web servers).
You could also embed an HTTP server inside your C++ application, using some HTTP server library like libonion, libmicrohttpd or the one inside poco
BTW, there are better alternatives to PHP like Opa, ocsigen, kayalang (without requiring C++).

Related

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.

How to create a basic TCP connection via socks proxy in c++/c? [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'm looking for a library to add a socks proxy option to a C/C++ program.
What libraries are available for unix and what is the best way to achieve this?
The solution should:
be considered best practice (safe)
work in multi-threaded programs with short single-threaded connections
easy to implement / maintain (if possible)
work for unix (linux/debian/ubuntu)
Found a lot of information on the internet but nothing specific, and don't know what to use or when to use it.
I do recommend:
libboost: http://www.boost.org/doc/libs/1_35_0/doc/html/boost_asio/reference/ip__tcp/socket.html
Qt: http://qt-project.org/doc/qt-5.0/qtnetwork/examples-network.html
Both are multiplatform and very good libraries, but Qt is for GUIs more than a simple library, so think about using libboost for this single purpose.

Integrating Latex into my desktop application [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'm searching for a consultation, or maybe an opinion, a suggestion, or something like this.
I'm starting a project (desktop application) that is something like an IDE for writing books/reports. I'm planing to introduce LaTeX features, if I can name them in a such way.
So the question is: Is it possible to integrate a LaTeX script or plug-in in my software in order to have the needed features?
Waiting for questions or suggestions on my topic.
Thanks in advance!
P.S. Sorry if this topic was already posted.
Not sure I understand your question correctly. I never heard of some kind of LaTeX library or plugin of some kind, which is readily available to be integrated in other programs.
You tagged your question 'qt' so I assume, you use Qt as your framework. The only way I see to integrate LaTeX into Qt is using QProcess. Write your LaTeX code, start pdflatex with QProcess. The question then is if you can do something with the created pdf file.
Look for MikTeX and TeXworks. If you google those, you should be able to get the links to download those. That should do what you need.

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.

Idea's for making a workbench type interface [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'm looking at MeVisLab's interface for generating views of data and I find that that way of viewing control structures is extremely intuitive.
It is especially the connected boxes I'm liking, is there any kind of framework that supplies this sort of interface. I know it can be done using Qt but beleave it takes ALOT of work.
Does anyone know of frameworks for making this type of gui?
This is not c++, but i think it covers your problem, so i would suggest WireIt.
Examples:
http://neyric.github.com/wireit/plugins/editor/examples/logicGates/index.html
http://neyric.github.com/wireit/plugins/composable/examples/jsBox/jsBox.html
It is a Java Script library, so the browser would be your GUI. But i really think, that using the browser is a good thing to do. Learning HTML, CSS and Java Script is about as difficult as learning a new GUI framework. You could concentrate on HTML5 and ignore old browsers and maybe use a nice lib like jQuery, which is like the boost of js. Even if your GUI would only work on Firefox you would still support more platforms than most GUI-Toolkits.
You would of course have to embed a small http-server in your c++ code, you could use libmicrohttpd or mongoose for that.
In the end you have used tools that are very reusable and will have a broader applicability than GUI Frameworks.