dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Ruby -- RoR?

  1. #1
    Join Date
    Apr 2014
    Posts
    42

    Ruby -- RoR?

    Hey guys,

    So you know how on these social networking sites, every time you post a photo/tweet/what have to, to your profile it automatically adds a new space for this post? How can this automatic creation of space for a new post be accomplished with Ruby and/or RoR? Or if this is not possible, what other language is capable of doing this?

    ralston3

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,637
    You're probably looking at an AJAX implementation, where most of the work is done in JavaScript on the browser side, making HTTP requests as needed to post new data to the server. So as far as the Ruby side goes, you're just looking at processing those post requests, and sending whatever response the JavaScript is waiting for (typically a JSON or JSONP object).
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles