|Mozilla-Style Web Apps With Mortar|
|Written by Ian Elliot|
|Tuesday, 08 January 2013|
Mozilla has a lot riding on its particular view of a web app being accepted by as many programmers as possible. To help with the task of building web apps Mozilla-style, we now have Mortar - a set of templates and tools.
Mozilla has a number of platforms in mind for its particular style of web app. You can run a Mozilla web app on the desktop using Firefox, on Android using Firefox for Android and on Firefox OS. Of course the big problem is that Firefox OS, which promises to be the biggest market, doesn't really have any hardware support at the moment. Both the desktop and the Android options also lag behind Firefox OS in the sense that many of the APIs are not implemented.
Even so the idea of creating web apps using Mozilla's APIs is an attractive one on the assumption that these have a reasonable chance of being implemented in the future and even becoming standard.
The manifest can be used to install the app so that you can test it in this mode. The choice of require.js to implement a module system is a good one but volo is far less well known. This is build on top of Node.js and it acts as a sort of management and control tool. You can use it to introduce new modules to the project and even to start a development server so that you can see your project run.
Currently there are four major app types supported:
If you would like to see Mortar in action then take a look at the video demo:
To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin, or sign up for our weekly newsletter.
or email your comment to: email@example.com
|Last Updated ( Tuesday, 08 January 2013 )|