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

Example of Hybrid Application to request data from Server (HTTPS)

1 Answer 119 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
jclayer
Top achievements
Rank 1
jclayer asked on 17 Sep 2015, 06:40 AM

Hi,

 I would like to ask if there's an example being shown on how mobile hybrid application can request data over https from external server using RESTful web service or someone could guide me along.

Thank you.

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 21 Sep 2015, 03:31 PM
Hello,

Hybrid mobile apps are built with a combination of web technologies like HTML, CSS, and JavaScript. Therefore, you can use different approaches depending on the web data service you are consuming. The following resources may be helpful:
JavaScript: Learning how to “consume RESTful APIs”
javascript REST client

In case you work with Kendo UI, I can suggest checking the following examples:
- you should be able to set the transport read url as a variable like in this Dojo example illustrating how to consume odata service:  http://dojo.telerik.com/OXIna/3.

- http://demos.telerik.com/kendo-ui/m/index#source-code-view?view=mobile-listview/press-to-load-more
http://docs.telerik.com/kendo-ui/api/javascript/data/datasource#methods-read

The documentation on Kendo UI DataSource Overview gives some more details.

Concerning developing hybrid applications, all the main Cordova API features are implemented as plugins. As to vulnerability matters, there is a  Secure HTTP plugin which makes your app no longer vulnerable for such attacks by providing true SSL Pinning. 

You can also consider Telerik Backend Services (a mobile backend-as-a-service offering). It is the module of the Telerik Platform that you can consider in order to quickly configure RESTful services to ensure the server logic of your app for data, user management, notifications, business logic and more. Thus you save the efforts required to write, maintain and deploy complex server logic and database under your infrastructure. You can examine your actual scenario covered by the user management in Backend Services in this article
In this case, you can also refer to the topic on Securing a PhoneGap/Cordova Hybrid Mobile App.

Regards,
Dimitrina
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
General Discussion
Asked by
jclayer
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or