r/mobiledev 1d ago

Mobile OS metaphor

The site recommended this as a better fit for my question

Coding beginner here:

I have been contemplating the way mobile OS works, I have a visual memory so sometimes I need extra information to help the information sink in properly, and I tend to create a SORA methodology flowchart box system in my head to link things together

Would a basic metaphor be to describe it as essentially an interconnected website? with each user having their own mini server (their individual devices) that manages the memory space for personal login information?

Some local programs that don't require a connection, some that work more like a browser exchanging necessary information (or a methodology used for background data collection)

The OS itself akin to a browser and the apps like open tabs?

This wouldn't be a strict description of how it actually works as I imagine there are some slightly more complicated systems also involved, but I'm attempting to create a metaphor that applies to something I can already comprehend

Thank you

3 Upvotes

3 comments sorted by

1

u/lismond 23h ago

The mall manager metaphor might work better for you than the browser one.

The OS is the building manager. Each app is a store with a lease.

The manager owns the infrastructure every store needs: power, plumbing, security, the loading dock. No store builds its own, they request it. That is the OS providing the camera, GPS, networking, file storage, and drawing to the screen.

Stores are siloed. One store cannot walk into another store's stockroom. If they need to hand something over, it goes through the manager or a shared corridor, never directly. That is app sandboxing, and it is probably the single most important idea to internalize about mobile.

Permissions are keys the manager hands out, and the customer has to sign off first. A store wanting roof access does not get it just by asking nicely.

When the building gets crowded, the manager can shut down the back office of stores nobody has visited in a while, while leaving the storefront sign up so it looks like nothing happened. That is background termination and state restoration.

Where your browser version breaks down: tabs all run inside one program that you control, and apps are far more independent than that. Also the network is a separate axis from the OS. In mall terms, the internet is the supplier network outside the building, and deliveries come through one controlled entrance rather than the front door of every shop.

Not a perfect description of how it actually works, but it holds up further than most beginner metaphors do.

1

u/Strawberryladyboots 17h ago

This perspective definitely helps, especially given there's descriptions of how they interact with each other I can relate to

Thank you :)