Firefox OS and Drupal

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
ricardobeltranl's picture

Hi all,

A couple of days ago I had lunch with some guys from Mozilla Mexico and we were wondering how will the future of Firefox OS and Drupal will look like together. If I got it right FireFox OS does not have native apps, instead it will have resident app. In few words that means that FireFox OS will run out of the box HTML5 written apps. Please let me know your opinion about how would you think Drupal and FirefoxOS will play together, some thoughts on this topic could be:

1) How far is a Drupal responsive site to become a Firefox OS resident app.
2) How easy would be to have a point and click system to create FirefoxOS apps from Drupal sites
3) Being Drupal 8 a restful server, how does it help to bring both systems together?

Please let me know yout thoughts about the future of these great Open Source projects!
Ricardo

Comments

Hello Ricardo Today I attend

-enzo-'s picture

Hello Ricardo

Today I attend a lecture organised by http://mozilla-costarica.org/blog/ about how to build Firefox OS App.

So I try provide my ideas, based in the lecture I receive today.

1) How far is a Drupal responsive site to become a Firefox OS resident app.

R:// We can't use Drupal, because the Firefox OS App are HTML 5/ CSS Client Side Application.

2) How easy would be to have a point and click system to create FirefoxOS apps from Drupal sites

R:// As I said before must be a Client Side Application, you can use any js framework i.e Backbone, AngularJS, etc.

3) Being Drupal 8 a restful server, how does it help to bring both systems together?

R:// Sure Drupal 8 will be an option. You can create Firefox OS App to work offline if you have all resources you need. But the common scenery will be an App with Internet interaction, so you need the basic CRUD operation using Ajax Call and Drupal 8 could be your backend. But you don't need wait until Drupal 8, Services is available since Drupal 6.

Remember I'm not an expert Firefox OS App developer.

enzo - Eduardo Garcia

Then what should be built ?

ricardobeltranl's picture

Thanks Enzo,

Then what should be built in order to fill the gap between Firefox OS and Drupal?
I am considering apps that could work online/offline o synching offline information when they detect connectivity.

R

Ricardo Beltrán
CEO, Indava

Nothing changes

DevElCuy's picture

On android you have Java, on iPhone you have Objective C and on Firefox OS you have HTML5 + Javascript + CSS3. Everything runs natively. Drupal is your cloud data store, where you store online data. And your phone is the user interface, where you store all/part of your data. If the phone is stolen/destroyed or you just buy a new one, you have to sync the data back from your online storage. If phone is off-line, is just the reverse, the phone sends updated data to the online storage, perhaps needing to merge some stuff (the hardest thing).

The question is, how does Firefox OS stores data in your phone? sqlite3?

--
[develCuy](http://steemit.com/@develcuy) on steemit

The big thing to keep in mind

Jamie Holly's picture

The big thing to keep in mind with FirefoxOS is that while the apps are built in HTML5 technologies, there are various APIs that are made available to apps in Javascript, as compared to native code in Android, iOS, Windows, etc. These are things like accessing device features you won't have on a typical, web-based app, such as network status, phone status, push notifications, battery status, etc. Accessing any of those APIs require varying permissions and coding depending on the platform. Since Drupal is and will continue to be a web based app, any device integration will always require that 3rd party glue (ie: Phonegap/Cordova).

Having said that, Drupal has worked great with integrating with that "glue" and that integration will get much stronger in D8. I've even done it for clients still running D6 (just launched an app on Christmas day for a client). It authenticates, retrieves content and even sends push notifications all via D6.


HollyIT - Grab the Netbeans Drupal Development Tool at GitHub.

Mobile

Group organizers

Group categories

Mobile

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: