Re: The app: URI scheme

On 25/02/13 15:50, Mounir Lamouri wrote:
> Regarding running twice the same application, I do not see any advantage
> of allowing this and I feel that this is becoming a common pattern (an
> application can't have more than one running instance).

I tend to agree, I don't see the advantage either. However, while this 
is a common pattern in mobile operating systems, this isn't historically 
true on PC.  It also is a distinct change from web pages, where people 
commonly have multiple tabs or windows open to the same site, so it 
would be worth documenting in the runtime and execution model if this is 
an intentional limitation that is being imposed.


> It is true that two installed instances of the same hosted applications
> would share the same data but this is also true for two websites on the
> same origin and will be true for two applications sharing the same
> origin. If a user installs"http://example.com/maps/manifest.webapp"  and
> "http://example.com/reader/manifest.webapp", those applications will be
> sharing the same data,*exactly*  as they would in a normal web context.
>

If I understand you correctly, this means that two different, hosted 
applications can have the same origin?

I have no particular issue with that, I'm just trying to clarify the 
differences between hosted and packaged apps.  This seems like another, 
as two packaged apps cannot share the same origin according to your 
proposal.

The more that I understand your proposal, the more I see these two types 
of application as being quite different.  Is it fair to characterise 
Firefox OS' hosted apps as "websites with new apis" and packaged apps as 
"native-like mobile apps built with web languages"?  Or is the intention 
that they be treated as completely equal applications?

Best wishes,

John

Received on Tuesday, 26 February 2013 12:57:53 UTC