Giter Site home page Giter Site logo

jwp-chess's People

Contributors

gracefulbrown avatar woowabrie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

jwp-chess's Issues

- 링크 감사합니다! ResponseEntity, 상태값 3xx으로 보내는 방법이 있어 사용해봤어요! 이때 자원(Game방 ID)을 공유하기 위해 쿼리문을 사용했습니다.

  • 링크 감사합니다! ResponseEntity, 상태값 3xx으로 보내는 방법이 있어 사용해봤어요! 이때 자원(Game방 ID)을 공유하기 위해 쿼리문을 사용했습니다.
  • 찾아본 결과, 요청정보가 그대로 유지되는 forward 방식과, 이후 새로운 요청을 생성해(2번의 요청) URL로 보내는 redirect 방식으로 나뉘는 것 같아요.
    • 시스템에 변화가 생기는 요청은 redirect를 쓰는게 좋고, 단순 조회 및 요청의 경우 forward 방식으로 응답하는게 좋다고 하네요.
    • 그 외에도 기존 요청/응답객체가 재사용될 시 forward를, 더이상 쓰이지 않을 시 redirect를 사용하면 좋겠다는 생각이 들어요.
    • 기존의 ModelAndView 방식 안에서 리다이렉트로도, 포워드로도 보낼 수 있는데, 저는 현재 포워드 방식을 사용하고 있다고 이해했어요!
    • 이외에도 추가적으로 고려하면 좋을 부분이 있을까요?

Originally posted by @BETTERFUTURE4 in #424 (comment)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.