SummerOfCode/2013/SecurityReport/WeeklyUpdates/2013-09-09

From MozillaWiki
< SummerOfCode‎ | 2013/SecurityReport
Revision as of 06:02, 19 September 2013 by Patilkr (talk | contribs) (Created page with "=== 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. ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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.