Thursday, December 18, 2008
Web 2. 0 Website Programming with Django: Step Through the Development of a Complete Social Bookmarking Application with the Python Web Framework That
Product Description
Detail Description
Django is a high-level Python web framework that was developed by a fast-moving online-news operation to meet the stringent twin challenges of newsroom deadlines and the needs of web developers. It is designed to promote rapid development and clean, pragmatic design and lets you build high-performing, elegant web applications rapidly. Django focuses on automating as much as possible and adhering to the DRY (Don't Repeat Yourself) principle, making it easier to build high-performance web applications faster, with less code.
This book will show you how to assemble Django's features and leverage its power to design, develop, and deploy a fully-featured website. It will walk you through the creation of an example web application, with lots of code. Each chapter will add new features to the site, and show what parts of Django to work on to build these features.
This book has been specifically written for Python developers new to Django, and its goal is to help you put together Django applications as quickly as possible. This book will give you clear, concise, and practical guidance to take you from the basics of creating pages with Django through to learning the skills that will make you a Django developer to be reckoned with.
Product Details
* Amazon Sales Rank: #256497 in Books
* Published on: 2008-11-04
* Released on: 2008-11-04
* Original language: English
* Number of items: 1
* Binding: Paperback
* 264 pages
Editorial Reviews
From the Publisher
Approach
Being a beginner's guide this book has a very simple and clear approach. It is a practical guide that will help you learn the features of Django and help you build a dynamic website using those features.
Who this book is written for
This book is for web developers who want to see how to build a complete site with Web 2.0 features, using the power of a proven and popular development system, but do not necessarily want to learn how a complete framework functions in order to do this.
Basic knowledge of Python development is required for this book, but no knowledge of Django is expected.
About the Author
Ayman Hourieh
Ayman Hourieh holds a bachelor degree in Computer Science. He joined the engineering team at Google in January 2008. Prior to that, he worked with web application development for more than two years. In addition, he has been contributing to several Open Source projects such as Mozilla Firefox. Ayman also worked as a teaching assistant in Computer Science courses for one year. Even after working with a variety of technologies, Python remains Ayman's favorite programming language. He found Django to be a powerful and flexible Python framework that helps developers to produce high-quality web applications in a short time.
Customer Reviews
Great book, even after Django 1.05
This book will basically guide you along the development of a web application that allows users to submit and share bookmarks. Unlike the online Django documentation, where snippets of code are presented to illustrate usage of particular features, this book takes you from start to finish of a complete web application. As other reviews point out, the book covers many popular features found in modern sites, including ajax, tags, pagination and rss.
The book is written based on Django 0.96 and there are a few places where the code breaks under Django 1.0. However, I didn't find debugging the code a big deal. As a matter of fact, it was a great opportunity for me to use the online Django documentation. You will eventually need to use Django's documentation anyway when you start writing your own apps.
If you don't want to debug, here are the code changes that you will need to make for the code to work with Django 1.0:
maxlength --> max_length @pp. 33, 68
form.has_errors --> form.errors @pp. 46, 52
clean_data --> cleaned_data @pp. 59, 60, 65, 73, 130
comment_form --> render_comment_form @pp. 144
don't create form.html @pp. 145
don't create posted.html @pp. 146
chapter 8: - many changes. To get admin working:
in settings.py add:
'django.contrib.admin'
in urls.py add:
from django.contrib import admin
admin.autodiscover()
(r'^comments/', include('django.contrib.comments.urls'))
This is a great book for getting started with Django. You will leave this book with a good idea of how to create very rich Django applications.
Good book for a beginner to get something done4
This book is intended for beginners, and it really works for its audience. You dive into building a social bookmarking app, adding users, tags, rss, friends, search, and more. Each of these is likely to be found (or desired) on a modern website, and the author shows the reader how to implement them... how to get things done. This book is low on theory, but high on real-world information, and it's recommended as such.
Great all but last chapter4
This is a great book for an intro to Django.
If you need to get up and running in Djago in 1-2 weeks and know nothing about it, this book is THE way to go. Fast-paced and not too deep, this is just what I needed.
The last chapter however leaves something to be desired. It is more like a fast-skip-along over all the things that are out there. Granted - helpful for general information, but it just does NOT work for me. After implementing my last chapter in the code - all of my application broke down. I feel that because the book skims over the topics so fast, it should not introduce advanced topics at all.
Also be aware that there are some differences between the book's trunk version of djano and the current trunk. For example there is no more clean_data, instead we use cleaned_data.
Overall, the book was just RIGHT for the me. Quick introduction to getting the web-framework up and running at the basic level. Must have first-book, for a once over read.
PS: Why, you might ask, I needed to learn Djano in 1-2 weeks? Because django is fun! Or a more realistic answer: I got tired of playing configuration games with php frameworks...
Labels:
Ayman Hourieh,
Dovelopment Programing

