Compras Nikon Bluetooth |
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.
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.
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.
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!
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
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.
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.
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.
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.
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.