×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2012
    Location
    Mexico
    Posts
    7

    Question Sinatra Ruby Model-View-Controller framework against XMLHTTPRequest

    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
    Join Date
    Apr 2012
    Posts
    4

    Re: Sinatra Ruby Model-View-Controller framework against XMLHTTPRequest

    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
    Join Date
    Feb 2012
    Location
    Mexico
    Posts
    7

    Re: Sinatra Ruby Model-View-Controller framework against XMLHTTPRequest

    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
  •