Beginning Rails 3

Beginning Rails 3

2.5 4
by Rida Al Barazi, Cloves Carneiro Jr, Cloves Carneiro
     
 

View All Available Formats & Editions

Beginning Rails 3 is the practical starting point for anyone wanting to learn how to build dynamic web applications using theRails 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

Overview

Beginning Rails 3 is the practical starting point for anyone wanting to learn how to build dynamic web applications using theRails 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 3 assumes basic familiarity with web terms and technologies, but doesn't require you to be an expert. 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, this title doesn't just explain how to do something in Rails, it explains why.

  • Learn to create Rails web applications from scratch
  • Includes a gentle introduction to the Ruby programming language
  • Completely updated to include the features of Rails 3


What you’ll learn

Rails 3 includes the combined power of Rails and Merb. Beginning Rails 3 will get you started in learning this technology and creating dynamic web applications in next to no time.

  • Install Rails on a Mac, Windows, or Linux system
  • Understand the Model-View-Controller architecture
  • Learn the value of databases and how to set up MySQL in Rails
  • Get instant feedback on your work by testing in the Rails Console
  • Add Ajax and visual effects to create rich user interfaces
  • Use and create your own Rails plug-ins


Who this book is for

Web developers who want to harness the power of Rails 3 to quickly build dynamic rich Internet applications. Anyone who hasn't used Rails before will be able to learn the basics from this book.

Table of Contents

  1. Introducing the Rails Framework
  2. Getting Started
  3. Getting Something Running
  4. Working with a Database: Active Record
  5. Advanced Active Record: Enhancing Your Models
  6. Action Pack: Working with the View and the Controller
  7. Advanced Action Pack
  8. Improving Interaction with Ajax
  9. Sending and Receiving E-Mail
  10. Testing Your Application
  11. Internationalization
  12. Extending Rails with Plug-ins
  13. Deploying Your Rails Applications
  14. Ruby, a Programmer’s Best Friend
  15. Databases 101
  16. The Rails Community
  17. Git


Product Details

ISBN-13:
9781430224334
Publisher:
Apress
Publication date:
08/31/2010
Edition description:
1st ed. 2010
Pages:
400
Sales rank:
797,932
Product dimensions:
7.76(w) x 11.28(h) x 0.85(d)

Meet the Author

Rida Al Barazi is a passionate web developer experienced in building smart web applications for startups. He has been designing and building for the web since 2002. He started working with Rails in 2005 and spoke at different web and Rails conferences in Europe and the Middle East.

Rida was raised in Kuwait, grew up in Syria, started his career in Dubai and currently lives in Toronto. In his free time he enjoys music, concerts, movies, traveling and meeting new people. Rida's contact information can be found on his website, www.rida.me.

Cloves Carneiro Jr. is a software engineer and web application developer with over 12 years of experience creating web applications for companies in many fields, including startups, and telecommunication and financial companies. He has been using Ruby on Rails since its early days, being a full-time Rails developer for 4 years. He currently works for Unspace Interactive in Toronto. Born in Brazil and having lived in many parts of the world, he now lives in Toronto with his wife, Jane. He also maintains a personal web site at www.ccjr.name.

A bio is not available for this author.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

Beginning Rails 3 2.5 out of 5 based on 0 ratings. 4 reviews.
J_E_Head More than 1 year ago
Every Rails books needs to set the stage, to "explain the rules" so to speak, since using Rails is quite different from other "traditional" approaches of web development (LAMP, etc.). Beginning Rails 3 sets the stage nicely, and continues to deliver throughout the entire text - at least, until it comes to getting your Rails app on the web. The first three chapters follow the typical pattern of a Rails book, explaining the origins of Rails, why it's good, how to install it, and then setting up a very simple web app so the reader can see how easy it is to get Rails up and running. One thing I liked in particular was in Chapter 1, where the authors stressed the importance of being open to the "Rails way" of doing things. This was a nice touch, as there's a good chance the "Rails way" is different from what the reader is expecting, especially if they have some experience developing with PHP. From there the authors continue to get more in-depth on the various aspects of Rails, focusing on Active Record (the database aspect of a web app) and Active Pack (the "bridge" between the user interface and the database) for the first half of the book. Readers who prefer the programming aspect of development will most likely enjoy these chapters. Web designers more interested in the user interface aspects of a web app will enjoy Chapter 8, which goes over Rails' Ajax support. I would have preferred this chapter to be a bit more in-depth, but I like the fact that the authors covered how to switch from the built-in Prototype library to jQuery, which is more common and better suited (in my opinion) for Rails development. Chapter 9, "Sending and Receiving E-Mail" was a welcome surprise. In previous Rails books I've read (Simply Rails 2.0 and Foundation Rails 2) I don't remember this being mentioned - but it's such a common requirement for web apps, that almost every Rails developer needs to learn how to do this as some point. Rails has a very systematic way of testing, and Ch. 10 was a good (though hardly exciting) overview of how to test the various aspects of the web app you've been building (if you've been following along and typing in code as you've been reading - you can also download the code rather than type it all out, if you prefer, and links are provided at the beginning of each chapter). I was also a bit surprised that Internationalization was covered in this book, and this was a really nice touch. It's a very rare Rails developer that doesn't, at some point, want to add some sort of plugin to extend the functionality of the web app they're building. Chapter 12 goes over how to do this, even covering how to create and add your own plugin to Rails. Probably my biggest expectation for this book was Chapter 13, which goes over deploying a Rails app to the web. Unfortunately, this chapter is lacking, mentioning Capistrano and Phusion Passenger in passing, but nothing about server configuration. I personally wanted to know how to do this, even if I decide not to do so with a real web app. This is a serious omission, in my opinion, and mars an otherwise great book. Beginning Rails 3 is a great resource for those who are new the Rails, covering most of the key aspects of Rails 3 web development. Unfortunately, it falls short when it comes to actually explaining how to get your Rails app out into the world.
cbernard More than 1 year ago
Beginning Rails 3 is a book that does a great job introducing an aspiring web developer to the world of Ruby on Rails, and the architecture conventions that Rails utilizes. The book is a good size, goes over the 'hows' and 'whys' of the basics, while creating a useful example project. I work as a Web Designer that is starting to branch into development, and I had some experience with earlier versions of Rails in a couple work environments, but never really caught on to the concept. This book helped clear quite a few things up. Previous "beginner" books I had read didn't explain fully enough, didn't flow well, or were written as what seemed like edited versions of more advanced books. The authors of Beginning Rails 3 do an excellent job of explaining each step. There is a good balance of code entry and explanation, and does not stray from the current topics. The instruction comes across at a decent personal level-as if the authors are there sitting at a table with you over a cup of coffee. Each chapter was also easy to retain in memory. There are also a couple of nice appendices, which give primers for Databases and the Ruby language itself. The project is a blog, which is quite relevant, and can be utilized once completed. Many Rails books in the past have dealt with projects or examples that are hard to build on once learned, such as a store (without anything to sell), or small examples that can't be built upon. I found the project itself to be a key benefit of this book, and plan on deploying for my own blog once I make a few modifications. I really enjoyed this book. Lately, it seems like beginner's books are a bit too dumbed down, or are written in an almost juvenile matter. This book was different, and had a very professional approach with true real-world exercises. I recommend this book for anyone who has some knowledge of the field, but needs a firm foundation for getting to the next step.
Anonymous More than 1 year ago
Anonymous More than 1 year ago