I have an app that we're considering a "Presence System" for.
As I'm currently conceiving it, the JS Library will add a function to hit the DB, attaching it then to most UI events.
This should allow us to know the last time a user did something. The app will poll the server every $n seconds to see if it needs to update the visual portion of the UI with new data.
Is it really just that simple? Does anyone have any experience with the design of such? Potential pitfalls and quid-pro-quos? Security issues? Helpful bookmarks? 🙂