Python Web Programming
Steve Holden | Steve Holden


Compras Nikon
Bluetooth
1 Trying to Learn Python? Check this book out!
This book will help anyone trying to learn the Python language. I have used this book many times while writing Python code and it always remains close by! The visual reference is extremely helpful and effective during the learning process and the authors provide just enough written explanation without drowning the reader with a bunch of theory. Can't think of a book I enjoyed or would recommend more!!...
2 How to leverage the powerful Python libraries
Python Web Programming is a practical, 720 page introduction and guide to building networked systems in the object-oriented framework of the Python language. It shows how to leverage the powerful Python libraries to build systems with less programming effort and easier maintenance. It leaves involved discussion of the Python language by itself to other books and dives right into using Python within web enables applications.
3 More than what's in the title
This book covers a great deal more than python web programming.

You obviously get a nice view of the Python programming language, but also gain some good insights about python database API, as well as the network programming API available in python (both client and server, including the asynchronous socket module), not to mention XML processing.

There are lots of "tricks" in this book, which clearly shows that the author has hands on experience on the topics covered, and has had to deal with Real World problems. In this perspective, I especially enjoyed the extensions proposed to help decoupling the SQL queries from the database backend used.

This is a great book, and I present it as such to the people attending python courses at Logilab.


4 Excellent book
This is an excellent book, which not only gives a useful introduction to Python, but also gives very good introduction to the topics of networking, databases, and anything and everything web-app related. And a pile of other stuff too.

Each section starts from the assumption that the reader knows nothing about the topic, yet doesn't patronise, or paddle along at too slow a pace.

There are a few things that bothered me about this book: It would have been really nice to have pointers to further information and articles for each topic, a better index and fewer references to language features that aren't actually explained anywhere (such as list comprehension).

Apart from these smaller complaints this book is really very good. Perhaps the bast thing about it is that it explains how all the various technologies fit together. Well worth buying.


5 Excellent example snippets; Clear explanations
If you are going to be using Internet protocols, doing network programming, or web programming with Python, and these are new topics for you, I would highly recommend this book.

The book starts with a brief overview of the Python language. The author's intention is that someone with a fairly extensive programming background in other languages would be able to pick up enough Python from this overview to be able to do the rest of the programming in the book. Perhaps so. I already know Python, but did find the summary in the front informative.

I really like the fact that nearly every page has a code snippet on it. Examples are brief and to the point. The author explains each line of code and has a very direct and clear way of explaining things. I found the explanations easy to read and understand.

After the brief Python Language overview, comes an overview of sockets and socket programming. I've been trying to learn a bit about the whole topic of sockets by searching the web and nothing I found on the web explained it as clearly as this book. I now appreciate the difference between TCP and UDP protocols and have an idea of the situations in which I would want to use each. If you want to learn low-level sockets, or how to write your own socket protocols, this is not the book you are looking for. This book basically assumes you will go with either TCP or UDP (and ignores the other types of sockets available in the Python socket library). However, these will probably suit most people's needs.

The author then walks you through each of the Internet data-handling libraries in Python, such as the telnetlib, ftplib, poplib, smtplib and so on. He gives examples of working code for each library, showing first how to implement clients, and later on how to implement servers. If you want to work with these libraries, these explanations should be very helpful.

Later in the book, Holden addresses using databases in Internet programming, using XML and writing your own web-application framework. I haven't yet had a chance to go through these chapters in detail (I've skimmed them only). But there is a LOT of stuff there. One thing the author does at the beginning of each new section, is give an overview of the topic (such as an overview of why you might want to use a database, how databases work, or why you might want to work with a web framework). For me, I really appreciate this type of overview. It helps give me a context for the new information, and helps me to make better sense of it. I read through some of the database chapters where he explains how the SQL query language works, and again, I have to say it is one of the best explanations I've read. (Most explanations I've read about SQL have just convinced me I wanted to steer clear of it.)

Another nice thing, is how he sort of "works you up to" SQL. He starts out with regular Python code, and shows how parts of it are similar to working with an SQL database, and then eventually transitions into the full SQL language. He also addresses database design and efficiency.

Overall, I'd say if you want a good overview of the topics mentioned here, want to understand the reasoning behind their use, and want to be able to understand good design and efficiency, then this book should really help you out.


6 Substantially Impressed!
This is one of the best overall web programming books I've seen. The author has a great ability to present highly technical information in a very straight forward, easy to understand manner.

The book provides a wealth of information about Python as well as many other very important, and often overlooked, aspects of building web sites and programming.

Eagerly look forward to seeing his next release. I hope it's soon and is as well written as this is! I'll definitely buy from him again!


7 Bit disappointing - but very well written
This book may be good for someone who wants to understand the web and networking technologies. But for someone moving from Perl, VB and Java (myself) it is somewhat less usefull.

Couple of observations:
* It is very well written
* It shocked me that the examples are almost all developed for windows. On his website it states that they are not tested in linux (Check his website for more).
* There was no mention of mod_python (which I was interested in) in the index. (there is a slight mention in the book).
* The database (MS Access, mysql stuff was good) - but what about postgreSQL?
* Lots of stuff on XML with limited mention of XSLT


8 Excellent: as both introduction and expert tutor
This is a high quality book that is remarkable in taking the reader through a superb introduction or review of the Python language, into the basics of network protocols, and client/server concepts, and on to writing progressively more sophisticated python scripts to access networks, create web applications and work with network databases. The writing is clear and highly systematic: the needed concept is presented at the right time. There is also a sense of fun to the writing which echoes the fun many find intrinsic to the language. Highly recommended.
9 Good introductory work curiously lacking in some areas
Though the title makes it appear more limited, this volume "is intended to be a suitable introductory Python book", an all-in-one reference to not only web applications, but also general client-server networking, relational databases, XML, and Internet protocols like POP and NNTP. Though not the best introduction to Python (I would instead recommend O'Reilly's Learning Python) it does a good job of gathering together disparate information and presenting the topics clearly and with well thought-out code.

