Keon and Peak: Two Firefox OS smartphones tested
Not Quite Local
As a result, the software feels like a local program, but appearances can be deceptive. Under certain circumstances, the browser continues to load the entire application code every time you start a server from the Internet. Apps installed in this way are not necessarily packaged apps that Firefox OS has unpacked on the local filesystem. Purely on the basis of the starter icon, the user cannot currently distinguish local apps from Internet services.
The browser run time in which the application runs remains an Internet browser: It opens links to HTML pages without any notification that it is leaving the local filesystem. Only time will tell whether users feel comfortable with this blurring of the boundaries between online and offline content, and this approach could potentially create new security problems.
Web developers need to learn very few new tricks to develop an app for Firefox OS: The same basic techniques are used as for normal web applications. Developers can implement programs in JavaScript on both the server and client sides.
The first specific challenge is the small screen. At this point, the apps do not greatly differ from the long-established mobile versions of larger websites. The only requirement for the installation of an app is the manifest [9], a simple JSON file. Of course, the user will prefer client-side apps, which can also be used offline thanks to cache management or local installation.
JavaScript Is Mature
The art of client-side programming in JavaScript has long reached a certain level of maturity: JavaScript is now as powerful as many of the classic scripting languages. The browsers come with a debugger, and IDEs [13] [14] support the language well. A wide selection of libraries and frameworks are present that often follow the model-view-controller paradigm (Table 3).
Table 3
Frameworks and Libraries
Frameworks | URL |
---|---|
High-level frameworks |
|
Marionette.js |
|
Thorax |
|
Low-level frameworks |
|
Backbone.js |
|
jQuery (DOM abstraction) |
|
User interface |
|
jQuery UI |
|
Sencha Touch |
|
SproutCore |
Light and Shadow
Many animation effects, but also functional features of a user-friendly GUI, are definitely easier to implement in HTML5 and CSS3 than in native graphical toolkits. One advantage of Firefox OS, however, is that there are more potential programmers around than for Android or iOS: Virtually any web developer can get started, with no major barriers to entry, although there are some undeniable drawbacks: JavaScript as a scripting language is inevitably slower than Java or C++, which has an effect on battery life.
In terms of security, browsers do not have good reputations. Although JavaScript is better than many C++ or Java developers might think, it still has inherent defects, such as the 64-bit limitation for floating point numbers. Additionally, whether users will be comfortable with the blurring of the online-offline boundary is not yet known.
Infos
- Boot to Gecko wiki: https://wiki.mozilla.org/B2G
- Firefox OS simulator as a plugin: https://addons.mozilla.org/de/firefox/addon/firefox-os-simulator/
- Geeksphone:http://www.geeksphone.com
- Ubuntu Touch: https://wiki.ubuntu.com/Touch/
- Palm (HP) WebOS: http://en.wikipedia.org/wiki/WebOS
- B2G on GitHub: https://github.com/mozilla-b2g/
- Geolocation API: https://developer.mozilla.org/en-US/docs/WebAPI/Using_geolocation
- WebAPI: http://wiki.mozilla.org/WebAPI
- App manifest: https://developer.mozilla.org/en-US/docs/Web/Apps/Manifest
- Permissions: https://developer.mozilla.org/en-US/docs/Web/Apps/App_permissions
- Open Web Apps: https://developer.mozilla.org/en-US/docs/Web/Apps
- App installation: https://developer.mozilla.org/en-US/docs/Web/Apps/JavaScript_API
- NetBeans for HTML5: https://netbeans.org/features/html5/
- Eclipse for JavaScript: http://www.eclipse.org/downloads/packages/eclipse-ide-javascript-web-developers/heliosrc2
« Previous 1 2 3 4 5
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

News
-
First Release Candidate for Linux Kernel 6.14 Now Available
Linus Torvalds has officially released the first release candidate for kernel 6.14 and it includes over 500,000 lines of modified code, making for a small release.
-
System76 Refreshes Meerkat Mini PC
If you're looking for a small form factor PC powered by Linux, System76 has exactly what you need in the Meerkat mini PC.
-
Gnome 48 Alpha Ready for Testing
The latest Gnome desktop alpha is now available with plenty of new features and improvements.
-
Wine 10 Includes Plenty to Excite Users
With its latest release, Wine has the usual crop of bug fixes and improvements, along with some exciting new features.
-
Linux Kernel 6.13 Offers Improvements for AMD/Apple Users
The latest Linux kernel is now available, and it includes plenty of improvements, especially for those who use AMD or Apple-based systems.
-
Gnome 48 Debuts New Audio Player
To date, the audio player found within the Gnome desktop has been meh at best, but with the upcoming release that all changes.
-
Plasma 6.3 Ready for Public Beta Testing
Plasma 6.3 will ship with KDE Gear 24.12.1 and KDE Frameworks 6.10, along with some new and exciting features.
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.