E
E
egyptForce2019-06-14 18:04:35
Software design
egyptForce, 2019-06-14 18:04:35

Vue.js architecture?

I read this article on the architecture of the client application. After reading, I still don’t really understand what application services, domain, domain services are.

spoiler
1*6wpX8u_mM8Z1xdZVMFj67w.png
More precisely, it is not clear what can be attributed to the above when working with vue + vuex + vue-router when developing, say, crm. Can someone clarify this point for me? And in general, is such an architecture applicable to vue / vuex.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shvets, 2019-06-14
@Xuxicheta

The author of the article strongly emphasizes that the presented methodology is applicable to all frameworks, just examples for React.
So it certainly applies.
Presentational Components in vue is a functional
Store - Vuex,
Application Services - can be in vuex actions, or maybe separate services.
Domain - a model with logic that pulls vuex, in most cases is reduced to the vuex actions themselves and component methods.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question