We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2014-03-01 13:43:26 +0200 |
I wonder whether there is any chance to see a JavaScript API (or wrapper application), allowing acess to SailfishOS's backend (or at least most important parts of it) without the need to write C++ code, like
Advantages
As a consequence, I would expect more developers to contribute apps for SailfishOS. Maybe app security would even be out of question then - why not have isolated apps based on JavaScript (with strong limitations) and mightier programs allowing additional functionalities with C++ programming (and thus, requiring more trust into the developer, like current applications)?
Not sure whether all of this is feasible, but if so.... I'd love to have it :)
2 | retagged |
I wonder whether there is any chance to see a JavaScript API (or wrapper application), allowing acess to SailfishOS's backend (or at least most important parts of it) without the need to write C++ code, like
Advantages
As a consequence, I would expect more developers to contribute apps for SailfishOS. Maybe app security would even be out of question then - why not have isolated apps based on JavaScript (with strong limitations) and mightier programs allowing additional functionalities with C++ programming (and thus, requiring more trust into the developer, like current applications)?
Not sure whether all of this is feasible, but if so.... I'd love to have it :)
3 | No.3 Revision |
I wonder whether there is any chance to see a JavaScript API (or wrapper application), allowing acess to SailfishOS's backend (or at least most important parts of it) without the need to write C++ code, like
Advantages
As a consequence, I would expect more developers to contribute apps for SailfishOS. Maybe app security would even be out of question then - why not have isolated apps based on JavaScript (with strong limitations) and mightier programs allowing additional functionalities with C++ programming (and thus, requiring more trust into the developer, like current applications)?
Not sure whether all of this is feasible, but if so.... I'd love to have it :)
Edit: as pointed out by @Fuzzillogic and @MartinK below, Qt Project already offers a substancial API for QML, allowing access to backend functionality via JavaScript.