presentation
http
business
logic
problem 1:
presentation depends on the interaction
flow, and mobile flows are really
different
presentation
http
business
logic
presentation
http
problem 2:
conversation state shared between client
and server. conversation state on
server leads to “session abuse”
presentation
http
business
logic
presentation
http
problem 2:
conversation state shared between client
and server. conversation state on
server leads to “session abuse”
presentation
http
business
logic
presentation
http
problem 2:
conversation state shared between client
and server. conversation state on
server leads to “session abuse”
n
io
presentation
t
http
a
s e
business
logic r t
e a
v t
presentation
n s
http
c o
problem 2:
conversation state shared between client
and server. conversation state on
server leads to “session abuse”
n
io
presentation
t
http
a
ap s e
pl business
logic
ic r t
e a
st at
v t
presentation
at io n s
http
e n
c o
problem 2:
conversation state shared between client
and server. conversation state on
server leads to “session abuse”
n
io
presentation
t
http
a
ap s e
pl business
r t
presentation
http
business
logic
presentation
http
e a
logic
ic
st at
v t
presentation
at io n s
http
e n
c o
problem 2: (sessions)
could make horizontal scalability harder
than it should be
n
io
presentation
t
http
a
ap s e
pl business
logic
ic r t
e a
st at
v t
presentation
at io n s
http
e n
c o
problem 2: (sessions)
it’s very hard to migrate conversations
from agents (mobile <-> desktop)
logic
business
business business
logic logic
usage usage
presentation presentation
problem 3:
http http
business logic usage is duplicated
business
logic
problem 3:
business business
logic logic
(duplication)
usage usage
presentation presentation
http http
worst when there’s an anemic domain model
presentation
presentation
http
business
logic
presentation
presentation
http
problem 4: rich client
more duplication (different languages),
more difficult to separate
responsibilities (where is what?)
presentation
business
http
usage
logic
business
logic
presentation
business
http
usage
logic
problem 5: (testability)
difficult to reach a particular point in
the conversation. presentation changes
often (smell: divergent change)