Ruby/RoR Application

From Meshplex

Jump to: navigation, search
Image:Ruby_on_rails_tutorials.jpg
Ruby for complete beginners
Ruby Introduction
What can I use RoR for?
Reasons for choosing RoR over other popular programming languages such as php or asp.net .What makes Ruby so much more special
Where can I find RoR? In what “forms” does it come?
How to install RoR.Solutions for both the novice and professional programmers on Windows,Mac OS X and Linux.Prerequisites.
Ruby programming tutorials for beginners:
Ruby Basics
Ruby Variables, Datatypes, Operators
Ruby Symbols
Ruby Statements
Ruby Converting data to another type: type conversion or typecasting
Ruby Arrays, Hashes, Ranges
Ruby Functions and built in functions
Ruby Control structures
Ruby Regular expressions and blocks
Ruby Loops
Ruby Recursion
Ruby Data Structures
Ruby Methods, Classes, Modules, Namespaces
Ruby Exceptions
Ruby Object Oriented Programming
Ruby Multithreading
Ruby File Handling.Input and Output
Ruby Basic GUI
Ruby and databases.Ruby on Rails and MySQL
Ruby Basic CGI.Using fastCGI
Ruby Basic Networking and web programming
Ruby Basic Graphics
Ajax and Rails.Web 2.0 and what it means
Ruby Testing, Debugging, Automation of tasks
Ruby Apache,Capistrano, Mongrel,lighttpd – reviews and tips
Finding a Ruby on Rails ready web hosting company
BONUS: mini tutorial for a simple RoR application

[edit] Structure of a simple Rails application

Since we haven't discussed Rails in particular much so far, let's take a quick look at a possible structure of a Rails application.

Code from here.This is supposed to build the basics of a blog application in Ruby.

cd
rails blog
ln -s ~/blog/public/ ~/htdocs/blog
cd blog/
pico config/database.yml *edit the file to contain login info & similar 
./script/generate migration InitialSchema
pico db/migrate/001_initial_schema.rb   *edit file
rake migrate
ruby script/generate scaffold post

Does it look simple? Well, it sort of is, it won't build you a fully functional blog but the basics are there.Check http://www.hostmysite.com/support/rubyonrails/buildapp/ for more.If you haven't seen the blog in 15 minutes video yet, it's time to do it now if Ruby and Rails still haven't convinced you to give them a try.

If you're into reading geeky good books, get yourself a copy of this for example, it's a really good way of continuing to learn how to develop on Ruby.

[edit] Other Application Examples

The Linux Users Group, Villafranca, Verona, Italy, has prepared a series of short(ish) tutorials on Ruby, and Ruby on Rails, culminating in a small but complete photo album application called WebAlbum. See:

Previous
Personal tools