웹 페이지에있는 이벤트 목록에서 서버 측 이벤트의 경우 "실시간"업데이트를 얻으려는 기능을 제공하고 싶습니다. 폴링주기에서 목록을 다시로드하는 대신 일종의 라이브 모니터. 이 목적에 적합한 jQuery를 확장 같은 것이웹 페이지에서 서버 이벤트 모니터링 및 목록 업데이트
- Client: open a socket to the server (ajax like),
listening for events,
if an event comes, update the visible list.
- Server: if such socket has been opened:
propagate any event through that socket.
있습니까 :
은 내가 이런 식으로 뭔가를해야 할 것 같아요?
'긴 폴링'을 찾고 있습니다. Html5는이 목적을위한 웹 소켓을 가지고 있지만 옵션이 아니라면 널리 알려진 longpolling 기술 중 하나를 사용하거나 긴 폴링을 단순화하기위한 .js 프레임 워크를 직접 찾으십시오. –
[SignalR] (http : // signalr .net /) 추가 정보 [여기] (http://www.hanselman.com/blog/AsynchronousScalableWebApplicationsWithRealtimePersistentLongrunningConnectionsWithSignalR.aspx) – jao