Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User lmonteswebmaps's Avatar
    Join Date
    Feb 2012
    Location
    Mexico
    Posts
    7
    Hi, I don´t understand which is the advantage of using Sinatra in my aplications against XMLHttpRequest in Javascript. I´m using Nokia Places via XMLHTTPRequest with get method in JavaScript and parsing directly the JSON response because I can't implement successfully the request with Sinatra framework.
    Could somebody tell me the advantages of Nokia Places with Sinatra framework, and the advantages of Nokia Places with XMLHTTPRequest in Javascript?

    Thanks.

  2. #2
    Nokia Developer Expert andrschm's Avatar
    Join Date
    Apr 2012
    Posts
    4
    Hi

    there is nothing wrong with using the Places API directly from within a browser. We just decided to build our demo application as a server side application, as this allowed us to make "clean usage" of all Places API features, without mixing in concepts/solutions specific the browser platform (Same-Origin-Policy, CORS, JSONP, how to modify headers).

    Andreas
    Andreas Schmidt
    Nokia Places API

  3. #3
    Registered User lmonteswebmaps's Avatar
    Join Date
    Feb 2012
    Location
    Mexico
    Posts
    7
    Thank you Andreas.

Similar Threads

  1. Model/view, apply a filter on model
    By remy_david in forum Qt
    Replies: 2
    Last Post: 2011-02-08, 12:16
  2. Confused with Model View Controller...
    By FrankTheFox in forum Symbian C++
    Replies: 2
    Last Post: 2009-03-24, 13:56
  3. MMF controller framework hangs
    By mahantesh19 in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2008-09-29, 11:25
  4. Replies: 0
    Last Post: 2002-10-29, 07:31
  5. Replies: 0
    Last Post: 2002-10-28, 10:14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved