サービス終了のお知らせ NAVERまとめは2020年9月30日をもちましてサービス終了いたしました。 約11年間、NAVERまとめをご利用・ご愛顧いただき誠にありがとうございました。

NOTE: we presented this project last Sunday at FOSDEM, but not everyone could make it to Brussels, so here’s a post explaining what node-firefox is and how can it help you superturbocharge your Firefox OS app development! At Mozilla we’re always looking for ways in which we can make developers’ lives easier. When aspiring app developers told us that it was cumbersome to get started writing Open We
本連載は、今回で最終回になるので、アプリをFirefox Marketplaceに公開する前に注意すべき点やアプリ開発時のポイントをご紹介します。 アプリのファイルサイズに注意する これまでご紹介してきたライブラリで、Firefox OSらしいユーザインターフェースを実現する「Gaia」は、パッケージに含まれるファイルすべてをアプリに同梱すると、アプリのサイズが数メガになります。これで動作に支障が出るわけではありませんが、Firefox OSのメイン市場である新興国では、高速モバイル通信環境を使えない可能性があるのと、端末のアプリ用ストレージも限られているので、できるかぎりアプリのサイズを小さくして、手軽にダウンロードできるように心がける必要があります。 アプリのサイズを小さくするのは、アプリに内包するGaiaのファイルを間引くだけで簡単に行えます。 具体的には、HTMLファイルのダグ内で
l10n.jsの使い方 日本の開発者が造るアプリなので、日本語対応は当然としても、他国のユーザにもアピールできるように英語にも対応します。小さな歩みかもしれませんが、世界への第一歩となるはずです。また、多言語化を優先しなくても、l10n.jsを使えば、メッセージをソースから切り離せるので、メッセージ管理が楽になるメリットがあります。 ファイルの配置の仕方 l10n.jsを使うには、以下のようにファイルを配置します。 localesフォルダの下に、対応言語ごとにフォルダを作成して、そこにメッセージリソースファイルを配置します。 ファイルの配置 \locales \en-US app.properties \ja app.properties i10n_app.ini l10n_app.iniの記述 l10n_app.iniには、言語ごとのメッセージリソースファイルの場所を記述します。Fire
初回は、ツール群の使い方にとどまりました。今回は、もう少し踏み込んでいきます。 Firefox OSのアプリを開発するのに、世の中にごまんとあるライブラリを活用しない手はありません。先人が多くの成果を公開しており、大袈裟な話ではなく、選び方次第で開発効率が変わります。数多くあるので、どれを使うか頭を悩ませます。筆者は、以下のライブラリを活用しているので、今回は、その概要と簡単なコードをご紹介していきます。 Gaia(UIパーツ) Backbone.js(MVCライブラリ) I10n.js(多言語化ライブラリ) localforage.js(ローカルストレージライブラリ) 本連載は、技術を取得していただくことを主眼に置いていますが、多くの仕組みに触れることで、さまざまな考え方や切り口を学ぶことができます。技術は、時代に合わせて変化していくものですが、考え方や切り口は、普遍的な部分があります。
[この記事は、米国 Mozilla Hacks ブログに掲載された WebIDE Lands in Nightly の抄訳です。] 編者注:テストに協力される方は、Nightly 版 Firefox で about:config の devtools.webide.enabled の値を変更してこの機能を有効にする必要があります。有効にすると、本日 (2014/06/24) は Tools>Web Developper>App Manager で WebIDE が起動します。明日 (2014/06/25) 以降は Tools>Web Developper>Web IDE に変更されます。 Mozilla Hacks ブログの開発者ツールに関する記事を読んでいらっしゃる方はご存知かと思いますが、開発者ツールはアプリや Web サイトの振る舞いを単に調査するためだけのツールではなくなっています
Firefox OS is an operating system that brings the Web to mobile devices. Instead of being a new OS with new technologies and development environments it builds on standardised web technologies that have been in use for years now. If you are a web developer and you want to build a mobile app, Firefox OS gives you the tools to do so, without having to change your workflow or learn a totally new deve
This document provides an overview of window management in Firefox OS, including the life cycle, layout, orientation, visibility, child windows, history, and animations. It discusses key concepts like how apps are launched and terminated, how their size is affected by factors like keyboards and fullscreen mode, and how the visibility and orientation of apps are controlled. Special apps like the ho
In this tutorial we will be building a notes app (like Evernote) from scratch and deploy it to Firefox OS! See a live demo. A persistent notes app needs a place to store all the notes for a user (so no one else can read it). For this we will use my own backend solution called Sproute. Sproute is a hosted web framework for quickly building dynamic webapps. First create an account with a unique subd
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く