Metro-style apps
Metro-style apps,[1][2][3][4] officially known as Windows Store apps,[5][6] is a class of mobile apps distributed via Windows Store for Microsoft Windows. These apps are unlike traditional Windows desktop software in terms of design, development, distribution and contents.
Nomenclature
Starting with Windows 10, Windows itself consistently uses the phrase "desktop app" to refer to all traditional computer programs. The phrase "Windows Store app" is used to refer to the Metro-style apps, even those that do not come from Windows Store.
Look and feel
Found in Windows, Mac OS and Linux, traditional desktop software could run inside windows with distinct borders. Their border could bear a title bar which displayed application title, a system menu, and optionally a set of maximize, minimize, close and help buttons. Their window could be resized horizontally and vertically. They are controlled by visible elements of user interface, including menus, toolbars, ribbons, scroll bars and window borders, which have become so elaborate in Windows Vista and Windows 7 that they require specialized apps (such as Window Clippings) for taking screenshots.
In Windows 8, Metro-style apps do not run inside windows. Either they occupy the entire screen or are snapped to one side, in which case they occupy the entire height of the screen but only part of its width. True to Microsoft's "Contents are the hero" slogan, Metro-style apps have no user interface chrome, i.e. no title bar, system menu, window borders or window control buttons. Even mandatory command interfaces like scroll bars are usually hidden at first. Metro-style apps do not have menus on their own windows; rather, elaborate menu are located on Settings charm.
Following criticism from customers, Microsoft gradually relaxed the no-chrome rule. In Windows 8.1, a title bar is present but hidden, unless users moves the mouse cursor to the top of the screen. Windows 10 introduced "Continuum" or "Tablet Mode". This mode is by default disabled on desktop computers and enabled on tablet computers, but desktop users can switch it on or off manually. When the Tablet Mode is off, Metro-style apps running on desktop computers may have sizable Windows and visible title bars. When the Tablet Mode is enabled, Metro-style apps revert to their Windows 8.1 nature and all desktop apps are maximized. Like Metro-style apps, they are forced to either occupy the whole screen or be snapped to one side.[7][8][9]
In addition to Continuum, Windows 10 removed the Settings charm in favor of a variation of the system menu called the "hamburger menu". Menu bars, window controls and the always-visible scroll bars, however, did not return and the window borders are but barely visible.
Distribution and licensing
Traditionally, Windows was an open operating system. Software could come from anywhere, including optical discs manufactured by their publishers and downloaded packages from the Internet. One could potentially run such app without the knowledge of any other soul in the world. Only components created by publisher are in charge of licensing, updating, maintaining or uninstalling them. Publishers have a free hand in choosing the licensing terms.
For most users, the only point of entry of Metro-style apps is Windows Store, which requires users to have an Internet connection and a Microsoft account. Thus, Microsoft always knows which apps any given user runs. Outside the 120 countries in which Windows Store works, users can neither develop nor have such apps. The publisher is always Microsoft, and Windows Store Service is the component in charge of installing, updating or uninstalling these apps. Metro-style apps may disappear from the user's computer if Microsoft so wishes. Also, Microsoft specifies the licensing terms. More specifically, developers must allow users to run their purchased applications on multiple devices.
Enterprises operating a Windows domain infrastructure may enter a contract with Microsoft that allows them to sideload their line-of-business Metro-style apps, circumventing Windows Store. Also, major web browser vendors such as Google and Mozilla Foundation are selectively exempted from this rule; they are allowed to circumvent Microsoft guidelines and Windows Store and run a Metro-style version of themselves if the user chooses to make their product the default web browser.[10][11]
Metro-style apps are the only third-party apps that run on Windows RT. Traditional third-party apps do not run on this operating system.
Multitasking
Before Windows 8, computer programs were identified by their static computer icons. Windows taskbar was responsible for representing every app that had a window when they run. Metro-style apps, however, are identified by their "tile"s that can not only show their icon, but also other dynamic contents. In addition, in Windows 8 and Windows 8.1 RTM, they do not show up on Windows taskbar when they run. Instead, they appear on a dedicated app switcher on the left side of the screen.[12] Windows 8.1 Update restored taskbar icons for Metro-style apps.[13] Windows 10 did away with the separate task switcher, unifying all methods of switching between apps in Task View.
For desktop apps, there is no arbitrary limit on how many copies of them can run at one time. For example, one user may run as many copies of Notepad, Paint or Firefox as the system resources support. (Some desktop apps like Windows Media Player, however, may refuse to run if an instance of them is already in the memory.) However, in Windows 8, only one copy of Metro-style apps may run at any given time. Attempting to run a second copy results in the running instance being activated and brought into focus. In Windows 10, some Metro-style apps, such as Calculator and Photos, allow multiple instances.
Lifecycle
Before Metro-style apps, application software on personal computers were started and ended with user command. Metro-style apps, however, never truly start or end on user's command. Since they have dynamic tiles, they are running even before the user has requested. In addition, issuing a close command does not end their process or free the memory they have occupied: A Windows app manager automatically stops and terminates hung, inactive and closed apps independent of user's wish.
Development
Windows Runtime
Traditionally, Windows software were developed using Windows API. Software had access to the API with no arbitrary restrictions. Developers were free to choose their own programming language and development tools. Metro-style apps, however, are developed using Windows Runtime (WinRT). Calling forbidden API disqualifies the app from appearing on Windows Store.
Not every app using WinRT is a Metro-style app; a limited subset of WinRT is available for desktop apps.[14]
Metro-style apps can only be developed using Microsoft's own development tools. Despite claims of interoperability between multiple languages, a practical attempt to implement independent binding to Windows Runtime is doomed to fail. According to Allen Bauer, Chief Scientist of Embarcadero Technologies, there are APIs that every computer program must call but Microsoft has forbidden them, except when the call come from Microsoft's own Visual C++ runtime.[15][16][17]
Universal apps
Apps developed to work intrinsically on smartphones, personal computers, video game consoles and HoloLens are called universal apps. This is accomplished by using the universal app API, first introduced in Windows 8.1 and Windows Phone 8.1. Visual Studio 2013 with Update 2 could be used to develop these apps.[18][19] Windows 10 introduced Universal Windows Platform (UWP) 10 for developing universal apps. Apps that take advantage of this platform are developed with Visual Studio 2015. Older Metro-style apps for Windows 8.1, Windows Phone 8.1 or for both (universal 8.1) need modifications to migrate to this platform.[20][21]
UWP is not distinct from Windows Runtime; rather, it is an extension of it. Universal apps no longer indicate having been written for specific OS in their manifest; instead, they target one or more device family, e.g. desktop, mobile, Xbox or Internet of Things (IoT). They react to the capabilities that become available to the device. A universal app may run on both a small mobile phone and a tablet and provide suitable experience. The universal app running on the mobile phone may start behaving the way it would on a tablet when the phone is connected to a monitor or a suitable docking station.[22]
APPX
APPX is the file format used to distribute and install Metro-style apps on both desktop and phone editions of Windows.[23] It also replaces the XAP file format on Windows Phone 8.1, in an attempt to unify the distribution of applications for Windows Phone and Windows 8.[24] APPX File is only compatible with Windows Phone 8.1 and later versions[25]
The Windows Phone Marketplace allows users to download APPX files to an SD Card and install them manually. In contrast, sideloading is prohibited on Windows 8, unless the user has a developers license or in a business domain.[26]
Security
Windows software have power to use and change their ecosystem however they want. Windows user account rights, User Account Control and antivirus software attempt to keep this ability in check and notify the user when the app tries to use it for malicious purposes. Metro-style apps, however, are sandboxed and cannot permanently change a Windows ecosystem. They need permission to access hardware devices such as web cam and microphone and their file system access is restricted to user folders, such as My Documents. Microsoft further moderates these apps and may remove them if they are discovered to have security or privacy issues.[27][28]
References
- ↑ . Microsoft http://web.archive.org/web/20120827125945/http://msdn.microsoft.com/en-us/library/windows/apps/hh464920.aspx. Archived from the original on 27 August 2012. Missing or empty
|title=
(help) - ↑ Leblond, Antoine (26 April 2012). "Deploying Metro-style apps to businesses". Windows Store for developers blog. Microsoft.
- ↑ Duffy, Jim (December 2011). "Developing a Metro Style App with HTML and JavaScript". Code Magazine. EPS Software.
- ↑ Bott, Ed (11 October 2011). "Windows 8 wish list: 10 Metro-style apps I want to see". ZDNet. CBS Interactive.
- ↑ . Microsoft http://web.archive.org/web/20120909033533/http://msdn.microsoft.com/en-us/library/windows/apps/hh464920.aspx. Archived from the original on 27 August 2012. Missing or empty
|title=
(help) - ↑ Newman, Jared (2 March 2015). "15 Awesome Windows 8 'Metro-Style' Apps". PC World. IDG.
- ↑ Seifert, Dan (29 July 2015). "The nine most important updates in Windows 10". The Verge. Vox Media.
- ↑ Warren, Tom (28 July 2015). "Windows 10 review". The Verge. Vox Media.
- ↑ Bott, Ed (28 July 2015). "Windows 10: A new beginning". ZDNet. CBS Interactive.
- ↑ Bott, Ed (15 January 2014). "Google’s latest Chrome release tries to replace the Windows 8 desktop". ZDNet. CBS Interactive.
Under Microsoft’s rules, Metro-style browsers are able to sidestep requirements that apply to all other apps, including the mandate to be distributed through the Windows Store
- ↑ Branscombe, Mary (27 March 2012). "Windows 8 browsers: the only Metro apps to get desktop power". TechRadar. Future Publishing. Retrieved 17 January 2014.
- ↑ "Switch between open apps". Microsoft Surface manual. Microsoft. Retrieved 31 December 2013.
- ↑ Fitzsimmons, Michelle (May 13, 2014). "Windows 8.1 Update 1: hands on with Microsoft's latest Windows update". TechRadar. Future plc. Retrieved May 19, 2014.
- ↑ "Windows Runtime APIs for desktop apps". MSDN. Microsoft. Retrieved 31 July 2015.
- ↑ Grange, Eric (23 August 2012). "Why no native WinRT support in Delphi XE3?". DelphiTools. Retrieved 13 January 2014.
- ↑ Anderson, Tim (23 August 2012). "Third-party compilers locked out of Windows Runtime development". Tim Anderson's ITWriting. Retrieved 13 January 2014.
- ↑ Bauer, Allen (22 August 2012). "HTML5 Builder". Embarcadero Developer Network. Embarcadero Technologies. Retrieved 13 January 2014.
- ↑ Waheed, Ahmed (2 March 2015). "A first look at the Windows 10 universal app platform". Microsoft Gulf Technical Community blog. Microsoft.
- ↑ Appel, Rachel (September 2014). "Modern Apps : Build Universal Apps for the Windows Platform". MSDN Magazine (Microsoft) 29 (9).
- ↑ "Migrate apps to the Universal Windows Platform (UWP)". MSDN. Microsoft. Retrieved 31 July 2015.
- ↑ "Move from Windows Runtime 8.x to UWP". Windows Developer Center. Microsoft. Retrieved 31 July 2015.
- ↑ "Guide to Universal Windows Platform (UWP) apps". Windows Developers Center. Microsoft. Retrieved 31 July 2015.
- ↑ App packages and deployment (Windows Store apps) (Windows)
- ↑ Windows Phone 8.1 includes universal apps and lots of feature updates - The Verge
- ↑ How to Install Appx File on Windows Phone 8.1
- ↑ How To Sideload Modern Apps on Windows 8 - HowToGeek
- ↑ Ziegler, Chris (17 May 2012). "Microsoft talks Windows Store features, Metro app sandboxing for Windows 8 developers". The Verge. Vox Media. Retrieved 12 January 2013.
- ↑ Rosoff, Matt (9 February 2012). "Here's Everything You Wanted To Know About Microsoft's Upcoming iPad Killers". Business Insider. Retrieved 12 January 2013.
|