![]() | |
| ISBN-10 | 1590597818 |
| ISBN-13 | 9781590597811 |
| Authors | Eldon Alameda |
| Publisher | Apress |
| Publication Date | 2007-10-29 |
| Pages | 621 |
| Dewey Decimal | 005.117 |
| Rating | 3.50 |
| Categories |
|
If you are a web developer who has already realized the power of Ruby on Rails but wants to take your Rails knowledge further, this book will be invaluable to you. Practical Rails Projects assumes you know the basics of using the framework, concentrating instead on taking you through the creation of a multitude of practical real-world examples, including a blog, a personal organizer, a calendar, a PHP site retrofitted to Rails, and much more. Each example application follows best practices, gives a nod to style as well as functionality, and takes advantage of many Rails plug-ins, Rails engines, and Ruby Gems. There is also discussion of cutting-edge Rails functionality, such as the new REST implementation and Active Resource.
The book starts off by taking you through setup of an ideal development environment as a helpful recap, before diving into the projects straight afterwards.
- Takes you through the creation of several real-world Rails web applications.
- Provides a guide to setting up a perfect development environment with Rails and SQLite or MySQL, supporting Windows, Mac OS X, and Linux operating systems.
- Doesn't waste time on the basics--assumes you know the fundamentals of Ruby and Rails already.
- Covers the newest Rails functionality, such as new plug-ins and engines, as well as the Rails REST implementation and Active Resource.
What you'll learn
- How to set up Rails for Windows, Mac OS X, and Linux
- How to use Rails with both MySQL and SQLite databases
- How to incorporate the latest plug-ins, engines, and Ruby Gems into your applications, saving you hours of development time
- How to make consistent styling of your applications a walk in the park using the Yahoo YUI
- How to retrofit a PHP site to Rails
- How to add sparkle to your applications using Ajax techniques
- How to use cutting-edge Rails functionality such as REST and Active Resource
Who is this book for?
This book is for anyone who has gone beyond the basics of Rails and wants to learn higher-level Rails techniques. It is also useful for those experienced in other disciplines (such as Java and PHP) who want to learn Rails.
About the Apress Practical Series
The Practical series from Apress is your best choice for getting the job done, period. From professional to expert, this series lets you apply project-motivated templates (or frameworks) step by step in a very direct, practical, and efficient manner toward current real-world projects that may be sitting on your desk. So whatever your career goal, Apress can be your trusted guide to take you where you want to go on your IT career empowerment path.
Related Titles from Apress
- Beginning Ruby on Rails: From Novice to Professional
- Practical Ruby on Rails Social Networking Sites
- Beginning Ruby on Rails E-Commerce: From Novice to Professional
Author had good intentions but I think he fell short...
I can see what the author was trying to go for but it just didn't do it for me. This is supposed to be a book for those developers who've read all the other Rails books but need a little more guidance in real world applications. The organization of the book is less than stellar. Most of the content is 'good' but the writing style and organization really make it hard to want to keep reading.The chapter on customizing a Typo blog was probably the most interesting. It's the most in-depth and thoughtful.
In all, not a terrible book but also not what I was expecting.
Fairly comprehensive, but lacking in places
Practical Rails Projects is a weighty tome, coming in just shy of 600 pages, which led to this review taking a little longer than it otherwise might: not just because the book took a while to get through, but also because it wasn't quite so practical to lug it on the bus as some of the others I've recently covered. A result of that heft is a fairly comprehensive volume, but one that doesn't feel quite so consistent as it perhaps should.Eldon Alameda has written the book for people who have some previous Rails experience or may have cracked open one of the introductory books on offer, but who want to learn the framework by observing a number of working projects. In some ways that leads to overlap with a book like Practical Rails Social Networking Sites (Expert's Voice), but whereas that built up one example this book covers seven ranging from a system to track progress through an exercise programme, to an appointment scheduler that interfaces with 37signals' Highrise using ActiveResource.
The first few projects proceed at an even pace and are likely to be helpful to a newcomer to Rails, there's a fair bit of overlap with examples available in other volumes, but they work well together. While the author discusses the decision to skip over the writing of tests and/or specs, it did seem that in a volume of this size that topic should have been given a little space, even if that involved sacrificing one of the sample projects.
Unfortunately the book loses pace a little later on, particularly with the introduction of the Ext JS library which is used to build user interfaces but ends up occupying far more space than the actual Rails code in the later chapters. Obviously Javascript frameworks are an important part of building many modern web applications and Ext JS is a worthy entrant, but the way it was used seemed quite inappropriate. The admin interfaces built with it would not gracefully degrade for users without javascript; there was no discussion of progressive enhancement or even of why the decision had been taken to build such an inaccessible system. When careful use of respond_to blocks can make progressive enhancement so straightforward in Rails, this seems a missed opportunity. At the very least the decision making process should have been documented, and ideally a better solution would have been offered.
I was similarly surprised to find a number of occasions where design decisions were made that conflicted with the RESTful approach that is now Rails convention. Early on that might have been one thing, but coming after a chapter extolling the virtues of resource-centric design that was quite a surprise and seemed an indication that the book had begun to sprawl a bit. In many ways it's a shame that this book wasn't broken up into a couple of volumes. Packaging the first few projects together as an introduction, then offering the last few as smaller supplements more tightly focussed on specific areas such as Ext JS usage, ActiveResource, etc. That way the material could have been tightened up and some of the repetition would have made more sense, and perhaps there would have been space to cover a few obvious missing pieces such as atom/rss feeds.
With a number of volumes now available that use specific projects to illustrate Rails techniques, this book isn't so distinctive as it might have been a few months ago, and many developers will probably want to go for a more focussed, more succinct option. If your learning style benefits from taking things slowly and you don't mind some repetition then this may be a good option, but don't forget to read up on accessible web development while exploring later chapters.
Disclaimer: I was sent a copy of this book for review by the publisher.
Interesting Book including first Rails 2.0 intro for the Beginner/Intermediate Rails Programmer
I initially had some complaints with this book as the source code was not up on the Apress Website. This has been rectified in less than 24 hours and I want to thank the Author, Eldon Alemeda for making it happen.I have finished the my first quick read, and now with the required source code online I have made it through the first 5 chapters of excercises, and I am impressed with the breadth that is covered in 621 pages.
This book would be a great book for someone who is an advanced beginner (admittedly an oximoron) or intermediate Rails programmer. It takes the reader through 7 short projects with only 23 pages of space on initial handholding on how to get your development system up and running.
While the author skips the usual Test/Behavior Driven Development paradigm, it is a logical course in this case in order to cover so many topics.
This book covers many topics in with lots of breadth including Rest Based Authentication, Advanced Caching, converting PHP game sites that I found quite useful.
Lastly and most importantly for me was the last 4 chapters of the book that focused on a project using Rails 2.0 + some nifty integration with Yahoo Maps.
Especially with the active participation of the author in supporting this book and its readers, I strongly recommend it as an addition to any rails advanced beginner/intermediate programmer.
