This is a migrated thread and some comments may be shown as answers.

webservice

1 Answer 58 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
vaishali
Top achievements
Rank 1
vaishali asked on 13 Apr 2016, 01:50 PM

I am new in telerik phonegap.can any one tell me that...

how can we use php file in telerik phonegap and how to call webservice?

 

1 Answer, 1 is accepted

Sort by
0
Anton Dobrev
Telerik team
answered on 15 Apr 2016, 12:09 PM
Hello,

Thanks for posting to the Telerik Developer Forums.

Within Telerik Platform you can use HTML, CSS and JavaScript to develop, build and publish hybrid mobile apps. You cannot run or use a PHP code in the code base of the mobile app.

As for the server part, you can keep a PHP server that runs a web service which you can consume from the client app.

Consuming a web service in the mobile app is best achieved with an HTTP request with jQuery AJAX for example. 

You can also do this with a Kendo UI Data Source instance that feeds Kendo UI mobile widgets. Demos for all widgets are available here.

Let me know if this answers your question.


Regards,
Anton Dobrev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
vaishali
Top achievements
Rank 1
Answers by
Anton Dobrev
Telerik team
Share this question
or