Newton Sheikh
Newton Sheikh

Reputation: 1396

Firefox OS 'HELLO WORLD' development

i want to develop apps for Firefox-OS but i simply cant understand where to start from. Okay i have firefox Os simulator installed, i got my notepad open, I know html 5, css3, JS, jQuery bla bla bla...I googled but simply couldnt find the tutorial for HELLO WORLD FIREFOX OS app. any help guys. thanks

Upvotes: 0

Views: 1901

Answers (4)

grahamramsey
grahamramsey

Reputation: 46

I think the above answers are a bit out of date. I think the fastest/easiest way to start development is to

1) Download Firefox Developer Edition and start it up

2) From Firefox developer edition, launch the WebIDE (click on the little spanner, and choose WebIDE). From there you can create a hello world application.

For more information see the WebIDE documentation

Upvotes: 0

Flaki
Flaki

Reputation: 578

As far as "Hello World!"-type of beginner-applications concerned, I think fxosstub is as close as it gets. Also as you will most definitely want to work with some of the Open Web API-s, so I'd recommend studying Robert Nyman's Firefox OS Boilerplate App, which itself, is based on the above mentioned fxosstub application, and is a great way to learn a thing or two about the Open Web API-s and about accessing the mobile device hardware through JavaScript API calls in Firefox OS.

Those two articles mentioned both appeared on Mozilla Hacks, mozilla's developer blog, which is treasure trove of - among other things - Firefox OS related articles and resources. Another great place to start would be the Quick start guide in the Developer section of the Firefox Marketplace.

For technical reference you should check out the Mozilla Developer Network - it contains a host of very useful information about Web Applications, Web API-s and general web development, too.

For Firefox OS UI-design samples, resources & best practices you might want to check out the Mozilla Brick Library (a successor to the former Building Firefox OS website) if you want your app to blend in visually with the core applications in Firefox OS.

Also there is a pretty active community at the Mozilla webapps mailing list where you might find lots of helpful chaps, well-versed in the intricacies of Firefox OS, and would gladly help you out whenever you might find yourself stuck during development.

Upvotes: 5

gasolin
gasolin

Reputation: 2334

Here is a BMI calculator webapp that follow Firefox OS build-in apps (Gaia) structure and use Firefox OS build-in styles. Check the demo to see how real hosted webapp looks like on any device.

(For a web platform, you can use whatever you are familiar with, but BMI calculator is a kind of hello world type app though...)

Or here is the webapplate project, which has preconfigured webapp template for hosted or package reuse. BMI calculator webapp is modified from that.

(Note Firefox OS build-in styles are not cross-browser friendly yet. )

Upvotes: 2

Matthias Van Parijs
Matthias Van Parijs

Reputation: 271

This took me about a minute to find. A step by step guide. More info related to app development for FF OS can be found at their official page

Edit: A video tutorial with the use of the jQuery library.

Upvotes: 4

Related Questions