김영수
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Group 15 피어세션 Week5 ## 참여인원 | 캠퍼 ID | 이름 | |----|-----| |J017|김기한| |J033|김성호| |J038|김영수| |J077|문혜현| |J100|배지호| |J152|이유노| |J171|이홍덕| ## 공유하고 싶은 것 & 질문 - mvc 패턴에서 state는 view와 model 둘중에 어느곳에서 관리하는게 좋을지 얘기를 나눠봤으면 좋겠습니다. - model에 state를 넣는다면, model은 store의 역할과 비슷해진다. 그런데 엄밀히 말하면 다르긴 하다.. - 각자의 ERD 설명하기 - 식별 관계, 비식별 관계 - multer > Blob - local에서 이미지 저장보다 mysql에 이미지 저장하자 - orm 사용한 부분 설명하기 - sequelize-auto를 사용하면 데이터베이스를 읽고 sequelize 모델을 만들어준다. - 개성있게 구현한 부분 설명하기 - 폴더 구조 소개하기 - store & component 간 의존성 어떻게 처리했는지 궁금합니다 - store와 component만 있으면 된다라고 생각했는데 의존성 생각을 못했네요. - 중간에 controller를 두어 중재하도록 처리한다. - controller와 모델 사이에 옵저버 패턴을 적용하여 의존성을 낮춘다. - 그런데 store & component 만으로도 잘 작동하는데 굳이 controller를 덧붙여서 굳이 과정을 하나 더 넣는 느낌이 있기도 하다 - 컴포넌트에서 html 구조와 함께 scss도 리렌더링 해주시나요? - J191님 코드 : scss도 함께 리렌더링 - 혹시 async, await, class private 함께 쓰시는 분 있나요? webpack corejs:3에서 계속 에러가 나네요...(공식문서는 분명 다 된다고 하는데..엉터리..) - 주말에 해결.. - 옵저버 패턴 구현 부분 설명하기 - https://velog.io/@ljinsk3/JavaScript-%EC%83%81%ED%83%9C%EA%B4%80%EB%A6%AC 참고하면 좋을 것 같아요 - subscribes=new set() 오류는 되는 분도 있고 안 되는 분도 있고. - 어떤 페이지가 fetch api 호출이 필요한데, 해당 페이지로 라우팅이 필요한 경우 어떻게 처리하셨는지 궁금합니다. - store에 어떠한 이벤트를 전달하여 fetch api를 호출하여 처리할 수 있도록 하자. - history api에서 home->category->(뒤로가기 버튼을 눌러서)home 으로 이동하고 싶은데. 이 때, 어떤 방식으로 history api를 쓰셨는지 궁금합니다. - J017님 코드, window.location.path를 이용해서 페이지 만들기 - 여러분들이 프론트에 적용한 디자인 패턴을 알고싶습니다. - flux, mvc의 패턴, 핵심은 모델-뷰 간 의존성 완화 - eslint 적용하신분 프론트, 프론트, 백엔드 코드 둘 다 정상적으로 동작하시나요?(ex. 비정상동작 예시로는 브라우저 api가 빨간줄이 뜬다던지..) - innerHTML 쓰시나요? - 보안 이슈 - 사용에는 문제가 없으나, template literal 등에 대한 filtering 작업을 더해준다면 보다 안전한 구현이 가능할 듯 - 배포하면서 nodejs를 ncloud에 curl 이용해서 깔고 있는데. 자꾸 버전이 이상하네요. 혹시 다른 분들은 어떻게 하셨는지 궁금합니다. - apt package 리스트 수정 - apt list | grep node - nvm - 이번주에 개발하면서 중점적으로 다루었던 부분과 힘들었던 부분 한가지씩 이야기해보면 좋을 것 같아요. - 제일 화났던 에러 소개 ## 잡담 - 오늘 저녁 뭐드시나요? 치킨 먹고 싶어요 ㅜ 맥주도 ㅜ 맥주쩐다.. - 맛있는 맥주 추천좀 해주세요 -> 코젤+시나몬 - 운동을 해야할거같아요 갈수록 체력이 딸리네요 -> 아침마다 뜁시다 !

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully