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

Chapter 9. Maintaining Your Firefox OS Application Code Professionally

In this chapter, you will study how to maintain the source code of your application, professionally, using a distributed version control system such as Git. You might already make use of Git for version controlling, so we will just refresh our memories a bit on this topic by explaining the essentials. You will also how to host your project in a remote cloud repository such as GitHub and make your code open source so that other developers can also contribute to your Firefox OS application. You will also observe how you can deploy continuous integration systems such as Travis CI to take care of automated tasks, such as tests, with each change in the repository. Lastly, you will learn how to deploy hosted applications to RHCloud with the help of Git. We will go through the following topics in detail:

  • Setting up an account at GitHub

  • Version controlling your application

  • Uploading your local repository to GitHub

  • Setting up Travis...