Features
- Cover Type: Paperback with 621 pages
- Published by: Apress October 29, 2007
- Written in: English
- ISBN 10 Number: 1590597818
- ISBN 13 Number: 978-1590597811
-
Book Dimensions:
9.2 x 7 x 1.4 inches
- Weighs: 2.2 pounds
Product Description
The best way to learn Rails is by creating a variety of applications with it.
You already know the basics of Rails, and you’re familiar with the exciting features and benefits associated with using this Ruby–based framework. You’re now at the point where you need to gain firsthand experience with Rails by thoroughly exploring the features and building several different types of web applications.
Eldon Alameda takes a focused approach to guiding you through the creation of multiple real-world examples that are designed to get your hands dirty with the core features of Rails, while providing you with the valuable experience of creating real Rails applications.
Projects you’ll work on include creating a simple blog with an external API, constructing a workout tracker with a RESTful interface and graphs, and converting an existing PHP site to Rails while adding an advanced JavaScript interface. As an added bonus, the final project makes use of the edge version of Rails as you build an application that utilizes Active Resource, which provides an opportunity to explore the various changes and features that will be included with Rails 2.0. Each project is designed to provide you with the necessary information and tools to give you a running start at solving that problem yourself, and each project includes a number of additional ideas and exercises for ways that you can extend each application to fit your own needs.
What you’ll learn
- Implementing caching options
- Developing applications the RESTful way
- Adding graphs to your Rails application
- Connecting to a legacy database
- Building generators to automate installation of common files
- Building an XML-RPC API into your Rails applications
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 Rails: From Novice to Professional
- Practical Rails Social Networking Sites
- Beginning Ruby on Rails E-Commerce: From Novice to Professional
About The Author
Eldon Alameda is a web developer who currently resides in the harsh climates of Kansas. He develops Ruby on Rails applications for a small technology startup in downtown Kansas City; prior to this, he did development for a variety of companies including local advertising firms, Sprint PCS, and IBM. During the nineties, he also acquired a nice stack of worthless stock options from working for dot-com companies. When he�s not sitting in front of a computer or irritating his wife by describing a new technology as �sexy,� Eldon spends most of his time at home playing games with his young daughter.
Reader ReviewsPractical 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.