Exercises, examples and other material relating to training module R202. This topic is presented on public course
Ruby on Rails
Background
Ruby is a great, pragmatic langauge and Rails lets you
use it by providing the framework through which you can interface
databases to you ruser's browser, using the framework of Rails
and the glue of Ruby. Ruby can be embedded within pages at a
View level, built in, or used at the Controller level via
ApplicationController classes. This module opens the door
on a very powerful and effective system.
Related technical and longer articles
Ror - Ruby on Rails
| Articles and tips on this subject | updated |
| 1745 | Moodle, Drupal, Django (and Rails) In the 1970s, we had C and in that decade and the following one, we put together our systems in that language and its derivatives.
In the 1990s, we had Perl and in that decade and the following one, we put together our systems in that language are related ones.
In the 2010s, we'll have a wide range ... | 2010-01-31 |
| 1302 | Ruby, Ruby, Ruby. Rails, Rails, Rails. We passed through New York on our way up from Washington DC to Albany, NY State; a 3-hour layover gave us a chance for a quick meal (there's no better city for a choice of foods), and a chance to look through a book store (there's no better country to look through the shelves for the next trend).
Our ... | 2010-01-31 |
| 1050 | The HTML++ Metalanguage What's the difference between a language and a metalanguage?
A language is a single specification - a way of describing a series of actions or how some particular data is handled. Whereas a metalanguage is a way of specifying a series of languages to a particular pattern.
An example? HTML is a language. ... | 2010-01-31 |
| 2605 | Ruby on Rails - a sample application to teach you how The Ruby on Rails Framework is a great way to put bolt web applications together quickly - but it can be overwhelming when you come to do it for the first time. There's a steep learning curve with all the various elements to put together to make up the whole.
We have a first (tiny!) demonstration in ... | 2010-01-31 (longest) |
| 2607 | Answers on Ruby on Rails What is Ruby on Rails?
Ruby on Rails is a clever way of programming your web server in Ruby - it allows you to have data in databases on your website and provide very easy access tothat data through a browser, allowing your customers to see the data and you staff to see it, alter it, and add more data ... | 2010-01-31 (longer) |
| 2609 | Scope of variables - important to Ruby on Rails Yesterday's Ruby on Rails training day brought home just how important it is to ensure that your Ruby variables are correctly "scoped" - that you tell Ruby if they're to be local to the method in which they are defined, to be available to all methods that run on the same objects, to all objects of a ... | 2010-01-31 |
| 1375 | Python v Ruby Ruby v Python ... I've been asked for a comparison!
• Both are object oriented scripting languages - or rather claim to be scripting languages, but are really compile-and-run via their own virtual machines, in just the same way as Perl and Java are.
• Both are modern, Open Source languages ... | 2009-08-31 |
Examples from our training material
Background information
Some modules are
available for download as a sample of our material or under an
Open Training Notes License for free download from
http://www.training-notes.co.uk.
Topics covered in this module
What is Ruby on Rails?
MVC (Model, view, controller) design principles.
Rails structures - WEBrick servers, URLs and embedded code.
Directory structure.
Database connections.
Creating the application, the database and tables.
First application through Scaffolds.
Validation and customising the display.
Adding a new controller.
Adding viewers and layouts.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our
Listing and schedule page.
Well House Consultants specialise in training courses in
Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if
you live in a different
country or continent to us.
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.