Replies: 1 comment
-
/**
* application layer์์๋ useState๋ฅผ ์ฐ๋ฉด ์๋จ -> hook ์ ๋ ํฌํจ X
* application layer๋ React์ ๋ํด ์์ง ๋ชปํด์ผ ํจ..... ๋ค๋ฅธ ์ํ๊ด๋ฆฌ ํด๋ ๋ชฐ๋ผ์ผํจ...... ๊ทธ๋ฅ ๋ค ๋ชฐ๋ผ.. ๊ฑฐ์ ํํ ์ ๋๋ฒ์ค..
*/
import { getUserData } from "@/features/user/infrastructure/user.api";
export const getUserProfile = async () => {
return await getUserData();
};application layer์ ์ญํ ์ด ์์ง ์ข ํท๊ฐ๋ฆผ... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
๐ ์ํฐ ํจํด ๊ฐ์ ๋ฐฉํฅ
1. ๋๋ฉ์ธ(DDD) ์ฃผ๋ ์ค๊ณ ๋ฐฉ์ ์ ์ฉํ๊ธฐ (๋ณํ์ ์ ์ฐํ ๊ตฌ์กฐ ๋ง๋ค๊ธฐ โ ์ญํ ๋ถ๋ฆฌ)
2. ์ํคํ ์ณ ๋ถ๋ฆฌ
๐คฏ ์ ๋ชจ๋ฅด๊ฒ ๋ ์ฉ์ด ์ ๋ฆฌ
์ํคํ ์ณ(Architecture)? ๋ญ๋ฐ?
๋ ์ด์ด???
1. Presentation Layer (ํ๋ ์ ํ ์ด์ ๊ณ์ธต)
๋ฌด์จ ์ญํ ์ ํ ๊น?
2. Application Layer (์ ํ๋ฆฌ์ผ์ด์ ๊ณ์ธต)
3. Domain Layer (๋๋ฉ์ธ ๊ณ์ธต)
+) ์์ง ํท๊ฐ๋ฆฌ๋๊ฑฐ (๋ ์ง ํฌ๋งทํ ํจ์ ์์)
๋๋ฉ์ธ ๊ณ์ธต์ ํธํจ์4. Infrastructure Layer (์ธํ๋ผ ๊ณ์ธต)
โจ ๊ฐ์ ๊ณผ์
ํด๋ ๊ตฌ์กฐ
ํธ์ถ ํ๋ฆ
๊ทธ๋ผ ๊ณตํต/๊ณต์ฉ ๋ก์ง์?
infrastructure๊ฐ ์ ํฉBeta Was this translation helpful? Give feedback.
All reactions