More and more convinced that SPAs and REST do not mix well together.
4
1
2
@szymonpobiega I disagree. Which is why we came up with ROCA (roca-style.org)
2
@stilkov Because they make hypermedia-based flows difficult by forcing static routing in client side code.
1
Replying to @SzymonPobiega
@szymonpobiega Make no mistake, I hate SPAs. But I believe they can be part of a RESTful app if they use a hypermedia format such as HAL.

Jun 4, 2014 · 7:09 PM UTC

2
Replying to @stilkov
@stilkov you can build SPAs to request hypermedia-rich responses, parse (optionally render) the data/controls. rinse/repeat. @szymonpobiega
1
1
Replying to @stilkov
@stilkov I like SPA as way to build UI for tools (e.g. a build servers). They require less stuff on server side (e.g. no view engine)
2
@SzymonPobiega Yes, good point. Sometimes they have benefits. Just not enough of them to convince me in general.
1