Implementing using Drupal Services

2 posts, 0 answers
  1. Monalisa
    Monalisa avatar
    1 posts
    Member since:
    Apr 2013

    Posted 15 May 2013 Link to this post

    Hi,

    Hope you all doing good today. This is Monalisa Das.

    My team has started developing an app using ICENIUM. 
    Today I am writting down as they r stucked in a factor.
    I have listed a small snippet from the "Kendo Music App".

    define([], function () {
    var domain = "www.kendouimusicstore.com",
    serverUrl = "http://" + domain,
    serviceUrl = serverUrl + "/Services/MusicStore.svc";

    return {
    domain: domain,
    serverUrl: serverUrl,
    serviceUrl: serviceUrl,
    genresUrl: serviceUrl + "/Genres",
    artistsUrl: serviceUrl + "/Artists",
    albumsUrl: serviceUrl + "/Albums",
    loginUrl: serverUrl + "/Api/AccountApi",
    cartSubmitUrl: serverUrl + "/Api/CheckoutApi",
    orderHistoryUrl: serverUrl + "/OrderHistory"
    };
    });

    I wish to apply the same using Drupal Services. Can you guide me through how can I make it possible.

    Viz,

    In the snippet above, I am basically focusing on one Line Of Code,

    serviceUrl = serverUrl + "/Services/MusicStore.svc";

    This code is using WCF WebService. How can I implement the same using Drupal Services ?

    Waiting for your reply. Have a great day.

    Cheerz !!

  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 15 May 2013 Link to this post

    Hi,

    Drupal has a module which allows mobile applications to integrate with Drupal websites and services. You can review the following links as an example how to integrate with Drupal in hybrid applications:
    • http://www.tylerfrankenstein.com/code/android-app-with-drupal-7-services-phonegap-and-jquery-mobile
    • http://drupal.org/project/phonegap
    • http://drupal.org/project/drupalgap

    Please have in mind that if you are using Icenium Mist's Simulator you might have problems with "cross-domain" requests to Drupal server.

    Regards,
    Steve
    the Telerik team

    Don't miss the Icenium May Release Keynote - sign up now!
    Share feedback and vote for features on our Feedback Portal.
Back to Top