Effectivement, de ce que je comprends d'un post récent des développeurs de LuneOS sur webOSnews, c'est bien dans ce que tu décris que réside la principale différence :
The issue with Firefox OS and webOS compability is the different philosophy of the approaches. There is stuff that web apps usually are not allowed to do for security reasons. You don't want a web page to clutter your disk or read all of your data. For example. Also maybe you don't want it to spy on you, using your web cam or determine your location.
But all those are things that apps on smartphones need to do. So the webOS approach was to create "Services" for that. That means, if there is something that you can't do in JS, because there is no API for it, you do an Ajax like call to some service that does it for you.
Mozillas philosophy is very different. They just create APIs from scratch and push them to W3C and see if they get accepted as standard JS API or not. The benefit of this is, that if the API is accepted your apps run everywhere on modern browsers (and normal browsers will ask even more questions ). If it is not accepted you'll be locked to the gecko engine, though.
Usually APIs are not accepted without changes but a similar thing will be designed by W3C. Some APIs already came from that approach and also made it into webkit.
You sure can run Firefox OS apps on webOS. Just create an appinfo.json and give it a try. If there are features that our webkit version does not support, though, you are lost. Switching this to gecko is not so easy (especially, because we will lose enyo 1.0 compability). We discussed that for some time, but currently it is unfeasible.
So at the moment it is not really our decision if we are compatible to Firefox OS apps or not. It is more a (to some extend) political decision between Mozilla, W3C, Google, Apple, .... and who ever tries to influence web standards to their liking. If it gets a standard and webkit implements it things will eventually also be available on LuneOS. The currently used webkit is very top of the notch in that respect and supports a lot of features. >
Pour autant, et désolé si ça a été interprété différemment, mon intention n'était pas de troller mais bien d'interroger notamment l'interface de FirefoxOS. Celle-ci est, à mon sens, à des années lumières de celle de webOS (savamment copiée depuis par les marchands de pommes et les Droïdiens) et gagnerait à reprendre les principes de fonctionnement de WebOS/LuneOS. Sur les technologies utilisées, j'atteins mes limites techniques, mais WebOS était à mon sens un OS développé pour faire marcher du JS/HTML en natif (voir le post ci-dessus). Pardon si je me trompe, mais il ne me semble pas que le fait d'avoir redéveloppé l'interface en QT mette en cause cette base de fonctionnement.
[^] # Re: A mon sens LE meilleur OS mobile totalement libre
Posté par lcatinaud . En réponse à la dépêche webOS se relance en LuneOS. Évalué à 0.
Effectivement, de ce que je comprends d'un post récent des développeurs de LuneOS sur webOSnews, c'est bien dans ce que tu décris que réside la principale différence :
Pour autant, et désolé si ça a été interprété différemment, mon intention n'était pas de troller mais bien d'interroger notamment l'interface de FirefoxOS. Celle-ci est, à mon sens, à des années lumières de celle de webOS (savamment copiée depuis par les marchands de pommes et les Droïdiens) et gagnerait à reprendre les principes de fonctionnement de WebOS/LuneOS. Sur les technologies utilisées, j'atteins mes limites techniques, mais WebOS était à mon sens un OS développé pour faire marcher du JS/HTML en natif (voir le post ci-dessus). Pardon si je me trompe, mais il ne me semble pas que le fait d'avoir redéveloppé l'interface en QT mette en cause cette base de fonctionnement.