swad-kiosk's Introduction
swad-kiosk's People
Forkers
minyeongparkswad-kiosk's Issues
의논하면 할 것들
- timeout이 되거나 init화면으로 돌아가는 부분 어떻게 할지
- 전체 while문으로 돌려서 주문이 끝나게 되면 바로 '주문을 시작하시겠습니까?'같은 메시지 출력하면서 다시 주문 반복하게 할지
or 프로그램을 종료시킬지 - 전자로 하게 되면 꽤나 고난이 예상되긴 함
-
endOrder()가 정확히 어떤 의미인지
-timeout()되면 영수증 출력과 상관없이 바로 endOrder()가 되는건지 or 시간 내에 영수증 출력을 선택하지 않으면 time out이 되어서 주문이 종료되는거? (그렇다면 이때 주문번호는 디폴트로 출력하는가) -
시퀀스 다이어그램에서 바코드랑 카드
-바코드를 사용하는 목적이 기프티콘인데 기프티콘 쿠폰 번호는 어떻게 할 것이며 잔액처리는 어떤 식으로 할 것인지...???? 코드로 어떻게 표현할지 -
시퀀스 다이어그램에서 영수증 출력 / 주문번호 출력
- 주문 번호 출력하는 부분을 별도의 시퀀스다이어그램으로 표현할까?
Front와 Controller의 responsibility
[synopsis]
Front 클래스에서 메뉴의 정보에 대해 입력을 받고, 이를 Controller 클래스의 selectMenu()로 넘긴 다음, Cart 클래스의 addToCart()를 통해 Cart의 cartInfo 리스트에 저장됨.
이 때 Cart의 cartInfo가 리턴되어 Controller의 CartInfo에 저장이되고, 이 CartInfo가 Front 클래스의 CartItems에 저장이 되는 방식.
즉, 지금 상황은 Front와 Controller 클래스가 Cart 클래스 안의 CartInfo를 동일하게 가지고 가는 구조이다.
[problem]
- 그렇다면 Controller가 요청하는 requestCartInfo()의 존재 의의는?
- 사실 requestCartInfo()를 confirmCartInfo()로 바꿔서 최대한 구조를 보존해보려고 생각했지만, 그렇게 되면 오히려 설계의 효용성이 좀 떨어지게 되는 상황이라.. 우리 팀한테 독이 될 듯함 ㅜ 아!!!!!!!!!!! ㅜ ㅜ
- 이 상태면 Cart와 Order 클래스도 유명무실한 상황인듯?
- Cart에 저장되는 cartInfo를 격리해서 저장해야 하는데 지금처럼 CartInfo를 Controller도 가지고 Front도 가지게 되는 상황이면 객체를 구분할 필요가 없어짐...
그래서 팀원 여러분의 의견을 듣고 싶습니다..........................................
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.