Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<h2>The Language</h2> <p><em>Ruby</em> is a recent programming language that shares most of its heritage with Perl and Smalltalk. You can see what Ruby looks like (and try it yourself) at <a href="http://tryruby.org/" rel="nofollow noreferrer">tryruby.org</a>. </p> <p>Just like you can use PHP to write web pages, you can do the same thing with Ruby.</p> <h2>The Framework</h2> <p><em>Ruby on Rails</em> is a set of software devices that help you to more easily write a website in Ruby. The primary things they try to facilitate ("make easy") are:</p> <ol> <li><strong>Storing related data</strong> (e.g. blog posts and the comments on them) to a database.</li> <li><strong>Accepting web requests</strong> and respond to them programmatically (e.g. check a user's password)</li> <li><strong>Composing HTML</strong> using your data, with layouts and templates to make it easier.</li> </ol> <p>"Rails," as it's called for short, is built with extreme prejudice towards certain application models, particularly MVC. What this means is that unlike PHP, where any <code>.php</code> source file is fair game for any bit of code, most code in a Rails application is written in a particular, conventional place. When people compare Rails to PHP, they often point this out.</p> <p>There's a lot I didn't cover, but these are Rails' most basic features. To see what it looks like, I'd suggest watching the infamous, <a href="http://rubyonrails.org/screencasts" rel="nofollow noreferrer">"Creating a Weblog..." screencast</a>.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload