Advanced Rails

Overview

Ready to go to the next level with Rails? From examining the parts of Ruby that make this framework possible to deploying large Rails applications, Advanced Rails offers you an in-depth look at techniques for dealing with databases, security, performance, web services and much more.

Chapters in this book help you understand not only the tricks and techniques used within the Rails framework itself, but also how to make use of ideas borrowed from other programming paradigms. ...

See more details below
Paperback
$24.56
BN.com price
(Save 29%)$34.99 List Price
Other sellers (Paperback)
  • All (25) from $1.99   
  • New (11) from $19.43   
  • Used (14) from $1.99   
Advanced Rails

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$15.49
BN.com price
(Save 44%)$27.99 List Price

Overview

Ready to go to the next level with Rails? From examining the parts of Ruby that make this framework possible to deploying large Rails applications, Advanced Rails offers you an in-depth look at techniques for dealing with databases, security, performance, web services and much more.

Chapters in this book help you understand not only the tricks and techniques used within the Rails framework itself, but also how to make use of ideas borrowed from other programming paradigms. Advanced Rails pays particular attention to building applications that scale — whether "scale" means handling more users, or working with a bigger and more complex database. You'll find plenty of examples and code samples that explain:

  • Aspects of Ruby that are often confusing or misunderstood
  • Metaprogramming
  • How to develop Rails plug-ins
  • Different database management systems
  • Advanced database features, including triggers, rules, and stored procedures
  • How to connect to multiple databases
  • When to use the Active Support library for generic, reusable functions
  • Security principles for web application design, and security issues endemic to the Web
  • When and when not to optimize performance
  • Why version control and issue tracking systems are essential to any large or long-lived Rails project

Advanced Rails also gives you a look at REST for developing web services, ways to incorporate and extend Rails, how to use internationalization, and many other topics. If you're just starting out with rails, or merely experimenting with the framework, this book is not for you. But if you want to improve your skills with Rails through advanced techniques, this book is essential.
Read More Show Less

Product Details

  • ISBN-13: 9780596510329
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 12/21/2007
  • Pages: 368
  • Product dimensions: 7.06 (w) x 9.16 (h) x 0.81 (d)

Meet the Author

Brad Ediger is the CTO of Tasman Labs, a real-estate technology company. Together with his wife Kristen, a web designer, Brad owns
Madriska Media Group, a firm specializing in custom application development. When not programming, Brad enjoys playing various musical instruments and watching obscure films.

Read More Show Less

Table of Contents

Preface;
Prerequisites;
Conventions Used in This Book;
Using Code Examples;
How to Contact Us;
Safari® Books Online;
Acknowledgments;
Chapter 1: Foundational Techniques;
1.1 What Is Metaprogramming?;
1.2 Ruby Foundations;
1.3 Metaprogramming Techniques;
1.4 Functional Programming;
1.5 Examples;
1.6 Further Reading;
Chapter 2: ActiveSupport and RailTies;
2.1 Ruby You May Have Missed;
2.2 How to Read Code;
2.3 ActiveSupport;
2.4 Core Extensions;
2.5 RailTies;
2.6 Further Reading;
Chapter 3: Rails Plugins;
3.1 About Plugins;
3.2 Writing Plugins;
3.3 Plugin Examples;
3.4 Testing Plugins;
3.5 Further Reading;
Chapter 4: Database;
4.1 Database Management Systems;
4.2 Large/Binary Objects;
4.3 Advanced Database Features;
4.4 Connecting to Multiple Databases;
4.5 Caching;
4.6 Load Balancing and High Availability;
4.7 LDAP;
4.8 Further Reading;
Chapter 5: Security;
5.1 Application Issues;
5.2 Web Issues;
5.3 SQL Injection;
5.4 Ruby's Environment;
5.5 Further Reading;
Chapter 6: Performance;
6.1 Measurement Tools;
6.2 Rails Optimization Example;
6.3 ActiveRecord Performance;
6.4 Architectural Scalability;
6.5 Other Systems;
6.6 Further Reading;
Chapter 7: REST, Resources, and Web Services;
7.1 What Is REST?;
7.2 Benefits of a RESTful Architecture;
7.3 RESTful Rails;
7.4 Case Study: Amazon S3;
7.5 Further Reading;
Chapter 8: i18n and L10n;
8.1 Locale;
8.2 Character Encodings;
8.3 Unicode;
8.4 Rails and Unicode;
8.5 Rails L10n;
8.6 Further Reading;
Chapter 9: Incorporating and Extending Rails;
9.1 Replacing Rails Components;
9.2 Incorporating Rails Components;
9.3 Contributing to Rails;
9.4 Further Reading;
Chapter 10: Large Projects;
10.1 Version Control;
10.2 Issue Tracking;
10.3 Project Structure;
10.4 Rails Deployment;
10.5 Further Reading;
Colophon;

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)