Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Shopify Application Development
  • Table Of Contents Toc
Shopify Application Development

Shopify Application Development

By : Michael Larkin
3.1 (9)
close
close
Shopify Application Development

Shopify Application Development

3.1 (9)
By: Michael Larkin

Overview of this book

Table of Contents (12 chapters)
close
close

Chapter 4. Going Public

In the previous chapter, we successfully turned our website into a functioning private application. In this chapter, we are going to update our code to make the app support multitenancy. This means that one instance of the app will be able to service multiple Shopify accounts simultaneously, instead of requiring each store to have its own copy of the app. An example of this is the difference between a site such as Facebook (multitenant) and a program such as Microsoft Word (single tenant). Everyone logs in to the same Facebook app, but each computer needs its own copy of Word. The multitenant model should be familiar to you as most websites you use operate in this manner.

To support multiple shops, we will need to acquire and store each shop's API password in a secure manner. Each password will be different, so we'll use them in place of the private ones that we generated earlier.

Fortunately for us, Shopify already has a process in place to securely acquire the API...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Shopify Application Development
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon