My company, VitalSource, which bought my startup Verba did this good thing too! We have over a 100k ebooks from top higher ed publishers (including CUP) available for free (download to your phone or computer, or use online)! You need an institutional email address from a 2- or 4-year non-profit semester based institution. Only America right now but we’re working on international! Check it out at https://get.vitalsource.com/vitalsource-helps or log in / create account at https://bookshelf.vitalsource.com, where you can download the apps too. Limited to seven titles per user, and you are automatically opted-out of any marketing now or ever and we won’t share your info with anyone. Enjoy and good luck to everyone, especially those whose campuses have moved to online instruction and you maybe lost access to physical books left behind, shared with a friend, or from the library!
Why do client-directed messages work poorly with REST?
If there are any other helpful links on REST implementation, particularly working with legacy systems who are not already RESTful, that would be helpful for my start-up.
The reason is simple: REST forbids a server being aware of client state. So practically, this means sessions are off limits; cookies for managing sessions are meaningless in such a world.
To send an event to a client, though, means the server must have some sort of awareness of the client. Otherwise, it wouldn't know to send the client a message in the first place.
So, can you have events in conjunction with REST? Sure. Just realize once you do that, your application isn't 100% RESTful. It's RESTful and... RESTless I guess :)