Closed seastones closed 9 years ago
A more simple approach is writing the file in JSON and then simply fs.open -> JSON.parse
Would be ideal to be able to change things within the site and not externally.
In that case redis is the most simple solution.
@bakape The bit of information he failed to include was that he wants it real-time. I'm not smart enough to be able to code an announcement window that allows him to publish within the site, I'm only smart enough to know how to get js to read files altered outside of the site.
Pushing state.js to the clients live is on my todo list. Will likely be complicated though.
Well, I assume NotSo would want the job to be done right rather than slipshod like the way I'd do it, so I guess I should wait on you to complete that.
Why yes, yes I would. So I can wait very patiently, but you should have some faith in yourself!
I asked for this an eternity ago and with the way Chu was asking about the TeamSpeak, it may (or may not) be beneficial to add. Seeing as how we get new members on rare occasions, a few rules might be cool. Might be nice for announcements. (Maybe even give it a notification kinda thing?)