[Cppcms-users] Fwd: cppcms::rpc::json_rpc_server usage.
Brought to you by:
artyom-beilis
From: le ba <hma...@gm...> - 2012-05-21 10:29:16
|
Hi , I would like explain my questions. For example I create my dynamic page (like template or templates_inheritance in the example) with ajax using json_rpc inside: 1. Will I do a derivation from cppcms::appliaction and make a json call inside or 2. Will I do a derivation from cppcms::rpc::json_rpc_server for all application and children. I'd like to know if the context is shared by url dispather and json_rpc_call or they have two different context? Thank you Artyom. ---------- Forwarded message ---------- From: le ba <hma...@gm...> Date: 2012/5/21 Subject: cppcms::rpc::json_rpc_server usage. To: cpp...@li... Cc: art...@ya... Hi, Instead derived from cppcms::application, my application is derived from cppcms::rpc::json_rpc_server . I would like to populate the dynamic page with data from a request using ajax and json. My Questions are: - Is it a normal usage of cppcms framework because I don't find an example like this within the example that you have provided? - If yes, are there some conditions or some style of code for this kind of usage? Thank you very much. hmaminirina. |