scala, slick and NotesService
I forgot to add a full version of the NotesService that was discussed in a previous blog. Let's revisit the NotesService interface: /** * Primarily for larger notes/docs storage. * The API allows the note content to be retrieved * separately. Sometimes, we want to separate * out the larger, less changing content from * our core database into a separate component. A note * can be a picture, a spreadsheet, HTML, XML or * even just a text document. While times, * these types of documents are just stored in a * standard RDBMS database, there are other options * such as a document management systems or * file-system. * * This trait does not prescribe how to * create {{{Note}}} objects. Also, the {{{Note}}}, * {{{NoteId}}} and other types will probably escape * whatever object instantiates this object * so the types will need to be accessible to the outer * world for working with the service. That means * we will have to watch-out for path-depe...