LGF Login Notes 8 - Fully Ajaxified
What have I been doing all day? Wrestling with Javascript variable scopes and JSON encoding, that’s what.
Our login system is now fully integrated with the Ajax back-end server. The login form that you see (when you’re not already logged in) at the bottom of a page of comments will now authenticate your lizardoid credentials and immediately present you with the comment posting form, with no need to reload that whole page full of comments again. This is the classic win-win; it’s much faster (radically faster, actually) for you, which makes you happy, and uses much less bandwidth, which makes the hamsters in our servers happy.
Again, if you’re using a browser that’s not Ajax-compatible, it’s supposed to fall back gracefully to the old non-Ajax login methods.
If you want to see it work, log out and click through to a comments page, then scroll to the bottom and log in. Magic!



