8 ms·
A "app" running in a webview on a desktop is NOT "native". A Swing app is not native nevermind these web apps running in chrome.
by mariusmg 11y ago
A "app" running in a webview on a desktop is NOT "native". A Swing app is not native nevermind these web apps running in chrome.
- rubiquity 11y agoYou'll be sad to known a ton of OS X and Windows applications these days are just running in web views. Heck, even a lot of iOS apps are partially/mostly UIWebViews.
- Ramiuz 11y agoCan you give some examples?. (genuinely curious btw).
- Mister_Snuggles 11y agoIsn't the Atom text editor mainly a Chromium web view running on the desktop?
- cosarara97 11y agoYes, and many people don't think of it as native for that reason.
- MisterBastahrd 11y agoThe colloquial definition of a native desktop application is an application that runs from a binary on your system. So yes, most people DO think of these as native applications.
- FigBug 11y agoIt's beyond that. I also uses the native APIs to create the user interface.
- Glide 11y agoSlack's desktop app is a web view. The iOS app is native. I think the wells fargo banking app on the phone is not native. The At&t one doesn't feel like it. Usually there's something different about the controls and interactions that make it not feel native. Sometimes there's a dead giveaway like being able to double tap and accidentally zoom in just like in mobile Safari.
- rubiquity 11y agoYep! A common pattern is for the navigation to be written in the native language to take advantage of faster/smoother animations and all dynamic content is inside of web views.
- drew-y 11y agoSpotify and Steam are. Although Steam doesn't really pull it off all that well.
- pavlov 11y agoNeither does Spotify. Visually it's out of place on every platform, and performance on computers older than few years has become unacceptable IMHO.
- throwaway999666 11y agoSpotify on Linux: clicking on things often feels slightly janky and laggy. How fitting! And the spacebar will 80% of the time page down rather than pause the music, something which sounds minor but which makes the user experience 50% more annoying for me. Do most people even use spacebar to page down in normal webpages!?
- pdeuchler 11y agoiTunes to a large extent is a wrapped WebView
- throwaway999666 11y ago> You'll be sad to known It wouldn't be so sad if it wasn't so noticeable.
- tomjen3 11y agoA native app is one you download and execute on your computer. In reality it doesn't matter much what gui toolkit you write it in, there is nearly always going to be some xml and styling involved - GTK is native on Ubuntu (I hope you will grant me that), but programs written in it typically uses glade files to design the gui and load and bind event handlers at runtime. Glade is XML. .net uses the native win32 gui toolkit - but you typically build it WPF, which is XML, styled with XML. On mac? plists - which is you guess it XML (I have no idea what, if anything, you style a mac app with). So basically the three biggest platforms use XML to bind their guis with - and there isn't much difference between XML and HTML. Granted when you design XML for guis it tends to be nicer than if you wrangle HTML into that role but this is a programmer, not a user, issue.
- pavlov 11y agoThat's a nonsense argument. There's a world of difference between using the platform's native framework and controls (which may be instantiated from an XML file) versus a single WebView which contains the entire app. Saying "HTML is nearly XML, therefore HTML is native" is akin to saying "Vietnamese is written using the Latin alphabet, hence it's basically the same as English".
- jayvanguard 11y agoThe "native" part of native app doesn't mean machine code. It means that it is native to, i.e. feels like it naturally came from, the host operating system. It uses its APIs, conventions, UI components, event queues, etc.
- PuercoPop 11y agoas JayVanguard already pointed out native means another thing. but putting that aside. You are confusing what HTML and XML are if you think they are similar. XML is a way to encode data, validate it conforms to a schema, query it, etc. HTML is more than the surface syntax. It includes an schema and semantics (the DOM, the CSS OM, the boxing model, etc). Using XML as a declarative layer on top of their UI, as android does, does not make it similar to writing HTML because of the completely different semantics associated with it. Android takes all the xml layouts and compile them and expose them through the R(esource) class.
- tljr 11y agoDoes it "matter"? If I 'install' it (don't have to be online to use it) and, it appears on my dock, and doesn't spin up fans every 2 seconds, it's native enough.
- eudox 11y agoThe browser is native code, the app is compiled to native machine code. There are no virtual machines involved, except the JS VM on the browser (and this doesn't need JS). So it's native at least along those lines.
- jayvanguard 11y agoThat isn't what people mean when they say native.
- nothrabannosir 11y agoRight, when people say native, they talk about connecting directly with the OS-specific UI fundamentals. An application is "native" not by virtue of its execution environment, but by virtue of the UI primitives. That's why people talk about "native look and feel".
- jakub_h 11y agoWhat people mean when they say native depends on what people you're talking about.
- rpcope1 11y agoI agree. Using Electron on all of these desktop application "frameworks" keeps seeming like throwing a supertanker at a job when someone asked for a tugboat. I feel like this will only continue to bloat so many applications further, and will make writing (and refactoring) GUI applications more difficult.