Book Image

Learning Firefox OS Application Development

By : Tanay Pant
Book Image

Learning Firefox OS Application Development

By: Tanay Pant

Overview of this book

With broad compatibility, the latest in web technologies, and powerful development tools, Firefox is a great choice for both web developers and end users. Firefox OS’s promotion of HTML5 as a first class citizen opens up the walled gardens of mobile application development for web developers. It is because of this initiative that no special SDKs are required to develop for Firefox OS. This book will help you excel in the art of developing applications for Firefox OS. It sequentially covers knowledge building, skills acquisition, and practical applications. Starting with an introduction to Firefox OS, usage of WebIDE, and then the application structure, this book introduces applications of increasing complexity with each chapter. An application that measures your tapping speed, a geolocation tagging application, and a photo editing and sharing application are the three applications that will be built from scratch. You will learn about topics such as the difference between various types of Firefox OS applications, application manifest files, offline apps, and designing principles for applications. You will also learn to test and submit the applications to the marketplace and finally maintain the repository of the Firefox OS application. By the end, you will be able to develop beautifully designed, fully-fledged, and rigorously tested Firefox OS applications and also share them at the Firefox OS Marketplace.
Table of Contents (17 chapters)
Learning Firefox OS Application Development
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Version controlling your application


Let's now learn how we can version control our Firefox OS application for backup, where we store different versions, and collaboration. First of all, you will require Git on your system. You can download Git from Git's official website: http://git-scm.com. Simply download the application, and it will set up both the graphic-based and the command line-based Git for you. Let's continue our work further through the command line. I will go through the bare essentials of Git that are required to upload our source code to GitHub so that we don't have any difficulty deploying the application to RHCloud via Git. If you want an in-depth tutorial of Git, you need to take a look at the official documentation on their website, it is really very good.

So, I hope you have Git installed and working by now. You can go to the command line and type the following command to check if it's installed correctly:

git -version

If you get the version number as the output, then...