O'Reilly logo

Django 1.0 Web Site Development by Ayman Hourieh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Editing bookmarks in place

Editing of posted content is a very common task in web sites. It's usually implemented by offering an edit link next to content. When clicked, this link takes the user to a form located on another page where content can be edited. When the user submits the form, he or she is redirected back to the content page.

Imagine, on the other hand, that you could edit content without navigating away from the content page. When you click on edit, the content is replaced with a form. When you submit the form, it disappears and the updated content appears in its place. Everything happens on the same page. Edit form rendering and submission are done using JavaScript and AJAX. Wouldn't such a workflow be more intuitive and responsive? ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required