Apple’s newest operating system supports WebGL and IndexedDB, two standards that’ll make websites much more capable on its mobile devices. Also new: a faster Web with SPDY.
Web programmers rejoice: Apple’s new iOS 8 has added support for standards that will let you build better games and more productive websites.
Safari, the browser built into Apple’s mobile operating system, now can run Web software written to use the WebGL standard for hardware-accelerated 3D graphics and the IndexedDBstandard for storing data that can be used even without a network connection. The first is good for Web-based games — it can speed up 2D graphics, too — and the second is good for tools like e-mail, word processors, or blog-posting tools for whenpeople don’t want to lose work when network access disappears on a plane or in a tunnel.
iOS, though trailing Google’s Android in market share, remains widely used and is a favorite among programmers. Because of that, the moves Apple makes are important. That’s doubly true for Web standards: the more widely supported a new standard becomes, the freer programmers are to use it rather than worry their software won’t work on one browser or another.
WebGL and IndexedDB are important for the gradual transformation of the Web from a repository of static documents into a foundation for dynamic software like apps. Curiously, that was the only way third-party programmers could get apps onto the initial iPhone: before the App Store arrived, the Web was the only door open. But since those early days, Apple has had tremendous success attracting programmers to build native apps that run on iOS itself, not the browser.
But not everyone uses iOS. Plenty of programmers want something that works on Android, Windows Phone, Firefox OS, BlackBerry OS and any other mobile operating system that turns up. It’s thoseprogrammers who will benefit most from the new Web standards support in iOS 8.
They’ll benefit in another way, too: in addition to loading Web apps directly within the browser, native iOS apps running outside the browser can draw upon Web standards. Many programmers use this approach for building user interfaces; they get many of the cross-platform advantages of the Web packaged to work more like a native app.
Apple also added support for some other Web standards, according to a tally of iOS 8 Web improvements by Sencha, a company that offers programming tools to developers using Web interfaces to build apps.
Among the other standards arriving with iOS 8:
- SPDY, a technology developed by Google that can speed Web page loading. It’s not strictly speaking an industry standard, but it’s widely used and some of its technology is being built into the HTTP standard that governs communications between Web browsers and Web servers that host Web pages.
- The srcset attribute, part of the solution to letting programmers better handle graphics on high-resolution displays.
- CSS Shapes Level 1, which permits more advanced layouts that combine text and graphic elements.
- SVG Fragment IDs, which will help programmers use vector art for game elements like spaceships or avatars.
- Promises, which helps browsers run multiple tasks at the same time.
- And high-resolution timers, which let programmers carefully test Web page performance.
- Apple hires legendary designer Marc Newson ahead of ‘iWatch’ launch
- More signs point to mobile payments for iPhone 6 — and for an iWatch
- Mac status report: More laptop and desktop upgrades still possible for 2014
- iPhone unit sales could soar to 235M in 2015 — analyst
- How an Apple iWallet might work
- Big-screen iPhones, iWatch start the clock on Apple’s ‘amazing’ product spree
- You need to know about NFC and mobile payments. Here’s why.
- iOS 8 will help photo search, but won’t fix it
- Staples trims $100 off its iPad lineup
- How Apple could put Siri ahead of the pack