Skip to main content
Apress
Book cover

Beginning Rails

From Novice to Professional

  • Book
  • © 2007

Overview

  • Unlike standard programming books, the interactive project based approach will keep the reader engaged, and ensures that s/he will become proficient in Ruby on Rails

  • While the book covers the basics for beginners, it also offers more advanced tools, including Ajax and a detailed discussion of ActiveRecord and and ActionPack

  • This book focuses on the beginning programmer. In fact, no previous programming experience is required or expected.

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook USD 24.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 34.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (11 chapters)

Keywords

About this book

Beginning Rails is the practical starting point for anyone wanting to learn how to build dynamic web applications using the Rails framework for Ruby. You'll learn how all of the components of Rails fit together and how you can leverage them to create sophisticated web applications with less code and more joy.

This book is particularly well suited to those with little or no experience with web application development, or who have some experience but are new to Rails. Beginning Rails assumes basic familiarity with web terms and technologies, but doesn't require you to be an expert.

Topics include:

  • A gentle introduction to the Ruby programming language
  • Installing Ruby and Rails on a Mac, Linux, or Windows system
  • The philosophy behind Rails and why it matters
  • The Model-View-Controller architecture
  • The basics of relational databases and SQL
  • Setting up a MySQL database and creating a schema with migrations
  • Experimenting with your live application in the Rails console
  • Creating rich relationships between your models
  • Using controllers and templates properly
  • Leveraging helpers to keep your templates clean and logic free
  • Adding Ajax and visual effects to enrich your user interfaces
  • JavaScript with Prototype and script.aculo.us
  • How to send and receive mail from your application
  • Using and creating your own plug-ins
  • Ensuring your code against Murphy's Law through writing tests
  • Using Capistrano to deploy your application

Rather than delving into the arcane details of Rails, the focus is on the aspects of the framework that will become your pick, shovel, and axe. Part history lesson, part introduction to object-oriented programming, and part dissertation on open source software, Beginning Rails doesn't just explain how to do something in Rails, it explains why.

Every programmer fondly remembers the book that helped them get started. The goal of Beginning Rails is to become that book for you, today.

Reviews

From the reviews:

"This book on Rails, a Web application development framework based on Ruby language, is both timely and accessible to beginners. … this is an excellent book for a novice in both Web applications and the Rails framework. At the end of the book, the readers will have developed a fairly sophisticated Web application while learning about Rails." (Suma Adabala, ACM Computing Reviews, October, 2008)

About the authors

A bio is not available for this author.

Bibliographic Information

Publish with us