You're welcome,
RPC PHP [1] is a contribution from Derrel Lepman. You can test it with the
RPCExample [2] contrib too.

You may find other json-rpc implementations too [3].
[1] http://qooxdoo.org/contrib/project/rpcphp
[2] http://qooxdoo.org/contrib/project/rpcexample
[3] http://qooxdoo.org/contrib/project


Regards,


Tom Saddul wrote
> I am using Microsoft ASP.NET Web API 2.x at server side like the following
> ....
> 
> 
> namespace SampleWebApi.Controllers
> {
>     public class DefaultController : ApiController
>     {
>         [HttpGet]
>         [Route("
*
> getdata
*
> ")]
>         public IHttpActionResult GetData()
>         {
>             try
>             {
>                 // Connect to MySQL here
> 
>                 return Ok();
>             }
>             catch (Exception ex)
>             {
>                 return InternalServerError(ex);
>             }
>         }
>     }
> 
> 
> In Javascript (I use TypeScript), I use 
*
> qx.io.request.Xhr
*
> :
> 
>         var req = new qx.io.request.Xhr(baseURL() + "
*
> getdata
*
> ");
> 
>         req.setMethod("GET");
> 
>         req.addListener("success",(e) => {
>             var response = e.getTarget().getResponse();
> 
>            // process response
>         }, source);





--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Use-of-Database-in-qx-Desktop-tp7587174p7587178.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to