However, this is not a good book on CGI, HTML form handling, templating, and other common web application tasks. Holden chooses as his major example to extend an asynchronous web server into a web application framework. Thus he does not deal with Apache (or any other pre-existing server) and Python integration issues.

The coverage of Internet protocols given here is only slightly extended from the standard documentation. IMAP4 gets one paragraph, in which Holden notes its superiority to POP3 but laments the lack of space to cover it! However, non-Python topics like client-server architectures are explained at a nice level for beginners.

There is a balance of code and exposition in this book, both presented clearly though in a rather formal tone. The layout is excellent, being very easy to read and pleasing on the eye. The index is great.

This book is recommended for inexperienced programmers but lacks enough original work to make it of value to those already coding for the web.


10 More than the title indicates
This is a great book. It covers a lot more than the title would indicate; I have been programming for years, but my formal education is a bit stale, and from this book I got an overview of Extreme Programming (enough to discover I've been using over half the techniques for years). Steve covers everything from basic program design theory to the nuts and bolts of simple web server implementation. Database design is covered, including a brief description of the "normal" forms for those (like me) whose education predates relational technology.

I admit, I skimmed over the early chapters explaining how to program in Python. Those chapters are just long enough for a programmer to grasp the beauty of Python but not so long that I feel the space is wasted.

Best of all, I finally understand asyncore/asynchat.

If you aren't versed in HTML and other very basic web technologies, you'll need more than just this book, but if you have done a website or two, maybe some basic CGI, this is a great book for the next step.


11 A Wonderful Book, A Great Resource!
Python Web Programming by Steve Holden with David Beazley; New Riders, 2002, 691 pages.

Python Web Programming is a great resource for web programmers. I have found not found this much information, on all aspects of web programming with Python, in any other book. It is extremely well
written and a joy to read.

The book first gives an overview of the Python language. This overview is well worth reading, even if you are already a Python expert. Steve Holden has a unique and interesting perspective on the matters at hand, and he gives very detailed expositions on the whys and wherefores behind various Pythonic idioms. I found that this section gave me a different point of view and a deeper understanding of several aspects of Python's design and structure than I had previously realized.

Next, in a very rich and informative section, over 100 pages are devoted to Network Programming in Python. After giving a very clear and detailed overview of basic network programming basics, the author shows how the Python libraries can be used to do meaningful client side and then server side web programming. I am sure that I will come back often to this section as I further explore CGI programming and also server side programming. The book gives good instructions on how to practice server side programming even if you only have a simple web connection. This section is really valuable.

Database Programming in Python then receives over 100 pages of work. I am weak in this area, but the explanations in this section gave me a good enough background to better understand the database parts of later web programming topics.

Next, almost 100 pages are devoted to XML and Python, including SAX. This section is also well written and the explanations were enough for me to again comprehend the following web programming topics whenever XML came into play.

Finally, the book covers some home brewed, integrated web applications. AWeFUL, an object oriented web site framework, and PythonTeach, a web application for use in academica, are two straight forward programs very well understood by Steve Holden and are beautifully explained.

This book is worthwhile to anyone with an interest in CGI, server-side programming, or just web programming using Python in general. Really, I think that anyone "into" Python will thoroughly enjoy this book, and will learn a lot. The database and XML sections are like icing on the cake. I believe the book is aimed at folks experienced with Python, but the explanations are detailed and clear enough for even those who are not "experts".

I highly recommend this book.


12 A Wonderful Book, A Great Resource!
Python Web Programming by Steve Holden with David Beazley; New Riders, 2002, 691 pages.

Python Web Programming is a great resource for web programmers. I have found not found this much information, on all aspects of web programming with Python, in any other book. It is extremely well
written and a joy to read.

The book first gives an overview of the Python language. This overview is well worth reading, even if you are already a Python expert. Steve Holden has a unique and interesting perspective on the matters at hand, and he gives very detailed expositions on the whys and wherefores behind various Pythonic idioms. I found that this section gave me a different point of view and a deeper understanding of several aspects of Python's design and structure than I had previously realized.

Next, in a very rich and informative section, over 100 pages are devoted to Network Programming in Python. After giving a very clear and detailed overview of basic network programming basics, the author shows how the Python libraries can be used to do meaningful client side and then server side web programming. I am sure that I will come back often to this section as I further explore CGI programming and also server side programming. The book gives good instructions on how to practice server side programming even if you only have a simple web connection. This section is really valuable.

Database Programming in Python then receives over 100 pages of work. I am weak in this area, but the explanations in this section gave me a good enough background to better understand the database parts of later web programming topics.

Next, almost 100 pages are devoted to XML and Python, including SAX. This section is also well written and the explanations were enough for me to again comprehend the following web programming topics whenever XML came into play.

Finally, the book covers some home brewed, integrated web applications. AWeFUL, an object oriented web site framework, and PythonTeach, a web application for use in academica, are two straight forward programs very well understood by Steve Holden and are beautifully explained.

This book is worthwhile to anyone with an interest in CGI, server-side programming, or just web programming using Python in general. Really, I think that anyone "into" Python will thoroughly enjoy this book, and will learn a lot. The database and XML sections are like icing on the cake. I believe the book is aimed at folks experienced with Python, but the explanations are detailed and clear enough for even those who are not "experts".

I highly recommend this book.



Thursday, 20-Nov-2008 06:39:26 CST
Quote of the Day:


The following statement is not true.  The previous statement is true.

After the last of 16 mounting screws has been removed from an access
cover, it will be discovered that the wrong access cover has been removed.