Beginning Rails 3 (Expert's Voice in Web Development) and over one million other books are available for Amazon Kindle. Learn more



or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $2.00 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Start reading Beginning Rails 3 (Expert's Voice in Web Development) on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Beginning Rails 3 (Expert's Voice in Web Development) [Paperback]

Cloves Carneiro Jr. , Rida Al Barazi
4.0 out of 5 stars  See all reviews (22 customer reviews)

Buy New
$26.40 & FREE Shipping. Details
Rent
$18.20
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
In Stock.
Rented by RentU and Fulfilled by Amazon.
Want it tomorrow, May 22? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Kindle Edition $17.27  
Paperback $24.95  
Paperback, September 1, 2010 $26.40  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

September 1, 2010 1430224339 978-1430224334 1

Beginning Rails 3 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 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

Frequently Bought Together

Beginning Rails 3 (Expert's Voice in Web Development) + The Ruby Programming Language
Price for both: $51.40

Buy the selected items together
  • The Ruby Programming Language $25.00


Editorial Reviews

About 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.

Product Details

  • Paperback: 400 pages
  • Publisher: Apress; 1 edition (September 1, 2010)
  • Language: English
  • ISBN-10: 1430224339
  • ISBN-13: 978-1430224334
  • Product Dimensions: 7.5 x 0.8 x 9.2 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (22 customer reviews)
  • Amazon Best Sellers Rank: #489,842 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

This book helped clear quite a few things up. C. Nielsen  |  3 reviewers made a similar statement
Overall it's very pragmatic and easy to follow. Galli  |  4 reviewers made a similar statement
Most Helpful Customer Reviews
30 of 32 people found the following review helpful
Format:Paperback
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 enjoy these chapters, though they do get a bit dry to read in some places, with some sections (throughout the book actually) being virtually nothing but code for several pages.

One key thing to note at this point is that beginning with version 3, Rails is much more modular than before. This makes it much easier to "take out" things you don't need, or switch certain portions for something else (like using HAML for building your HTML templates instead of eRB, or DataMapper in place of ActiveRecord). It would have been great to see examples of how to do this, rather than just mentioning it's possible, but then that might push this beyond a "beginner's" book.

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.

It seems that many Rails newbies (like myself) are also somewhat new to programming in general, and we often don't quite grasp the importance of testing a web app to make sure it works properly and can handle errors and unforeseen difficulties with grace. Chapter 10 stresses the importance of testing a Rails app, and points out that testing is something you're probably already doing to some degree (though perhaps just by hand on an "ad-hoc" basis).

Rails has a very systematic way of testing, and this 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 a bit surprised that Internationalization was covered in this book, as it's something most people (in English-speaking countries at any rate) don't usually think about until after their app has been deployed. Fortunately, an entire chapter is devoted to Internationalization, 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. It's just not simply uploading the finished files to a server (I wish!), and I have yet to come across a book that really nails this well, so that it's easy to understand for "traditional" web designers. Unfortunately, this chapter is lacking. It does cover Capistrano and Phusion Passenger, which really help ease the deployment of a Rails app to the web, but instead of also explaining a bit about server configuration (for those who want or have to do it themselves) there is instead a section preaching the benefits of outsourcing this to your hosting company, recommending you stay away from cheap Rails hosts (which I agree with, to a point) and instead use an experienced Rails-specific host.

I understand the reasons behind the authors' choice in this matter, as it's simply too much to expect new Rails developers to become experts in server configuration, but for companies or independent developers on a shoestring budget, high quality (read "expensive" here) Rails hosts may not be an option. I personally wanted to know how to do this, even if I decide not to do so with a real web app. As such, having more in-depth information about Rails deployment is, in my mind, necessary in a book like this (even if the reader decides not to do it themselves). 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.
Comment | 
Was this review helpful to you?
9 of 10 people found the following review helpful
5.0 out of 5 stars A good balance of learning and experience. October 5, 2010
Format:Paperback
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.
Comment | 
Was this review helpful to you?
5 of 5 people found the following review helpful
5.0 out of 5 stars Great start for any person getting into Rails October 27, 2010
Format:Paperback
Although my skills are a bit more developed over a novice, there are still some rails topics I get caught up on and have trouble pushing my brain past to get me into the intermediate level. This book cleared up most of my weak areas in my code and even allowed me to add a few golden nuggets to my code that I never would have had otherwise. Ajax for example is a topic in this book that it touches on briefly but is a great start to branching out further into this direction in making your code feel like a legit asynchronous application using jQuery. Also the new action mailer is described in this book which is something I haven't had time to really go over yet and it seems easy enough from the examples. Of course the book goes through just about every aspect of rails that you can get without feeling to overwhelmed and I think most beginners will have a great time learning with this book as its clear and concise.

What I liked most about the book is that it is very descriptive at describing each of the different aspect of rails, which allows you to wrap your head around the assumptions so you are not left wondering why things are the way they are or how they work.

The application you build is a blog application and although its a bit redundant in today's web-based applications, its a concept people understand fairly well and so it makes it easier to digest when going through the examples.

I highly recommend this book to any beginner or intermediate user who is searching for some knowledge in the new Rails 3 world and needs to get up to speed with this fast paced framework. I hope the author comes out with a sequel more geared for intermediate+ users so we can learn to do more customizations, ajaxiness, and get into the meatier stuff that you see in ruby on rails applications today.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
4.0 out of 5 stars Very Good Book - Thorough and Code Mostly Works
This is a very good book on Rails 3.

It proceeds in a logical manner, teaching the fundamentals of Rails. Read more
Published 1 month ago by Gregory Lafrance
3.0 out of 5 stars Covers a lot, but easily confuses beginners. A little dated now, too.
As far as programming books go, I found this read to be so-so. While this book was very useful in that it was my first ever exposure to Ruby on Rails and gave me a good bird's eye... Read more
Published 6 months ago by Winston Kotzan
1.0 out of 5 stars Written by geeks, for geeks
The biggest problem with this book is getting Ruby on Rails (RoR) to install properly. I tried with Win7 first and XAMPP and things went well until p. Read more
Published 8 months ago by Stinger51
5.0 out of 5 stars Great product, amazing seller
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. Read more
Published 13 months ago by roman
3.0 out of 5 stars Kindle Version is VERY hard to read.
A good bit of the code in the kindle version is very difficult to read. It shows up in very light gray and is very small (and does not scale).
Published 17 months ago by Stephen B. Deese
4.0 out of 5 stars I Like It
The Ruby on Rails, is one of the virtapay-Earlybird Software Recomended ,So Users Virtapay must be Interesting with this. Read more
Published 19 months ago by Cici Wirachmat
3.0 out of 5 stars It's Ok, But Lacking
The book does a decent job outlining what Ruby is and what Rails is. However, the app in this book can really be written in about an hour or less with much simpler methodology. Read more
Published 23 months ago by pmgraham
5.0 out of 5 stars Perfect For Novice Rails Developers
I have been programming Rails on and off since 2006 so I am probably not the target audience for this book. Read more
Published on May 21, 2011 by Lars Tackmann
5.0 out of 5 stars Great book
I'm not so long ago began to study the Rails. But faced with the fact don't have good documentation on the rails 3 (on the Edge) on my native language (Russian). Read more
Published on March 7, 2011 by Roman V.
2.0 out of 5 stars I've just begun this book and....
...frankly I didn't want to so quickly take issue with its design, but I can't help but point out a major logical inconsistency. Read more
Published on February 23, 2011 by Storm Lee Holloway
Search Customer Reviews
Only search this product's reviews


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



So You'd Like to...


Create a guide


Look for Similar Items by Category