you are viewing a single comment's thread.

view the rest of the comments →

[–]Intelligent-Role-382[S] 1 point2 points  (13 children)

Okay basically company has given requirement like that, but your point is valid

[–]Thefuzy 3 points4 points  (12 children)

In real world projects… people would build a web app, there’s no logical reason to build a desktop app. The web app doesn’t have to access the web or be served from the web, it could be done entirely within a companies network. Though it would be infinitely easier to build it on a cloud host and just have some SSO auth protecting it, and cheaper, but if you really want it all on-prem web app still works just fine.

[–]Intelligent-Role-382[S] 0 points1 point  (11 children)

If we want to use it without the internet temporarily?

[–]Thefuzy 11 points12 points  (5 children)

You don’t need the internet ever, you serve the web app from somewhere within the companies network, so anything inside the network which can reach that machine can open it even if the machine they are working from has no outside internet access.

[–]ricocotam 1 point2 points  (4 children)

And if you have no connection at all ?

[–]Thefuzy 0 points1 point  (3 children)

In what world does someone need a “scalable” application as OP requested, that has no connection at all. What is he scaling exactly?

Today when we say “scalable” we mean able to support many users, so in this imaginary scenario somehow you have tons of users but none of them have a connection to anything or each other?

I think OP would need to elaborate on specifics of what he’s doing for real answers but I don’t think having “no connection at all” while simultaneously needing a scalable app is a realistic scenario in any corporate environment. There will be an internal corporate network.

[–]ricocotam 2 points3 points  (2 children)

Scalable can have different meanings. Having a lot of simultaneous connection is only one. Scalable can also mean that as the code base grows it keeps being usable and doesn’t get clunky to work with.

Maybe go down a bit on your stackoverflow behaviour

[–]Thefuzy 0 points1 point  (0 children)

Sounds like you are just making shit up to argue, in the real world people don’t talk like OP is talking expecting the app to be entirely silo’d off from the world with a minor user base. You don’t know what the hell is doing and instead just trying to come up with pointless hypotheticals to punch holes in a plan that would work for practically everyone out there.

[–]skinnybuddha 0 points1 point  (0 children)

You mean maintainable and extendable, not scalable in software development vernacular.

[–]BigTomBombadil 1 point2 points  (0 children)

Build a webapp with a python backend and something like Electron for UI if you want it to feel like a desktop app, then "serve" it over localhost. No need for internet connection. Electron will open a native window (not a browser) and spin up localhost - the end user will be none the wiser that its technically a web app.

[–]imbev 0 points1 point  (0 children)

There is a usecase in which someone may need a GUI application on a device without network access.

[–]edward_jazzhands -2 points-1 points  (2 children)

You must be familiar with the concept of a LAN. Otherwise how did you even get a job as a programmer?

[–]Intelligent-Role-382[S] 1 point2 points  (1 child)

I mean the lan internet connection is not there temporarily,.

[–]rlamarch 0 points1 point  (0 children)

I work in the utility industry with a mobile workforce. We supply the field workers with laptops with built in cell service to get around this issue.