Results 1 to 2 of 2

Thread: Ruby -- RoR?

  1. #1
    Join Date
    Apr 2014

    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?


  2. #2
    Join Date
    Aug 2004
    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).
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

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