Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Websocket updates #52

Open
Hamcha opened this issue Jan 23, 2015 · 1 comment
Open

Websocket updates #52

Hamcha opened this issue Jan 23, 2015 · 1 comment

Comments

@Hamcha
Copy link
Owner

Hamcha commented Jan 23, 2015

Sarebbe carino, se mai ci fosse tanta attivita' nello stesso thread, avere le risposte aggiornate in realtime, un po' come fa Tinyboard.

Il meccanismo sarebbe quello di avere un server websocket (socket.io forse?) che in caso di nuovo post/edit/etc. mandi dei messaggi ai client connessi e gli si aggiornasse il thread in realtime.

Socket.io ha gestione dei messaggi a canali, quindi una possibile soluzione sarebbe avere eventi tipo "newpost", "editpost" etc. ed usare lo shorturl del thread come nome del canale.

Still, implementarlo e' lunghetto quindi la terrei nel cassetto come possibile extra dopo aver fatto il resto.

@silverweed
Copy link
Collaborator

Volendo si può fare: non so quanto servirebbe praticamente ad oggi, ma resta pur sempre un buon esercizio, quindi io ci sto c:
Magari ci pensiamo quando abbiamo un po' meno issue aperte e ben verificato che la modularizzazione funzione senza problemi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants