How are website with Ruby on Rails built?



I’ve gone throu the Sitepoint book Build Your Own Ruby on Rails Web Applications by Patrick Lenz, and have a good understanding of how web applications are built, but I don’t understand how an entire website is built using RoR. Is every page gernerated by one or more Ruby scripts or are their static HTML or RHTML pages that use a small amount of Ruby code to pull content from a database? I’m working on a site that uses PHP, but would like to convert it to RoR. Most of the pages use PHP to generate some content from infomation fetched from a database, and are fairly static except for the small part of the page that gets it content form the database. Would you use Ruby the same way you use PHP? Where would I put my website page files in the Ruby directory structure? under rails_root/public ?

Related posts:

  1. Web Site Development With Ruby On Rails And Other Programs
  2. Adsense Program/website Gives You Specific Knowledge of Business From Time to Time
  3. Ruby on Rails – a Powerful Web Development Frame Work

Posted by admin on Aug 23 2009 in Programming Design

2 Responses to “How are website with Ruby on Rails built?”

  1. Rex M Says:

    It seems like you are missing a few key fundamental concepts.. i.e., tried to dive straight into advanced topics without learning the basics. Try going through the three getting started with RoR tutorials that the RoR website recommends:

  2. reddy a Says:

    An iframe in their application in an iframe in an iframe in an iframe in their application folder one.
    An iframe in their application folder one hosting provider account see more in this way you put some of the style sheet info and the static files in this way you put these files using front page.

Leave a Reply