Chapter 11. Adding an AJAX Login to a Blog


In this chapter

11.1 Why Logins Work Well with AJAX

page 250

11.2 Building an AJAX Login

page 250

11.3 Extending the Login Form

page 256

11.4 Implementing the AJAX Comment Login System Using XML

page 262

11.5 Summary

page 270


A common feature of many Web logs is the ability to leave comments. When these systems were first implemented, they allowed anyone to fill in a couple of fields and post a comment directly to the site. Today, however, most blogs have some sort of moderation system with which the blog owner can approveor disapprovecomments. In an effort to streamline this process, many blogs also use logins. The problem with a login to a site like a blog is that it's not something you need to do until you go to post a comment. This makes a standard login process involving a couple of different redirects annoying, especially if you've already filled out a comment before attempting to log in. AJAX offers you the ability to streamline this process because you need to submit only the login form, not the entire page.




Understanding AJAX(c) Using JavaScript to Create Rich Internet Applications
Understanding AJAX: Using JavaScript to Create Rich Internet Applications
ISBN: 0132216353
EAN: 2147483647
Year: N/A
Pages: 154

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net