You can use embedded HTTP server and run the main cppcms::service in its own thread thus combining the CppCMS WEB and the application into a single instance.
Configuration - you can provide a path to Json configuration file or use json object to configure it (cppcms::service has a constructor the receives a cppcms::json::value object)
Artyom Beilis
--------------
CppCMS - C++ Web Framework: http://cppcms.com/
CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/
--------------------------------------------
On Tue, 3/4/14, Daniel Pomrehn <dan...@gm...> wrote:
Subject: [Cppcms-users] Fwd: WebGUI with RPC Json Server
To: cpp...@li...
Date: Tuesday, March 4, 2014, 9:04 PM
Hi,
I use cppcms to build a WebGUI for a C++
Application. On the GUI I want to use some AJAX
calls to the C++ Application.
Will I have to build a second application for
handle the Ajax Request or can I put it into the same
application? How must Confguration look like?
I'm using URL mapping / dispatcher for different
path to the pages of the WebGUI.
Thanks in advanceBest
regardsDanny
-----Inline Attachment Follows-----
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make
the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that
actually works.
Faster operations. Version large binaries. Built-in
WAN optimization and the
freedom to use Git, Perforce or both. Make the move to
Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
-----Inline Attachment Follows-----
_______________________________________________
Cppcms-users mailing list
Cpp...@li...
https://lists.sourceforge.net/lists/listinfo/cppcms-users
|