Book Image

Mastering D3.js

Book Image

Mastering D3.js

Overview of this book

Table of Contents (19 chapters)
Mastering D3.js
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The development workflow


In this section, we will provide an overview of the workflow to create and distribute our charting package. We will also discuss some conventions regarding version numbers and the process of creating a release, introduce tools that will help us to manage the dependences with other projects, run the tests, and automate the package building process.

Writing the code

We begin by creating the project directory and the initial package content. During the development of our charting package, we need to perform the following actions:

  • Implement new features or modify the existing code

  • Check whether our code follows the coding guidelines

  • Implement tests for the new functionality or create additional tests for the existing features

  • Run tests to ensure that the modifications don't introduce unexpected behaviors or break the public API

  • Concatenate the source files to generate a single JavaScript file that contains the charting package

  • Generate a minified file

When implementing new features...