On Mon, Jul 8, 2013 at 1:47 AM, Stefan Arentz <
sar...@mozilla.com> wrote:
>
> On Jun 20, 2013, at 5:37 AM, Ben Francis <
b...@krellian.com> wrote:
>
> 1) It risks giving third party app developers the impression that they
> should build Firefox OS apps using Firefox OS UI components, instead of
> building web apps for the web.
>
>
> I think you are actually asking two things here:
>
> 1) Should developers build web apps for the web
> 2) Should developers use Firefox OS UI components for Packaged Firefox OS
> Apps
>
I wasn't asking that at all and I strongly disagree that hosted and
packaged apps should be considered differently in this context. Packaged
apps are just a distribution mechanism we came to as a compromise until we
can create something more "webby" [1].
> On the other hand, don’t we also want to have awesome and good looking
> *packaged privileged* apps for Firefox OS? Apps that work offline, use our
> WebAPIs, etc.?
>
Any API which is currently specific to Firefox OS should be considered a
bug, and should either be deprecated or standardised at some point in the
future. They're not our APIs.
>
> Those are two different missions but I don’t think they are mutually
> exclusive.
>
Mozilla's mission is to promote openness, innovation & opportunity on the
web [2]. Not Firefox OS. The goal of the Firefox OS project is to show that
"the web can displace proprietary, single-vendor stacks for application
development" [3]. Not create another one.
> Sanctioning this web site via Mozilla
> branding adds weight to that impression. Why should an open web app running
> on Firefox OS, Tizen, Ubuntu Touch, OS X, Windows, Linux, Android and
> Chrome OS follow the interaction and visual design conventions used in
> Gaia?
>
>
> Because users might appreciate a consistent look and feel for third-party
> apps?
>
> I don’t actually know that for sure. Time will have to tell how that works
> out on Firefox OS. Maybe it is all different on this platform.
>
Consistent with what? iOS apps only work on iOS. The web is different.
Should I make my web sites "consistent" with Internet Explorer?
> But ... if it is any indication, I can tell you from experience that apps
> on iOS that have an inconsistent look and feel are not received as well as
> an are less successful than apps that use the system provided UI.
>
Do you have data to back that up? Facebook and Twitter seem pretty
successful and they both have a distinctive look and feel quite separate
from the platforms they run on.
> Personally I think there are plenty of good web libraries and UI toolkits
> out there already, but if we do want to provide our building blocks for
> re-use then we need to do so in a way more easily consumable by third party
> developers, and have clearer messaging around what it means to build an app
> for the open web.
>
> I have mixed feelings about this. The Firefox OS built-in apps do not use
> frameworks for a good reason. They are lean and mean and start up quickly
> and have very little latency and a small memory footprint.
>
FWIW, that isn't why Firefox OS built-in apps don't use a framework. We
intentionally built them the hard way to force us to expose gaps in the
platform and fix them, rather than filling those gaps with a framework.
> I don’t know if you have looked at something like jQuery Mobile or Sencha
> recently but the demos are teeth grinding on low-end devices.
>
Let's help them fix that.
>
> Personally I think we should try to encourage people who write packages
> apps to follow Gaia UI/UX and Coding styles.
>
Why? If the interaction and visual design conventions in Gaia change
dramatically in version 2, should the whole of the web re-design their apps
to be in line with that?
As a Gaia developer I wouldn't necessarily recommend that third party app
developers follow the coding styles in Gaia. I don't think Gaia even
follows the coding styles in Gaia.
There's nothing wrong with providing re-usable bits of code to help people
build web apps, that's good. But I would argue that running a web site
called "Building Firefox OS" encouraging people to "start creating [their]
own apps" specifically targeted at Firefox OS, using the same visual styles
as Firefox OS, using components that don't yet work cross-platform
potentially undermines Mozilla's mission. Let's not add to the problem
we're trying to solve, through well intentioned but misguided messaging.
Ben
1)
https://groups.google.com/forum/#!topic/mozilla.dev.webapps/hnCzm2RcX5o
2)
http://www.mozilla.org/en-US/mission/
3)
https://groups.google.com/forum/#!msg/mozilla.dev.platform/dmip1GpD5II/CzJSSUMq5HsJ