►
From YouTube: Magento Architectural Discussion -- November 28, 2018
Description
Topics:
- Technical Guidelines: domain vs presentation-specific logic (Olga Kopylova)
Meeting minutes: https://github.com/magento/architecture/issues/46
A
B
A
Business
logic
should
should
go
and
where
it
should
not
go
in
magenta.
So
what
I
propose
to
and
I
propose
to
technical
guidelines
to
the
presentation
layer?
One
item
configuration
for
the
presentation
layer
should
be
declared
in
corresponding
application
area.
This
includes
events
and
plugins
that
customize
presentation,
layer.
A
A
C
A
Okay,
then,
next
one
next
one
is
in
service
contracts.
So,
right
now
we
don't
have
anything
published
in
service
contracts.
We
are
still
working
on
the
documentation
here,
but
I
still
want
to
start
from
some
of
the
items.
So
the
main
business
logic
must
be
executed
on
the
service
contracts
layer,
any
customizations
to
the
domain.
Business
logic
must
be
executed
on
the
service
contracts,
layer
and
soul
must
be
declared
in
global
area.
C
Yeah,
it
makes
sense.
I
have
just
one
note
that
currently,
it
is
not
always
possible
to
do
customization
on
the
own
service
contract
layer,
especially
when
we
have
some
API
on
models
and
API
one
service
contract,
and
then
you
have
to
actually
do
customization
in
two
places,
because
it
is
possible
that
model
will
be
used
directly
or
then
service
contracts
will
be
used.
It
is
related
to
a
say,
catalog.
As
far
as
I
know,
search
party
developers
have
to
customize
it
in
both
places,
not
online
service
contracts,
but
it
is
probably
desired.