Why does apple need to use HTML5 to develop the new AppStore on iOS? -

Source: Internet
Author: User
Twitter. comdrbarnardstatus248298245389756416 @ drbarnard: isn' tironicthatjustafterfacebookreleasesamorenativeiosapp, ApplereleasesamoreHTML5iOSAppStore? Http://twitter.com/drbarnard/status/248294305389756416
@ Drbarnard: isn' t it ironic that just after Facebook releases a more native iOS app, Apple releases a more HTML 5 iOS App Store?
Reply: In the past, the appstore was also a webpage version, but the embedded webpage of iOS6 was obviously poorly designed, and various situations often occurred, leading to html5 webpage discovery.

The app store itself is a system software and cannot be upgraded independently. It can only be upgraded along with the system. At the same time, the appstore has super permissions such as installing, uninstalling, and upgrading software, and cannot be released with common software (if supported, it means there is a huge security risk ). It is a helpless choice for system software to maintain a flexible web version.

In addition, the biggest difference between app stores and built-in apps (cameras and photos) in other systems is a heavy-operating business. Changes are often required, and the changed content may lead to changes in the UI framework. It is a good choice for convenience of adjustment.

In fact, another important reason is that Apple's appstore has three versions: webpage version, itunes version, and mobile client version, the benefits of using HTML5 can reduce the possibility of reusing as much R & D as possible on the three platforms, while solving the consistency of UI framework and content adjustment. From the resource perspective, it is a resource saving option.

In fact, Baidu's android app store is also like this. I was suspected of leading the team to be lazy when I insisted on this method internally. This is a very interesting question. If you want to explain it, you need to install the iOS program.
Currently, iOS apps only have two official installation methods: Enterprise Distribution and App Store.
In fact, the two installation methods are
All iOS apps use: Create a desktop bookmarks-> download software content (ipa or App package)-> iOS system verification signature-> iOS system unpacking-> iOS system indexing, installed in place
The first step of this installation method is to create bookmarks. The easiest way is to create bookmarks from a Web page. In fact, the Apple system does not allow you to create desktop bookmarks from other sources. Therefore, the App Store must have page elements. At least the purchase button should be a page element.

Second, as a paid software market on iOS, App Store must consider various updates and vulnerability fixes. According to the current webpage processing method, once any market vulnerabilities occur, Apple can immediately modify the page to handle them. If the App Store is a local application, there may be problems that cannot be handled, as we all know, the upgrade of the built-in iOS program is synchronized with the iOS system. The storage location and permissions of the built-in iOS program are completely different from those of the common program, that is to say, if App Store exists as a local program and there is any problem, Apple's only solution is to release a new iOS system, 5.0.1. To be honest, this is an embarrassing version number for Apple.

========= Body alcohol: 0.4% ==============
Of course, all of the above are my own words, and I am not an iOS system expert. If there is an error, please bear with me whether it is on ios or mac, apple stores have always been presented with web content, but now html5 elements have been added. Why should we make a fuss? I have always thought that Apple is a developer who uses native shell to pack html pages to reach perfection. To meet Use different country/region accounts to load different UIS after Logon. In iOS 7, this is still the case because native applications cannot do this.
In addition, not only does App Store, iTunes Store, and other databases use HTML.
If you cannot understand this, refer to iTunes Store:

1. China's iTunes is definitely the most silly App in history, none of which:

Tucao: two tabs correspond to "Install iTunes U" and "Install Podcast" respectively. After installation, what should we do? Change to "Open iTunes U" and "Open Podcast"-have you been retried? I am turning it over. Tucao: two tabs correspond to "Install iTunes U" and "Install Podcast" respectively. After installation, what should we do? Change to "Open iTunes U" and "Open Podcast"-have you been retried? I am turning it over.
However, if it comes to you, you will think that iTunes is dumb, that is, you are dumb-you cannot speak the sea, and you cannot speak the ice (say yourself ).


2. In the United States, iTunes looks like this:

What is the difference?

Therefore, this stuff must be written in HTML. I don't care if it's five. A simple point of view. If it is a local application, how can I upgrade the appstore if a bug occurs? IOS, Google Play, and Windows App Store are all designed in this way.

* In this scenario, the user experience is not much different from that of Native.
* The App Store cannot be upgraded either. You can use a small system update. However, this is optional for users. If you put it on the Web, you must put the initiative in the hands of the vendor if you need to access the Internet. Use native to save some system parameters (such as the app version, ios version, and unique number), and use h5 for other presentations, not just to fix bugs quickly, even releasing a major version upgrade won't be a big problem, which is basically equivalent to web ..

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.