Skip to content
mairead edited this page Oct 21, 2014 · 7 revisions

Questions

Features

Automated JSDocs created during build process for each feature release using grunt-jsdoc plugin Hosted JSDocs to link to from Github Page. Allows users to view live documentation

Pros and cons of Canvas vs. SVG

Pros of SVG

  • Creates live DOM elements
  • Easier to save image format in database
  • Easier to create two way data binding should the application move to an AngularJS architecture
  • Easier to add meta data to image elements
  • Could simplify reporting process for querying completed Eyedraws
  • Clinicians could edit and upload their own sketches using SVG editing software
  • Removes dependancy on canvas and simplifies authoring process

Cons of SVG

  • Moving to a pure SVG application requires significant and costly reworking of the entire code base

Pros of Canvas

  • Retain existing codebase and knowledge of current processes

Cons of canvas

  • Generating canvas commands from SVG sketches is currently manual. This should be automated.
  • Completed EyeDraws are bitmap images and reporting has to be generated by JSON strings
Clone this wiki locally