mmurgas Posted March 30, 2014 Share Posted March 30, 2014 Dear, I consult them, I need to make my application unigui, talk to another remote php application, what should I do? I understand using a webservice / XML / JSON, another. I will appreciate your support and feedback as could do this task. Quote Link to comment Share on other sites More sharing options...
altagur Posted March 30, 2014 Share Posted March 30, 2014 I am put TUNIURLFrame open were path localhost:8080/sub?a=1 - weher me lissen another server like apache with php and lissen answers on ServerModule in new event OnHttpRequest(Reuest, Response). Possible in the future author do vis event in context current thread and DataModule. I am already asked him about. Now in vois event no context of curren Datamodule. Quote Link to comment Share on other sites More sharing options...
zilav Posted March 30, 2014 Share Posted March 30, 2014 http://forums.unigui.com/index.php?/topic/1940-raw-data-endpoint/&do=findComment&comment=8620 A bit outdated, it is here now: UniGUIJsUtils.GetEventUrl(SomeControl.JSControl, 'myevent'); Then use OnAjaxEvent of specified control to catch incoming requests. Quote Link to comment Share on other sites More sharing options...
mmurgas Posted March 31, 2014 Author Share Posted March 31, 2014 Estimated Zilav, if I could show you a basic example would greatly appreciate it, since I have not much knowledge (I learn) to understand what you send me Thank you mmurgas Quote Link to comment Share on other sites More sharing options...
altagur Posted April 2, 2014 Share Posted April 2, 2014 no moe file uniExtUtils.pas now function GetEventUrl( in UniGUIJSUtils How to send ajax to tuniurl frame wich i am not understand because no such htmlframe..ExtControl is invalid!? MyDataUrl := GetEventUrl(unihtmlframe.ExtControl, 'MyData'); UniSession.SendResponse(MyDataUrl, False); How to send ajax to TUNIURLFRAME if it pointed on url:='http://myadr:8080?blabla' ??? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted April 2, 2014 Administrators Share Posted April 2, 2014 Dear, I consult them, I need to make my application unigui, talk to another remote php application, what should I do? I understand using a webservice / XML / JSON, another. I will appreciate your support and feedback as could do this task. It is a very broad topic. You must describe your project in detail. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.