Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mission4] 피자가게 예제로 Factory Pattern 만들기 #92

Open
SkynI25 opened this issue Sep 14, 2020 · 0 comments
Open

[Mission4] 피자가게 예제로 Factory Pattern 만들기 #92

SkynI25 opened this issue Sep 14, 2020 · 0 comments
Labels
요구사항 필수적으로 구현해야 하는 요구사항

Comments

@SkynI25
Copy link
Contributor

SkynI25 commented Sep 14, 2020

  • master 브랜치를 기준으로 mission4_본인이름 브랜치를 만들어주세요.
  • 해당 브랜치의 mission1 폴더에 본인이름 폴더를 만들고, 그곳에 index.html 파일을 만든 뒤 아래의 내용을 넣고 저장합니다.
<html>

<head>
  <title>Mission 4</title>
  <meta charset="utf-8" />
</head>

<body>
  <div id="coffee-list"></div>
  <script>
    const data = [
      {
        text: '일반 피자점'
      },
      {
        text: '시카고 피자점'
      }
    ]
	// 이곳에서 코딩을 시작하세요!
  </script>
</body>
</html>

script 태그 내에 아래의 요구사항을 만족하는 코드를 작성합니다.

🎯 요구사항

  • 각 요구사항에 맞는 컴포넌트를 작성하여 피자가게를 완성하세요.
    • 일반 피자가게는 (재료준비, 굽기, 조각내기, 포장하기) 를 수행할 수 있습니다.
    • 이 때 일반 피자가게에서 확장된 분점을 생성할 수 있습니다. ( ex) 시카고 피자, 뉴욕 피자..)
  • 일반 피자가게로부터 상속받은 피자가게들을 생성하고, 각 피자가게들이 피자를 만드는 과정을 표현하세요
  • 구현 방법은 팩토리 패턴으로 진행합니다

읽으면 도움이 될 글들

  • 팩토리 패턴 - 요구사항으로 적은 팩토리 패턴에 관해 설명이 담긴 글입니다.
@SkynI25 SkynI25 changed the title Factory Pattern 설계 [Mission4] 피자가게 예제로 Factory Pattern 만들기 Sep 14, 2020
@SkynI25 SkynI25 added the 요구사항 필수적으로 구현해야 하는 요구사항 label Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
요구사항 필수적으로 구현해야 하는 요구사항
Projects
None yet
Development

No branches or pull requests

1 participant