Your customers do not have your laptop
Your app is finished. It works on your laptop.
But your customers do not have your laptop. They have phones, office computers and old tablets. Some are in another country.
How does your app reach them? The answer is the deployment method. Deployment means putting software where its users can use it.
Key words
| Word | What it means |
|---|---|
| Deployment | Putting software where its users can use it. |
| Installation | Copying a program onto a device and setting it up. |
| Server | A computer that runs software for other computers to use. |
| Network | Computers joined together so they can share data. |
| App store | An online shop where you download apps for a phone. |
| Web-based | Software you use in a browser. You install nothing. |
| Cloud-based | Software that runs on rented computers that can grow or shrink. |
| Hosting | Renting space and power on a computer to run your software. |
The cells students fill in are left blank in this preview.
Five ways to deploy
| Method | How it works | Good for | Problem |
|---|---|---|---|
| Local installation | The user installs it on their own computer | Games, drawing tools, work with no internet | Every user must install each update |
| Network or server installation | The software runs on a server in one building. Users reach it over the network | A school or a company with its own computers | You must run and look after the server |
| Mobile platform | Users download it from an app store onto a phone | Cameras, location, messages that pop up | The store has rules and must approve the app. You may need to build two versions (iPhone and Android) |
| Web-based platform | The software runs on a server. Users open it in a browser | Anyone with a browser; updates reach all users at once | Needs an internet connection |
| Cloud-based platform | The software runs on rented computers that can grow or shrink | Many users, or use that changes a lot | Costs can grow. You depend on the company you rent from |
The cells students fill in are left blank in this preview.
Check: which method?
Have a go
Check: which method?
3 questionsA way to choose
flowchart TD
start([Who will use it?]) --> one{Only people inside one building?}
one -->|yes| net[Network or server installation]
one -->|no| phone{Does it need phone features, or an app store page?}
phone -->|yes| mobile[Mobile platform]
phone -->|no| offline{Must it work with no internet?}
offline -->|yes| local[Local installation]
offline -->|no| many{Will the number of users change a lot?}
many -->|yes| cloud[Cloud-based web service]
many -->|no| web[Web-based on a small server]
A function can choose the method
def choose(inside_one_building, needs_phone_features, needs_offline, users_change_a_lot):
if inside_one_building:
return "network or server installation"
if needs_phone_features:
return "mobile platform"
if needs_offline:
return "local installation"
if users_change_a_lot:
return "cloud-based web service"
return "web-based on a small server"
print(choose(False, False, False, True))
# Change the four values and run again. Does the answer make sense?
Make a free account to save your work and track your progress.
Choose the method for each scenario
Have a go
Choose the method for each scenario
6 questionsHow an update reaches the user
| Method | What happens when you fix a bug |
|---|---|
| Local installation | Each user must download and install the new version |
| Network or server installation | An administrator updates the server once. All users get it |
| Mobile platform | You send an update to the store. Users update the app |
| Web-based platform | You update the server. Every user sees it at the next visit |
| Cloud-based platform | You update it, often with an automatic tool. The many copies change one after another |
The cells students fill in are left blank in this preview.
Try a real deployment
This site has a Deployments page. It puts a small app on the web for you. You do not need a cloud account.
It has a sample app that uploads files. You choose a language and press Deploy this sample. The page makes a database (an organised store of data) and a place in the cloud to keep the uploaded files, then starts the app. You open the app and try it.
Deploy the sample and name its method
Open the Deployments page. Choose the sample app and one language. Press Deploy this sample. Wait until it says the app is running, then open it and upload a small file. Write four lines. 1. Which deployment method from the lesson is this: local, server, mobile, web-based or cloud-based? 2. What did the page set up for the app besides the app itself? 3. How would a user get a bug fix? 4. What is one reason a company might prefer a different method?
A teacher marks this in a college. Nothing you write here is kept: it goes when you leave the page.
Make a free account to save your work, or press Start lab to work through the whole lesson.
Advise a bakery on deployment
A small bakery wants an app so customers can order cakes. It has two staff, no computer expert and little money. Customers use phones. Orders go up before holidays. Write advice of about 100 words. Choose one deployment method. Say why, with two reasons from the lesson. Name one weakness of your choice and how the bakery can reduce the problem.
A teacher marks this in a college. Nothing you write here is kept: it goes when you leave the page.
Make a free account to save your work, or press Start lab to work through the whole lesson.
Key words crossword
Have a go
Loading…
Your answers are marked here and are not kept. A college account keeps every student’s marks.
Exit quiz
Have a go