본문 바로가기

FrontEnd7

HTML meta 요소는 무엇일까? https://www.w3schools.com/html/html_head.asp HTML head Elements HTML - The Head Element The HTML element is a container for the following elements: , , , , , and . The HTML Element The element is a container for metadata (data about data) and is placed between the tag and the tag. HTML metadata is data about the HTML d www.w3schools.com The HTML Element HTML 요소 The element is typically used to s.. 2021. 6. 29.
WebSocket 채팅 기능 관련 참조 페이지 곧 새로운 업무에 투입될 것 같은데 해당 내용관련해서 필요한 정보들중 쓸만 한 내용들의 링크를 정리해 둔다. https://velog.io/@yhg0337/%EC%8A%A4%ED%94%84%EB%A7%81%EC%97%90-1%EB%8C%801-%EC%83%81%EB%8B%B4%EC%9D%84-%EA%B5%AC%ED%98%84%ED%95%98%EA%B8%B0 스프링에 1대1 상담을 구현하기!! 프로젝트 상세페이지에서 크리에이터 / 서포터 / 프로젝트 식별자를 컨트롤러로 보낸다. 위 3가지로 채팅방태이블을 조회해서 없으면 새로 생성 / 있으면 그 채팅방 아이디를 리턴해온다. 가져 velog.io https://gnaseel.tistory.com/11 [Web Socket / Spring] 실시간 채팅 기능 .. 2021. 6. 17.
server-sent event(SSE) 서버에서 클라이언트로 이벤트 보내기 같은 회사 직원이 카카오 코딩테스트에서 봤던 문제 중에 서버단에서 대용량 엑셀에 대한 처리를 할 때 현재 진행률을 클라이언트단에서 보여주는 방법을 구현하라는 문제가 있었다고 한다. 웹소켓이나 뭔가 다양한 방법들이 있겠지만, SSE가 HTML5 표준 권고안이라고 하니 이 방식을 따르는 것이 표준일 것 같다. 서버에서 보내는 이벤트를 관리하는 표준적인 방법. 스트림 이벤트를 서버에서 프론트 엔드로 보낸다. 일방향 접속이며, 클라이언트에서 서버로 이벤트를 보내지는 못한다. 실제 사용방법은 아래 링크 참조 https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events Using server-sent event.. 2021. 6. 17.
Location href 와 Location replace() Method href 는 속성이고 , replace() 는 함수이다. The replace() method replaces the current document with a new one. replace() 메소드는 현재 문서를 새로운 것으로 대체시킨다. The difference between this method and assign(), is that replace() removes the URL of the current document from the document history, meaning that it is not possible to use the "back" button to navigate back to the original document. 이 메소드와 assign() 메소드의 차이점은, r.. 2021. 6. 15.