Django JavaScript Integration: AJAX and jQuery

Develop AJAX applications using Django and jQuery

Django JavaScript Integration: AJAX and jQuery

Jonathan Hayward

Develop AJAX applications using Django and jQuery
Mapt Subscription
FREE
$30.00/m after trial
eBook
$18.90
RRP $26.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt subscription?
  • Unlimited access to all Packt’s 6,000+ eBooks and Videos
  • 100+ new titles a month, learning paths, assessments & code files
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
$0.00
$18.90
$44.99
$29.99 p/m after trial
RRP $26.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Django JavaScript Integration: AJAX and jQuery Book Cover
Django JavaScript Integration: AJAX and jQuery
$ 26.99
$ 18.90
PHP Ajax Cookbook Book Cover
PHP Ajax Cookbook
$ 26.99
$ 18.90
Buy 2 for $35.00
Save $18.98
Add to Cart

Book Details

ISBN 139781849510349
Paperback324 pages

Book Description

You want to create an AJAX application. Why would you use Django? Why would you use jQuery? Why would you use both together? Enter Django JavaScript Integration: AJAX and jQuery – your comprehensive answer to all these questions and the only extensive, practical, and hands-on guide to developing any AJAX application with Django and jQuery.

Gone are the days when you used to lament over the lack of official documentation on AJAX with Django. This book will teach you exactly why Django is called "The web framework for perfectionists with deadlines", how jQuery – the "write less do more" JavaScript library – is practically a virtual higher-level language, and why they both deserve to be integrated with AJAX.

This hands-on-guide shows you how to put Django and jQuery together in the process of creating an AJAX application. In this book, they are brought together in a real-world scenario, with attention to usability, to build and develop an AJAX application.

The first two chapters provide a short and necessary introduction to the world of Django, jQuery, and AJAX; and the remaining chapters are based on a case study that will make you realize the immense potential and benefits of integrating Django and jQuery with your AJAX application.

By the time you are done with this book, you'll be developing your AJAX applications with Django and jQuery in less time than you can say "integrate".

You will cover the basics of AJAX; use jQuery, the commonest JavaScript library, on the client side, and learn form validation with an eye to usability, build things with Django on the server-side, handle login and authentication via Django-based AJAX, and then dip into the rich jQuery plugin ecosystem to build in-place editing into your pages. You will add auto-complete functionality courtesy of jQuery UI, easily build forms with Django ModelForm, and then look at a client-side search implementation that can look things up without network access after initial download. You will learn to Implement a simple, expandable undo system, and offer more full-blooded account management, tinker, fix some bugs, offer a more usable way to handle password input, add local time support for people who are not in your time zone, look at usability, and finally take a look at debugging.

After working through this book, you will have both an AJAX application and a deep understanding that you can use to customize, extend, and further develop it in your organization.

This book has been written and tested for Django v 1.2.3 and jQuery v 1.4.4.

Table of Contents

Chapter 9: Database and Search Handling
Chapter 10: Tinkering Around: Bugfixes, Friendlier Password Input, and a Directory That Tells Local Time

What You Will Learn

  • Learn how and why, for certain kinds of web development, Django is more 'Pythonic' than Python
  • Understand whet the XMLHttpRequest Object is and how to implement it in various browsers
  • Embed JavaScript in Django templates
  • Learn account creation and login creation using AJAX
  • Build forms using Django models
  • Embed jQuery auto-complete plugins in your Django templates
  • Validate form input on the server side using AJAX
  • Integrate jQuery sliders into your Django template
  • Minify JavaScript files and also learn the pros and cons of doing so

Authors

Table of Contents

Chapter 9: Database and Search Handling
Chapter 10: Tinkering Around: Bugfixes, Friendlier Password Input, and a Directory That Tells Local Time

Book Details

ISBN 139781849510349
Paperback324 pages
Read More

Read More Reviews

Recommended for You

PHP Ajax Cookbook Book Cover
PHP Ajax Cookbook
$ 26.99
$ 18.90
jQuery UI Themes Beginner's Guide Book Cover
jQuery UI Themes Beginner's Guide
$ 23.99
$ 4.80
Dreamweaver CS5.5 Mobile and Web Development with HTML5, CSS3, and jQuery Book Cover
Dreamweaver CS5.5 Mobile and Web Development with HTML5, CSS3, and jQuery
$ 23.99
$ 16.80
AJAX and PHP: Building Responsive Web Applications Book Cover
AJAX and PHP: Building Responsive Web Applications
$ 20.99
$ 14.70
Java 7 JAX-WS Web Services Book Cover
Java 7 JAX-WS Web Services
$ 9.99
$ 7.00
WordPress Plugin Development Cookbook Book Cover
WordPress Plugin Development Cookbook
$ 26.99
$ 18.90