RTC Forums
November 28, 2024, 08:08:02 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: PHP WebServer  (Read 6377 times)
ISIGest
RTC Expired
*
Posts: 121


« on: September 28, 2013, 12:05:18 PM »

What is the best way to use a Php web service on Linux server with and Rtc sdk?
Anyone have a simple php framework to use with RTC ?
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 on: September 28, 2013, 12:10:48 PM »

What is it exactly you want to do?
Logged
ISIGest
RTC Expired
*
Posts: 121


« Reply #2 on: September 28, 2013, 01:22:35 PM »

I want manage a mySQL database with WSO2 or Slim framework using the RTC Components to send and receive data or call a custom web method.
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #3 on: September 28, 2013, 01:27:58 PM »

How is that related to your original question about PHP?

Can you give me more details?

Are you writing a Server or a Client using RTC components?

Do you need to communicate with the PHP Server from your RTC Client or Server?

Are you writing a Server which has to forward incoming requests to an external PHP Server, then eventually process the responses and send them back to Clients (data routing), or are you writing a Windows/OSX/iOS/Android Client which has to communicate with a 3rd-party Web Service?
Logged
ISIGest
RTC Expired
*
Posts: 121


« Reply #4 on: September 28, 2013, 03:00:05 PM »

I want to write a client application with RTC that comunicate with a 3rd part php web service.
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #5 on: September 28, 2013, 03:05:33 PM »

For that, you will use TRtcHttpClient and TRtcDataRequest components. Depending on the Server specification, you have to prepare request content before sending it out, and handle the response when you receive it. To get the basic understanding of how the RTC SDK works, please go through the Quick Start lessons and check example Projects in the QuickStart folder.

Best Regards,
Danijel Tkalcec
Logged
Kevin Powick
RTC Expired
*
Posts: 87


« Reply #6 on: September 30, 2013, 12:30:48 AM »

I want to write a client application with RTC that comunicate with a 3rd part php web service.
If you're writing a client to talk to a 3rd party web service, PHP is irrelevant.  All you need to be concerned with is the API exposed by the web service. 

I'm guessing that the web service exposes a RESTful API?  If so, as Danijel mentioned, you'll need the TRtcHttpClient and TRtcDataRequest components to send the appropriate GET, POST, PUT & DELETE requests exposed by the web service API.
Logged

Linux is only free if your time is worthless
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.025 seconds with 16 queries.