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

2 posts, 0 answers
  1. jclayer
    jclayer avatar
    1 posts
    Member since:
    Sep 2015

    Posted 17 Sep 2015 Link to this post

    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.

  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 21 Sep 2015 Link to this post

    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.

     
Back to Top