But basically, web apps and non-web apps are the same. The user sees a computer program designed to make his life easier in some way. Inside, our code handles requests and produces results. We use the same programming techniques to process the request and update the UI in some way. The only difference are details; for a command-line app, you can freely block on IO and you produce results with "print". For a web app, you get an "Http Request" object, and you prodce an "Http Response" object. Inside the response is code to draw the UI, send more requests to your application, etc. And finally, for a "GUI" app, we receive events instantly and any of those events can affect the program state (and any handler can update the GUI immediately; no need to wait for a "request cycle").
Honestly, I think the web model is the most difficult of the three. But I certainly don't look down on anyone that writes the other types of applications, because they are really about the same.
Most of my opinion has already been written here: http://news.ycombinator.com/item?id=763137
But basically, web apps and non-web apps are the same. The user sees a computer program designed to make his life easier in some way. Inside, our code handles requests and produces results. We use the same programming techniques to process the request and update the UI in some way. The only difference are details; for a command-line app, you can freely block on IO and you produce results with "print". For a web app, you get an "Http Request" object, and you prodce an "Http Response" object. Inside the response is code to draw the UI, send more requests to your application, etc. And finally, for a "GUI" app, we receive events instantly and any of those events can affect the program state (and any handler can update the GUI immediately; no need to wait for a "request cycle").
Honestly, I think the web model is the most difficult of the three. But I certainly don't look down on anyone that writes the other types of applications, because they are really about the same.