Hello, amazing software builder! You have written code, tested it, and made it secure. Now, it is time to share your creation with the world. This is called deployment. But once your software is out there, you cannot just forget about it. You need to keep it running smoothly, fix problems, and add new features. This is called maintenance.
Think of yourself as a pilot who not only flies the plane but also makes sure it is in good shape before and after every flight. A Certified Software Developer knows how to launch software and keep it healthy.
Ready to send your software into the world? Let's go! 🚀
By the end of this module, you will be able to:
Tolu loved making wooden toys. He spent months building a beautiful toy shop in his backyard. He painted it, filled it with toys, and invited all his friends to the grand opening. Everyone came, played, and had fun.
But after the first week, some toys broke, the paint started to peel, and a few children said they wanted different toys. Tolu did not give up. He fixed the broken toys, repainted the shop, and started making new toys that the children wanted. His shop became the best in the village.
That is exactly what deployment and maintenance are. You launch your software (open the shop), and then you keep improving it (fix and add new things).
Definition: Deployment is the process of putting your software on a server so that users can access it.
Why important: Without deployment, no one can use your software. It stays on your computer forever.
Simple explanation: Like moving your toys from your room to the shop shelf so customers can buy them.
Real-life example: Uploading a website to the internet.
School example: Sharing your project on the school's computer.
Home example: Putting a photo on a digital frame.
Nigerian example: A developer uploads a new app to the Google Play Store.
Illustration:
Your Computer → Server → Users
(Code) (Online) (Use it)
Mini summary: Deployment is making your software available to users.
Definition: An environment is a place where software runs. There are different environments for different stages.
Simple explanation: Like having a kitchen to cook, a dining room to eat, and a storage room for leftovers.
Real-life example: Development (cooking), Testing (tasting), Staging (plating), Production (serving).
School example: Draft (rough copy), final copy, and published essay.
Home example: Trying a recipe (development), tasting it (testing), serving it (production).
Nigerian example: A bank tests new features in a staging environment before releasing to customers.
Development → Testing → Staging → Production
(Build) (Check) (Final) (Live)
Mini summary: Different environments help us test before going live.
Definition: Version control is a system that records changes to your code so you can go back to any version if needed.
Why important: It prevents losing work and helps teams collaborate.
Simple explanation: Like saving different drafts of a story.
Real-life example: Using Git (a version control tool).
School example: Saving your essay as "essay_v1", "essay_v2".
Home example: Taking photos of your Lego builds before making changes.
Nigerian example: A team in Lagos uses GitHub to work together.
Version 1.0 → Version 1.1 → Version 2.0
(First) (Small fix) (Big update)
Mini summary: Version control is like a time machine for your code.
Definition: A deployment pipeline is the series of steps that code goes through to be deployed.
Simple explanation: Like an assembly line in a factory.
Real-life example: Code → Build → Test → Deploy.
School example: Write → Edit → Submit.
Home example: Plan → Cook → Serve.
Nigerian example: A developer pushes code, automated tests run, then it goes to staging and finally production.
+--------+ +-------+ +-------+ +--------+
| Code | → | Build | → | Test | → | Deploy |
+--------+ +-------+ +-------+ +--------+
Mini summary: The pipeline automates the journey of code to production.
Definition: Maintenance is the process of updating and fixing software after it is deployed.
Why important: Software is never truly finished. Users find bugs, and the world changes.
Simple explanation: Like watering a plant after you have planted it.
Real-life example: A car needs regular oil changes and check-ups.
School example: Reviewing your notes before an exam.
Home example: Cleaning your room every week.
Nigerian example: A bank updates its app to fix a bug.
Maintenance = Keeping software healthy.
Mini summary: Maintenance keeps software working well over time.
Definition: Corrective maintenance is fixing errors and bugs that users find.
Simple explanation: Like patching a hole in your roof when it rains.
Real-life example: A patch for a game that crashes.
School example: Correcting a mistake in your homework.
Home example: Fixing a broken chair.
Nigerian example: A payment app fixes a bug that caused double charges.
Bug found → Fix it → Release update.
Mini summary: Corrective maintenance is about fixing problems.
Definition: Adaptive maintenance means changing the software to work in a new environment or with new technology.
Simple explanation: Like learning to use a new phone when your old one breaks.
Real-life example: Updating an app to work on a new version of Android.
School example: Using a new version of Microsoft Word.
Home example: Changing your TV settings when you get a new remote.
Nigerian example: A bank updates its system to meet new government regulations.
Old environment → New environment → Adapt.
Mini summary: Adaptive maintenance is about staying current.
Definition: Perfective maintenance is improving the software by adding new features or making it faster and easier to use.
Simple explanation: Like adding a new slide to your playground.
Real-life example: Adding a dark mode to an app.
School example: Adding more examples to your presentation.
Home example: Buying a new cushion for your sofa.
Nigerian example: A food delivery app adds a new payment option.
Software → Add feature → Better software.
Mini summary: Perfective maintenance makes software better.
Definition: Preventive maintenance is making changes to prevent future bugs or performance issues.
Simple explanation: Like oiling your bicycle chain before it gets rusty.
Real-life example: Refactoring code (cleaning it up) to make it easier to maintain.
School example: Organising your notes before exams.
Home example: Checking the fire alarm batteries.
Nigerian example: A developer improves the database structure to handle more users.
Clean code → Fewer bugs → Better future.
Mini summary: Preventive maintenance stops problems before they happen.
Definition: Monitoring is keeping an eye on your software to see if it is running well and to detect problems early.
Why important: You cannot fix problems you do not know about.
Simple explanation: Like a baby monitor – you hear if the baby cries.
Real-life example: Using tools like New Relic or Datadog.
School example: A teacher walks around the class to see if students need help.
Home example: Checking if your plant needs water.
Nigerian example: A company monitors its website to see if it is slow.
Monitor → Detect problem → Fix it.
Mini summary: Monitoring helps you catch issues early.
Definition: Logs are records of events that happen in your software, like errors, warnings, and user actions.
Simple explanation: Like a diary that writes down everything that happens.
Real-life example: A server log that shows who accessed it and when.
School example: A register that records attendance.
Home example: Keeping a list of who visits your house.
Nigerian example: A bank keeps logs of all transactions for security.
Log entry: User Tolu logged in at 10:00 AM.
Mini summary: Logs help you understand what is happening in your software.
Definition: User feedback is what users tell you about your software – what they like, what they do not like, and what they want.
Why important: Users are the ones who use your software. They know what is missing.
Simple explanation: Like asking your friends what they think of your toy.
Real-life example: App store reviews.
School example: A teacher asks students for feedback on a lesson.
Home example: Your family tells you if they liked the dinner you cooked.
Nigerian example: A transport app asks users to rate their driver.
User says: "I love it, but I wish it had dark mode."
Mini summary: User feedback guides your improvements.
Definition: A rollback is when you undo a deployment and go back to a previous version because something went wrong.
Simple explanation: Like rewinding a movie to the last scene you liked.
Real-life example: If a new update causes crashes, you revert to the old version.
School example: Using an earlier draft if your final essay has errors.
Home example: Putting the old TV back if the new one does not work.
Nigerian example: A bank rolls back a transaction if there is a system error.
New version → Problem → Rollback → Old version.
Mini summary: Rollbacks are a safety net for bad deployments.
Definition: CI/CD is a practice where developers automatically build, test, and deploy code many times a day.
Simple explanation: Like a conveyor belt that takes your code, checks it, and sends it live automatically.
Real-life example: GitHub Actions or Jenkins.
School example: An online quiz that marks your answers automatically.
Home example: A robot vacuum that cleans on a schedule.
Nigerian example: A tech company uses CI/CD to release updates every week.
Push code → Auto test → Auto deploy → Fast release.
Mini summary: CI/CD automates the pipeline for fast, safe releases.
Definition: A software developer's work never ends. You plan, code, test, deploy, maintain, and then start again.
Simple explanation: Like a cycle – you keep going around to make things better.
Real-life example: Adding new features, fixing bugs, and improving performance.
School example: Writing a story, editing it, and then writing a new story.
Home example: Gardening – you plant, water, harvest, and then plant again.
Nigerian example: A developer maintains a school portal for many years.
Plan → Code → Test → Deploy → Maintain → Plan again.
Mini summary: Software development is a continuous cycle.
This module bridges coding and real-world software life. Encourage students to think about how apps they use change over time. Discuss the importance of feedback and how it drives improvements. Use examples like WhatsApp updates.
Help children see the lifecycle of software at home – apps that update, new features, and bug fixes. Compare it to maintaining a house or a car. Encourage them to think about how they would improve their favourite app.
Did you know that the world's largest website, Google, runs on millions of servers and is continuously updated every single day?
+----------+ +--------+ +-------+ +--------+
| Code | → | Build | → | Test | → | Deploy |
| Commit | | | | | | |
+----------+ +--------+ +-------+ +--------+
| | | |
V V V V
+----------+ +--------+ +-------+ +--------+
| | | | | | | |
| Dev | | Staging| | Staging| | Prod |
| Env | | | | | | |
+----------+ +--------+ +-------+ +--------+
+--------------------------------------------------+
| Maintenance |
+--------------------------------------------------+
| | | | |
| Corrective| Adaptive | Perfective | Preventive |
| (Fix bugs)| (Change) | (Improve) | (Prevent) |
+----------+----------+------------+---------------+
+--------------+
| Plan |
+------+-------+
|
V
+------+-------+
| Code |
+------+-------+
|
V
+------+-------+
| Test |
+------+-------+
|
V
+------+-------+
| Deploy |
+------+-------+
|
V
+------+-------+
| Maintain |
+------+-------+
|
V
(Back to Plan)
| Environment | Purpose | Who uses it |
|---|---|---|
| Development | Writing and testing code | Developers |
| Testing | Finding bugs | Testers |
| Staging | Final check before production | QA team |
| Production | Live for users | Everyone |
| Type of Maintenance | What it does | Example |
|---|---|---|
| Corrective | Fixes bugs | Patch for a crash |
| Adaptive | Adapts to changes | Update for a new OS |
| Perfective | Adds/improves features | Adding dark mode |
| Preventive | Prevents future issues | Refactoring code |
Fantastic work, future software pilot! You have learned how to take your software from your computer and share it with the world. You now know about different environments, the deployment pipeline, and version control. You understand the four types of maintenance: corrective, adaptive, perfective, and preventive. You also learned about monitoring, logs, and user feedback. Remember, a software developer's job is not done at deployment – it is just the beginning. Keep improving, keep listening, and keep your software safe and healthy.
Match the term with its definition:
| Term | Definition |
|---|---|
| 1. Deployment | A) Fixing bugs |
| 2. Corrective | B) Making software available |
| 3. Adaptive | C) Adding new features |
| 4. Perfective | D) Adapting to new environments |
| 5. Preventive | E) Preventing future issues |
Answers: 1-B, 2-A, 3-D, 4-C, 5-E
Scenario 1: You deploy a new version of your app, and users start reporting that they cannot log in. What is your first step? How would you fix it?
Scenario 2: Users are asking for a new feature – a way to reset their password. What type of maintenance is this? How would you handle it?
In groups of 3, simulate a deployment. One person is the developer, one is the tester, and one is the operations person. The developer writes a small "Hello World" program. The tester checks it. The operations person "deploys" it to a mock production environment (a piece of paper). Then switch roles and add a new feature.
Draw a diagram of a deployment pipeline with at least 4 stages. Label each stage and write one sentence about what happens there.
Build a simple "To-Do List" app. Deploy it to a free hosting service like Netlify or GitHub Pages. Create a simple feedback form for users to report bugs.
Take the "To-Do List" from the mini project. Add a new feature (e.g., marking tasks as completed). Then, simulate a rollback by reverting to the previous version and explaining why you had to rollback.
Set up a simple CI/CD pipeline using a tool like GitHub Actions. Write a script that builds and tests your "To-Do List" app automatically whenever you push code.
Multiple Choice Answers: 1-B, 2-D, 3-B, 4-B, 5-B, 6-C, 7-C, 8-C, 9-B, 10-B, 11-B, 12-B, 13-A, 14-D, 15-C
Fill-in-the-Blank: 1-Deployment, 2-development, 3-Version, 4-pipeline, 5-Corrective, 6-Adaptive, 7-Perfective, 8-Preventive, 9-Logs, 10-rollback
True/False: 1-F, 2-F, 3-T, 4-F, 5-T, 6-F, 7-F, 8-T
In the next module, we will explore software documentation and communication. We will learn how to write clear instructions for users and other developers. Good documentation makes your software easier to use and maintain. Think about a time you read a manual – was it clear or confusing?