From MozillaWiki
Jump to: navigation, search

This Week

  • In this security report tool, I am generating a .htm downloadable file. This file contains security errors and some constant strings to write HTML code. To store constant strings I used variables in the program. But variables are created each time tool is invoked. It incurs extra overhead of creation of variables each time. Therefore, I was looking for a mechanism that can create variables only once and can be used multiple times whenever program is invoked.
  • After reading Jetpack SDK documentations, I found simple-storage API is a best match for my needs.
  • I used simple-storage APIs to store constant strings. Simple storage APIs provide persistent storage. Thus it avoid creations of constant string variables each time program starts and makes it a bit faster.