title: Best approach for (drawing and) storing a floorplan?
body: <p>I've a project coming up which needs a basic floor plan for an exhibition to be stored in a database.</p>
  
  <p>I'm thinking I'll use HTML5's Canvas and write code for a basic drawing tool for the client (I can't see any libraries specifically the help with this) but <a href="https://stackoverflow.com/questions/26255079/how-can-i-store-floor-plan-dynamically">this thread</a> has been helpful.</p>
  
  <p>I'll be passing the data back to php via jquery (probably using a bit localstorage to speed things up). </p>
  
  <p>My Question: Should I store the 'instructions' for recreating the floorplan as canvas drawing instructions or would I be best to go with the idea of a large grid with each cell of the grid being assigned a different role (corridor, exhibition stand, fire exit)? </p>
  
  <p>Or is my whole approach wrong?</p>