Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Google App Engine

You're reading from   Mastering Google App Engine Build robust and highly scalable web applications with Google App Engine

Arrow left icon
Product type Paperback
Published in Oct 2015
Publisher
ISBN-13 9781784396671
Length 368 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Multi-tenancy


Imagine that you are building an invoicing application and you intend to adopt the Software as a Service (SaaS) model. Your application will certainly have products and clients who will order those products. You'll have to keep a record of this. So all in all, in such a minimal application, you will store clients, products, and orders.

However, there's no point if there's only one business or establishment that can use your system. You can't hope to make any profits that way, and you'd want more and more businesses to sign up and pay for it. In that case, every business will have a different set of products and clients and the orders that they will get.

The typical way around that situation is to have another table or model in your system with a name, organization, company or business. Every product, customer, or order that you create will have a reference to their corresponding organization. When someone signs up, you create a company/organization record and a user for them...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime