How to retrieve data from my server in hybrid mobile app

2 posts, 0 answers
  1. Jeslynn
    Jeslynn avatar
    1 posts
    Member since:
    May 2015

    Posted 26 May 2015 Link to this post

    Hi,

     I'll need to create a hybrid mobile app that would connect to my own server to retrieve the data stored in database(MS SQL). Knowing that, there's no way for me to write server-side coding when creating the hybrid mobile app. For your kind advice, how do I go about retrieving the data from my application server's database?

    Thank you.

  2. Anton Dobrev
    Admin
    Anton Dobrev avatar
    539 posts

    Posted 29 May 2015 Link to this post

    Hello Jeslynn,

    In order to connect your app to data from your MySQL database you need a set of services, for example a RESTful layer, on top of your database. Then you can consume the data via AJAX requests or using the Kendo UI data source in your application. I cannot think of another secure and convenient way to feed your mobile app with data from a database server.

    In order to achieve this you can use the Data Connectors feature of Telerik Backend Services (available only in Enterprise subscription tier) to connect your SQL data to a Backend Services project without building your own web services. From then on you can connect various consumers to the data via a REST API and client data sources without storing anything in the cloud project. An overview of the feature and its usage are explained in this article. Let me know if you have further inquiries on the matter.

    If you would like to build your own web services, you may consider to facilitate the creation of a web services layer using the Telerik Data Access wizard. The following samples might also be helpful.

    Let me know if further questions arise.

    Regards,
    Anton Dobrev
    Telerik
     

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

     
Back to Top