Difference between revisions of "Web applications"

From Pin Eight
Jump to: navigation, search
(Starts here: http://slashdot.org/comments.pl?sid=1949302&cid=34862728)
 
(This page is in severe need of updating)
Line 3: Line 3:
 
This just trades off political restrictions for technical restrictions.
 
This just trades off political restrictions for technical restrictions.
 
A web application environment capable of replacing the native execution environment would require well-documented JavaScript APIs for every input device on the hardware, including multitouch and any built-in camera, accelerometer, and GPS.
 
A web application environment capable of replacing the native execution environment would require well-documented JavaScript APIs for every input device on the hardware, including multitouch and any built-in camera, accelerometer, and GPS.
It would also require a kickass JavaScript JIT engine, WebGL, and full support for HTML5 offline features (CACHE MANIFEST and localStorage).
+
It would also require a highly optimized JavaScript JIT engine, WebGL, and full support for HTML5 offline features (Service Workers and localStorage/IndexedDB).
As far as I know, current tablets aren't entirely there yet.
+
It took several years for this situatoin to improve.
  
 
== iPhone and iPad ==
 
== iPhone and iPad ==
 
The browser on the iPod touch, iPhone, and iPad is Mobile Safari.
 
The browser on the iPod touch, iPhone, and iPad is Mobile Safari.
As of January 2011, I haven't been able to find any evidence that Mobile Safari supports WebGL (tried Google <code>mobile safari webgl</code>).
+
It took several years for Safari to gain support for WebGL.
 
I checked for how big a web app could be (tried Google <code>mobile safari offline limit</code>), and [http://stackoverflow.com/questions/2908459/mobile-safari-5mb-html5-application-cache-limit it appears to be limited to 5 MB]. The localStorage object is likewise [http://stackoverflow.com/questions/1921048/limit-of-localstorage-on-iphone limited to 5 MB] (tried Google <code>mobile safari localstorage limit</code>).
 
I checked for how big a web app could be (tried Google <code>mobile safari offline limit</code>), and [http://stackoverflow.com/questions/2908459/mobile-safari-5mb-html5-application-cache-limit it appears to be limited to 5 MB]. The localStorage object is likewise [http://stackoverflow.com/questions/1921048/limit-of-localstorage-on-iphone limited to 5 MB] (tried Google <code>mobile safari localstorage limit</code>).
 
Nor does Mobile Safari appear to [http://stackoverflow.com/questions/3307732/why-does-javascript-run-so-slow-on-iphone JIT compile] the JavaScript due to iOS's [http://daringfireball.net/linked/2010/07/22/android-ios-js-benchmarks especially strong flavor] of [[wikipedia:W^X|W^X]] (tried Google <code>mobile safari javascript jit</code>).
 
Nor does Mobile Safari appear to [http://stackoverflow.com/questions/3307732/why-does-javascript-run-so-slow-on-iphone JIT compile] the JavaScript due to iOS's [http://daringfireball.net/linked/2010/07/22/android-ios-js-benchmarks especially strong flavor] of [[wikipedia:W^X|W^X]] (tried Google <code>mobile safari javascript jit</code>).
 
Even accelerometer support wasn't added until iOS 4.2.
 
Even accelerometer support wasn't added until iOS 4.2.

Revision as of 20:04, 16 September 2019

This is a mini-rant, a short essay refuting a common misconception among users of an Internet forum. If you think this essay is FUD, feel free to explain why on the essay's talk page.

Some people propose to circumvent the political restrictions on applications for mobile phones and consumer tablets, such as the rules of the iPhone Developer Program, by replacing them with web applications. This just trades off political restrictions for technical restrictions. A web application environment capable of replacing the native execution environment would require well-documented JavaScript APIs for every input device on the hardware, including multitouch and any built-in camera, accelerometer, and GPS. It would also require a highly optimized JavaScript JIT engine, WebGL, and full support for HTML5 offline features (Service Workers and localStorage/IndexedDB). It took several years for this situatoin to improve.

iPhone and iPad

The browser on the iPod touch, iPhone, and iPad is Mobile Safari. It took several years for Safari to gain support for WebGL. I checked for how big a web app could be (tried Google mobile safari offline limit), and it appears to be limited to 5 MB. The localStorage object is likewise limited to 5 MB (tried Google mobile safari localstorage limit). Nor does Mobile Safari appear to JIT compile the JavaScript due to iOS's especially strong flavor of W^X (tried Google mobile safari javascript jit). Even accelerometer support wasn't added until iOS 4.2.