Windows 10 All-in-One For Dummies. Woody Leonhard

Чтение книги онлайн.

Читать онлайн книгу Windows 10 All-in-One For Dummies - Woody Leonhard страница 36

Windows 10 All-in-One For Dummies - Woody  Leonhard

Скачать книгу

more commonly, the WinRT API.

      Microsoft started calling the WinRT based apps “immersive” and “full screen.” Most of the world settled on Microsoft’s internal code name, Metro. Microsoft, however, has since changed the name to Modern UI, then Windows 8, Windows Store App, New User Interface, Microsoft Design Language, Microsoft style design, and more recently Modern and Universal. The preferred terminology used to be Universal Windows Platform (UWP) app, although the tech support folks reverted to Universal app all the time. In recent times, Microsoft has decided to ditch the UWP platform, and add its functionality to non-UWP software development platforms. Therefore, UWP is now dead. I continue to use the term Metro in normal conversation, but in this book, to minimize confusion, I use the terms Windows 10 app or app.

      

Don’t be confused. (Ha!) They all mean the same thing: Those are the names for Universal Windows applications that run with the WinRT API.

      Windows 10 (Modern, Metro) apps have many other characteristics: They’re sandboxed — stuck inside a software cocoon that isolates the programs so that it’s hard to spread infections through them. They can be easily interrupted, so their power consumption can be minimized; if a UWP app hangs, it’s almost impossible for it to freeze the machine. But at their heart, Universal Windows Platform apps are written to use the WinRT API.

      Windows 8 and 8.1 (and Server 2012) support the WinRT API — Universal apps run on the Metro side of Windows 8, not on the desktop. ARM-based processors also run the WinRT API. You can find ARM architecture processors in many smartphones and tablets. In theory, apps should run on any Windows 10 computer — a desktop, a laptop, a tablet, a phone, a wall-mounted Surface Hub, an Xbox, and even a HoloLens headset. In practice, however, it isn’t quite so simple. For example, only the simplest app that works in Windows 10 will run in Windows 8. So “Universal” is something of an aspiration, not a definition.

In Windows 10, UWP (Modern/Metro/Tiled) apps run in their own boxes, right there on the desktop. Look at the Weather app — formerly a UWP app, now a Windows 10 app — shown in Figure 2-3.

      All the other Windows programs — the ones you’ve known since you were still wet behind the WinEars — are now called desktop apps. Five years ago, you would’ve just called them programs, but now they have a new name. After all, if Apple can call its programs apps, Microsoft can, too. Technically, old-fashioned Windows programs, applications, or desktop apps are built to use the Win32 API.

      HOW DID WE GET INTO THIS NICE MESS

      Microsoft’s been making tablet software for more than a decade, and it never put a dent in the market. Never did get it. Apple started selling tablet software in 2010 and selling tons of it. Boy howdy. Now Microsoft’s diving in to get a piece of the touch-enabled action.

      There's a big difference in approaches. Apple started with a phone operating system, iOS, and grew it to become the world’s best-selling tablet operating system. There’s very little difference between iOS 14 on an iPhone and iPadOS 14 on an iPad: Applications written for one device usually work on the other, with a few obvious changes, such as screen size. On the other hand, Apple’s computer operating system, macOS, is completely different. It’s built and optimized for use with a Mac computer. Apple is slowly changing the apps on both iOS and macOS, so they resemble each other and work together. But the operating systems are fundamentally quite different (even though, yes, iOS did originally start with the Mac OS Darwin foundation).

      When Windows 7 was finished, Steve Sinofsky and crew decided to take a fundamentally different tack. Instead of the good people at Microsoft growing their phone software up, they decided to grow their computer operating system down. (The fact that the phone software at that point drew nearly universal scorn could’ve been part of the reason.) Windows 8 grew out of that decision: There’s a touch-friendly part and a mouse-and keyboard-friendly part. The two aren’t mutually exclusive: You can use your mouse on the Metro Start screen, and in the Windows 10 apps, you can use your greasy thumb on an old-fashioned desktop app. But the approach is different, the design is different, and the intent is different.

      Windows 10 goes back to Windows Start menu roots and tries to grow the same concept down even further, to Windows Phone. Microsoft will be able to say that Windows covers all the bases, from lowly smartphones to gigantic workstations (and server farms, for that matter). The fact that the “Windows” running in each of the device classes is quite different kinda gets swept under the rug.

Snapshot of the Windows 10 Weather app which is a former UWP app because it’s based on the WinRT API.

      FIGURE 2-3: The Windows 10 Weather app is a former UWP app because it’s based on the WinRT API. See the distinctive design?

Unfortunately, there’s a huge difference between Windows 10 apps and desktop apps. For starters:

       Universal Windows apps — the ones that run on the WinRT API — are on the way out. Microsoft rebuilt the aging Windows Desktop app Internet Explorer and turned it into the Universal Windows app called Microsoft Edge. Internet Explorer has been gradually marginalized, and now it's dead in a corner. After many years of trying to promote UWP apps, Microsoft has decided that it would stop. Instead, they opened up more and more UWP functionality to non-UWP platforms, including legacy platforms that Microsoft once deprecated, such as Win32, WPF, and WinForms. So what’s old is new again.

       Desktop apps and Universal Windows apps are starting to look the same. Developers want you to look at their programs and think, “Oh, hey, this is a snappy new version.” Also, Microsoft is intertwining the features available in both app platforms, making things blurrier than ever.

       Universal Windows apps really are better. Don’t shoot me. I’m just the messenger. Now that we can run those newfangled tiled Universal Metro whoozamajiggers in their own resizable windows on the Windows desktop, the underlying new WinRT plumbing beats the pants off Win32. WinRT apps don’t bump into each other as much, they (generally) play nice in their own sandboxes, they won’t take Windows down with them, and they don’t have all the overhead of those buggy Win32 calls.

      Here’s a quick guide to what’s new — and what’s still the same — with some down-and-dirty help for deciding whether you truly need Windows 10.

      Time to fess up. You can tell me. I won’t rat you out.

      If you’re an experienced Windows XP user and you’re looking at Windows 10, one of two things happened: Either your trusty old XP machine died, and you had to get Windows 10 with a new PC, or a friend or family member conned you into looking into Windows 10 to provide tech support.

      If you’re thinking of making the jump from Windows XP to Windows 10, and you’re going to stick with a keyboard (as opposed to going touch-only, or touch-mostly, heaven help ya), you have two big hurdles:

       Learning the ways of Windows 10 apps (which I outline in the next section, “What’s

Скачать книгу