bethgrace5 / sequoia-grove

Angular JS / Java Spring Web Application to Assist Employee Scheduling
http://bethgrace5.github.io/sequoia-grove/
4 stars 3 forks source link

How to Store Scheule - Its own database table, or construct from gathering info from other tables #2

Closed bethgrace5 closed 9 years ago

bethgrace5 commented 9 years ago

Controller could construct it by using the date range to find all:

Save schedule to localstorage, and send to database when published? Probably best to treat a schedule like a dataset from datagatherer, save it to localstorage, but save separate components to database separately. The controller can build the schedule after finding all the necessary pieces.

Past schedules are not editable, they should be saved as PDF-whkhtmltopdf or as an image - The PDFs should be downloaded? I don't think they should/can be stored to the database.

bethgrace5 commented 9 years ago

Database is stored by gathering the individual information and displaying it on the front end. There is no need to make one giant database object.