没有合适的资源?快使用搜索试试~ 我知道了~
Django JavaScript AJAX and jQuery使用教程
5星 · 超过95%的资源 需积分: 10 9 下载量 83 浏览量
2013-08-15
12:28:34
上传
评论
收藏 6.84MB PDF 举报
温馨提示
试读
324页
好书看看名字就知道了,真的好书还是老外写的,看了收获良多,有相见恨晚之感。
资源推荐
资源详情
资源评论
Django JavaScript Integration:
AJAX and jQuery
Develop AJAX applications using Django and jQuery
Jonathan Hayward
BIRMINGHAM - MUMBAI
Django JavaScript Integration: AJAX and jQuery
Copyright © 2010 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval
system, or transmitted in any form or by any means, without the prior written
permission of the publisher, except in the case of brief quotations embedded in
critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy
of the information presented. However, the information contained in this book is
sold without warranty, either express or implied. Neither the author, nor Packt
Publishing, and its dealers and distributors will be held liable for any damages
caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the
companies and products mentioned in this book by the appropriate use of capitals.
However, Packt Publishing cannot guarantee the accuracy of this information.
First published: January 2011
Production Reference: 1291210
Published by Packt Publishing Ltd.
32 Lincoln Road
Olton
Birmingham, B27 6PA, UK.
ISBN 978-1-849510-34-9
www.packtpub.com
Cover Image by Vinayak Chittar (vinayak.chittar@gmail.com)
Credits
Author
Jonathan Hayward
Reviewers
Jake Kronika
Michael Szul
Acquisition Editor
Steven Wilding
Development Editor
Maitreya Bhakal
Technical Editors
Vanjeet D'souza
Conrad Sardinha
Indexers
Hemangini Bari
Monica Ajmera Mehta
Editorial Team Leader
Akshara Aware
Project Team Leader
Ashwin Shetty
Project Coordinator
Joel Goveya
Proofreader
Sandra Hopper
Production Coordinator
Aparna Bhagat
Cover Work
Aparna Bhagat
Foreword
In this book, we will be exploring Django JavaScript integration and build an Ajax
application using jQuery. We will build a Web 2.0 intranet employee directory, and
we will aim for a solution that is Pythonic in more ways than one.
Web development that is more "Pythonic" than just Python
This book is intended to be a book about how to do web development in the spirit
of Python++.
The term "Python++" as we use it here is not the usual "Python is great," even if that
may also be our opinion, but a more direct analogy to C++. When the effort was
made to improve the C language, the basic kind of improvement attempted was to
expand and broaden the core language. It is no accident that Stroustrup's The C++
Programming Language is far longer than Kernigan and Ritchie's The C Programming
Language. The latter is a small book describing a small core language, while the
former is a large book made large by the large core language it describes. The analogy
intended by Python++ is somewhat loose here, and specically does not include a
large, or even a small, expansion of the core language. It is possible to tinker with
the core language—
easy_extend lets you extend Python to include a do-while loop
(where the test condition is rst evaluated at the end, not the beginning)—or add
primitive syntax so you can do things like if remote_ip in 10.0.0.0:, but this
is almost beside the point.
The real possibilities for expanding Python do not need to radically expand the core
language, or change the core language at all. Django (
http://www.djangoproject.
com/
) is not a general purpose enhancement to Python: if you are automating system
administration tasks, for instance, you very probably have no reason to use Django.
But for a limited problem domain, namely certain kinds of web development, Django
is more Pythonic than Python. Python's cgi module is good for some kinds of small
and simple tasks, but if you are going to make a serious, large-scale web application
with many standard functions, using Python core language + Python standard library +
Django is a fundamentally more Pythonic approach than just Python core language +
Python standard library alone.
剩余323页未读,继续阅读
资源评论
- gnehsoag2013-09-24不错的文档
- cuiyanan892013-09-03纯英文,有些地方看不太懂,不过幸好编程没有国界,还能看懂代码
xiaofeng6785470
- 粉丝: 1
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功