Search Images Maps Play YouTube News Gmail Drive More »
My library | Help | Advanced Book Search | Web History | Sign in

Books

Ruby on Rails For Dummies

Front Cover
2 Reviews
John Wiley & Sons, May 9, 2011 - Computers - 330 pages
Quickly create Web sites with this poweful tool

Use this free and easy programming language for e-commerce sites and blogs

If you need to build Web and database applications quickly but you don't dream in computer code, take heart! Ruby on Rails was created for you, and this book will have you up and running in no time. The Ruby scripting language and the Rails framework let you create full-featured Web applications fast. It's even fun!

Discover how to

  • Install and run Ruby and Rails
  • Use the RadRails IDE
  • Create a blog with Ruby
  • Connect your Web site to a database
  • Build a shopping cart
  • Explore Ruby's syntax
  

What people are saying - Write a review

Review: Ruby on Rails For Dummies (For Dummies (Computer/Tech))

User Review  - Robert Beveridge - Goodreads

Barry Burd, Ruby on Rails for Dummies (Wiley, 2007) You gotta love an author whose domain name is burdbrain. That said, Ruby on Rails for Dummies has exactly the same strengths and weaknesses as the ... Read full review

Review: Ruby on Rails For Dummies (For Dummies (Computer/Tech))

User Review  - James - Goodreads

It was overall a good how-to book. I did not like the fact that macs were not treated well. But that was fine because he provides a website for the mac stuff. Read full review

Related books

Contents

Testing the Ruby installation
2-1
Troubleshooting the Ruby installation
2-2
Installing Rails
2-3
Installing Java
2-4
Creating a RadRails shortcut on your desktop
2-6
Testing RadRails
2-7
Troubleshooting the RadRails installation
2-8
Configuring RadRails
2-9
Why you shouldnt rename files
7-22
The Rails Way of Life
7-23
Dont Repeat Yourself DRY
7-25
The art of Web server redirection
7-27
The Controller Shakes Hands with the View
7-28
Using parameters
7-30
Getting parameters from a form
7-32
Dividing the Work of the View
7-34

Installing MySQL
2-11
Installing MySQL Administrator
2-15
Troubleshooting your database connection
2-17
Chapter 3
2-20
Creating a New Ruby on Rails Project
2-23
Running Your New Rails Project Already
2-26
Creating a Model
2-27
Creating a Database Table
2-29
Creating a Scaffold
2-32
Using the New Web Interface
2-34
Chapter 4
4-4
Whats inside a view or an editor?
4-6
Understanding the big picture
4-7
Some Common RadRails Tasks
4-8
Showing a view
4-10
Using a wizard to create something
4-12
Using the Generators view to create something
4-15
Editing an existing file
4-17
Running a Ruby program
4-18
Visiting a URL
4-19
Customizing RadRails
4-20
Troubleshooting the Run of a Ruby Program
4-21
Does your Ruby code have a syntax error?
4-22
Did you tell RadRails where to find a Ruby interpreter?
4-23
Part II
4-24
Chapter 5
4-25
A glimpse of a Ruby method
4-26
Ruby strings
4-27
Working with Values
4-28
Displaying values
4-29
Going with the Flow
4-30
Getting input from the keyboard
4-31
Using keywords
4-32
Going with the glow or glowing with the flow
4-33
Bunches of Things
4-35
Hashes
4-37
Using Methods
4-40
Methods methods everywhere
4-41
Please pass the hash
4-44
Whats the symbolism?
4-45
Chapter 6
4-48
Creating objects
4-50
Classes objects and database tables
4-51
Rubys handy iterators
4-52
Finding iterators where you least expect them
4-56
Enhancing Classes
4-57
Defining subclasses
4-58
Creating a Module
4-60
Chapter 7
4-63
The Web developers point of view
4-64
The Hypertext Transfer Protocol
4-65
Web pages
4-66
Your HTML Starter Kit
4-68
Start tags
7-1
If it feels good do it
7-2
Entities
7-3
HTML Elements
7-4
Using tables to align things
7-5
Creating an HTML form
7-8
Using form elements
7-10
Part III
7-17
Chapter 8
7-19
Creating a controller and a view
7-20
Creating and using a partial a partial what?
7-35
A views little helper
7-36
Chapter 9
7-37
Programming with a Rails Model
7-41
Using Active Record
7-42
Requiring a gem
7-44
Displaying data
7-45
Modifying a Database
9-1
More Rails Programming Tricks
9-4
Deleting rows
9-5
Adding rows
9-6
Finding rows
9-7
Using SQL
9-9
Chapter 10
9-12
Understanding the code
9-15
Passing photos from place to place
9-18
Importing Files
9-24
Importing files the geeky way
9-25
Chapter 11
9-29
Follow the books longest step list
9-30
Know the flow
11-3
Understanding the Enhanced Code
11-4
Moving on to more code
11-5
Creating a Photo instance
11-7
Sending image bits to the visitors browser
11-8
Chapter 12
11-9
Validating the Visitors Input
12-1
Adding Comments
12-4
Adding Keywords
12-9
How the Rails code does what it does
12-16
Chapter 13
12-20
Refresh part of a page not the entire page
12-21
Sending EMail
12-25
Creating and Consuming Web Services
12-30
How to avoid screen scraping
12-31
Part IV
12-36
Chapter 14
12-38
Starting points for Ruby resources
12-39
Write Ruby code on a desert island
12-40
Find a Web host
12-41
Read the latest news
12-42
Chapter 15
12-43
Duck Typing
12-44
Blocks
12-45
Everything Is an Object
12-46
Mixins
12-47
BuiltIn Reflection
12-48
Chapter 16
12-49
Convention over Configuration
12-50
ObjectRelational Mapping ORM
12-51
Using Migrations
12-52
Chapter 17
12-53
Overriding the Database Name
12-54
Overriding a Database Table Name
12-55
Overriding a Controller Name
12-56
Using Singular Nouns
12-58
Creating Irregular Plurals
12-59
Overriding a Default Layout
12-60
Creating Additional Web Pages
12-62
Changing the Server Environment
12-63
Further Reading
12-66
Copyright

Other editions - View all

Common terms and phrases

About the author (2011)

Dr. Barry Burd received an M.S. degree in Computer Science at Rutgers University and a Ph.D. in Mathematics at the University of Illinois. As a teaching assistant in Champaign-Urbana, Illinois, he was elected to the universitywide “List of Teachers Ranked as Excellent by Their Students” five times.
Since 1980, Dr. Burd has been a professor in the Department of Mathematics and Computer Science at Drew University in Madison, New Jersey. When he’s not lecturing at Drew University, Dr. Burd leads training courses for professional programmers in business and industry. He has lectured at conferences in the United States, Europe, Australia, and Asia. He is the author of several articles and books, including Java For Dummies, 4th Edition, and JSP: JavaServer Pages, both from Wiley Publishing, Inc.

Bibliographic information