On 06/02/2013 20:12, Kevin Grandon wrote:
> Hi All,
>
> It seems like there's been a lot of frustration expressed around our development environments. I thought I'd send out an email with some thoughts to see if we can spark a discussion to unify our development experience.
>
> Just for comparison: iOS developers use *the* XCode emulator. Android developers use *the* android emulator. FFOS devs use r2d2b2g, b2g desktop, or FF nightly.
Apps is not only for FFOS it is also for Firefox.
>
> There's clearly a problem that we aren't focused on our developer offerings here.
That's actually makes sense - there was no third party developers before
and nothing has been released yet. Also it does not seems the main role
of Gaia developers to do that - even if Gaia developers have spend a lot
of time making apps and can share many things.
There is a team at Mozilla dedicated to making third party developer
life easier but I'm not sure which mailing list they use.
> We don't have a single development experience which we offer as a product and is easily debugged. I think we can do a lot better, and in my mind we should be using the browser for all FFOS app development.
I agree 100%. In my secret dreams Firefox will be the only tool we need
and developers will have all the devtools for free and there will be a
devtool to generate a manifest, etc...
There are severals things to do and imho the best is to work closely
with the devtools team to make sure the default set of tools that come
with Firefox works for the Mobile as well.
Having a list of tools needed and a list of bugs where the devtools team
is included will help a lot here.
The first one in my mind is the remote web console working with remote
processes (
https://bugzilla.mozilla.org/show_bug.cgi?id=797627).
Anything else you need?
> There are several possible ways to implement this, here is what I'm currently thinking:
>
> - Use a barebones Firefox install as our *only* supported emulator
That's a goal I share. That's actually quite easy for many apps. I would
like a way for device-width to be hackable in the responsive design mode.
> - Support all WebAPIs fully. (Can the dialer make a call with WebRTC?)
I feel like this is a call for the WebAPI team and you should include
them in the discussion instead of only dev-gaia.
Also I'm not 100% convinced that 'all' WebAPIs makes sense at all. For
example all the certififed apps are nice but since they won't be easily
accessible for third party apps user focusing on what apps authors will
be able to access seems better to me.
> - Support all system fonts, shared resources, building blocks.
Those are easy to support.
> - Perhaps the developer could launch the app by drag/dropping the manifest on firefox, or navigating to it.
>
>
> There are stepping stones we could take to get to that point, but in my eyes that is the golden land. Please send your thoughts, and if there's interest, let's find a way to unify our developer offerings.
A first step imo would be to make Gaia apps hackable in Firefox (again).
That would moves most of the Gaia devs back on the Firefox train. The
main trick here is permissions beeing broken, hacking
tools/extensions/httpd/bootstrap.js to do the same thing that
PermissionsInstaller.jsm in Gecko should do the trick.
I'm running out of battery but that sounds a sane discussion to have :)
> Thanks,
> Kevin
> _______________________________________________
> dev-gaia mailing list
>
dev-...@lists.mozilla.org
>
https://lists.mozilla.org/listinfo/dev-gaia