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
@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.
2
@stilkov you can build SPAs to request hypermedia-rich responses, parse (optionally render) the data/controls. rinse/repeat. @szymonpobiega
1
1
Replying to @mamund
@mamund I fully agree. @SzymonPobiega

Jun 4, 2014 · 7:18 PM UTC

1
Replying to @stilkov
@stilkov yeah, that reply should have been directed to @SzymonPobiega w/ you as cc. your roca-style.org covers this already, right?
1
@mamund @SzymonPobiega That’s what it’s supposed to do, yes.
2