Multitenancy with Rails - 2nd… by Ryan Bigg [PDF/iPad/Kindle]
Multitenancy with Rails - 2nd edition
Multitenancy with Rails - 2nd edition
$20.00
Minimum
$25.00
Suggested
Multitenancy with Rails - 2nd edition

This book is 100% complete

Completed on 2016-11-24

About the Book

The second edition of the best-selling Multitenancy with Rails book, full of new tricks + approaches to the multitenancy problems.

This book will demonstrate how to add multitenancy features to an existing Rails application, and also how to charge money for those features using the Braintree and Stripe payment gateways.

What's a multi-tenanted application? Think of applications like GitHub, where each user or organisation can have their own separate area within the application. Or how about Heroku where each user has their own separate app group. Those are multi-tenanted applications.

In this book we'll be adding multitenancy features to an already-established Rails codebase using some seriously good best practices, working with tools and processes like Behaviour-Driven Development, and PostgreSQL schemas. Along the way we'll discover that while something may seem like the best tool for the job, it may have show-stopping caveats.

In Chapter 5, the book covers how to use Braintree to make processing subscription payments for your multitenanted site a breeze. If Braintree isn't your thing, then Chapter 6 uses Stripe to do the same thing.

What's different between this book and the 1st edition? AKA: Why should I buy this book?

If you've bought the first edition already and would like a discounted copy ($10) then please email me with your receipt and I can hook you up. If you want to pay full-price for it, then go ahead :)

In the first edition, we build an application from scratch and inside that application we add our own authentication system using Warden. In the second edition, we use an existing, established application and add multitenancy features to that. This means that there's less waffling about authentication and we get straight to the implementation of multitenancy within this etablished application quicker.

By doing it this way, you get to see how these features can be added to an already existing application, which is probably why you're reading the book in the first place!

The first edition covers only Braintree's Transparent Redirect. This system is being deprecated by Braintree, and so in the second edition that chapter has received an entire rewrite to use Braintree's v.zero payment form and their subscriptions features. There's also an additional chapter that covers Stripe subscriptions, if that's more your thing.

About the Author

Ryan Bigg
Ryan Bigg

Ryan Bigg won a Ruby Hero Award in 2011 for his work on documentation within the Ruby on Rails community, including work on several of the official Ruby on Rails guides, and his first book Rails 3 in Action, which is now in its second edition as Rails 4 in Action. On the Leanpub side of things, he wrote Multitenancy with Rails.

He previously worked full-time on the open-source parts of Spree Commerce as the Community Manager, but now works full-time at Culture Amp. Oh, and he is well-known on Stack Overflow for providing great answers for Ruby and Rails questions.

He even has a blog.

The Leanpub Unconditional, No Risk, 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms

Write and Publish on Leanpub

Authors and publishers use Leanpub to publish amazing in-progress and completed ebooks, just like this one. You can use Leanpub to write, publish and sell your book as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub