Showing posts with label django. Show all posts
Showing posts with label django. Show all posts

Using Google App Engine Review

Using Google App Engine
Average Reviews:

(More customer reviews)
Are you looking to buy Using Google App Engine? Here is the right place to find the great deals. we can offer discounts of up to 90% on Using Google App Engine. Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

Using Google App Engine ReviewI've been programming for 33 years, so in theory I shouldn't like a book that wastes pages explaining what HTTP and HTML are. Nor should I thrill to the first section in the Python chapter, which is called "What is Programming?"
How come I like this book so much then?
It is a self-contained 240-page book on programming. A smart motivated person with no experience could sit down and build a functional cloud app. If you had a friend who wanted to see what the life of a computer nerd was like, this is a great book. Is it as useful as the Google App Engine online docs? Not for an experienced programmer, but for the novice it is nice not to have to refer to a dozen interlocking books and Web sites in order to get "hello world" working.
The world needs more computer programming books like this.Using Google App Engine Overview
Build exciting, scalable web applications quickly and confidently using Google App Engine and this book, even if you have little or no experience in programming or web development. App Engine is perhaps the most appealing web technology to appear in the last year, providing an easy-to-use application framework with basic web tools. While Google's own tutorial assumes significant experience, Using Google App Engine will help anyone get started with this platform. By the end of this book, you'll know how to build complete, interactive applications and deploy them to the cloud using the same servers that power Google applications. With this book, you will:



Get an overview of the technologies necessary to use Google App Engine
Learn how to use Python, HTML, Cascading Style Sheets (CSS), HTTP, and DataStore, App Engine's database
Grasp the technical aspects necessary to create sophisticated, dynamic web applications
Understand what's required to deploy your applications

Using Google App Engine is also an excellent resource for experienced programmers who want to acquire working knowledge of web technologies. Building web applications used to be for experts only, but with Google App Engine-and this book-anyone can create a dynamic web presence.


Want to learn more information about Using Google App Engine?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...

Beginning Django Ecommerce (Expert's Voice in Web Development) Review

Beginning Django Ecommerce (Expert's Voice in Web Development)
Average Reviews:

(More customer reviews)
Are you looking to buy Beginning Django Ecommerce (Expert's Voice in Web Development)? Here is the right place to find the great deals. we can offer discounts of up to 90% on Beginning Django Ecommerce (Expert's Voice in Web Development). Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

Beginning Django Ecommerce (Expert's Voice in Web Development) ReviewThough I haven't yet completed this book, I like the author's writing style and the information he presents. I also like that fact that he has you write code by yourself instead of just suggesting 3rd party plug-ins to accomplish a particular task (unlike some other Django books). Though the title would suggest this book is only about E-Commerce, it isn't. It is a great introduction to Django and covers everything someone new to Django would need to know to get started.
I bought two Django books published by Apress at about the same time. The first one, Practical Django Projects - 2nd Edition, is a good book, but it has some errors in it, and the author has been unresponsive in addressing them, so they are not included in the books errata on Apress's website. Another negative is that the source code that is supposed to be included with the book wasn't for several months, and though it is now, it is incomplete.
This book also has some errors in it, but the author has been very responsive in commenting on them and getting them out to Apress's errata page so that people new to Django won't be frustrated and unable to move past them. This kind of dedication is very important and appreciated. The book is good on its own, but with the added support of the author, it is a great title.Beginning Django Ecommerce (Expert's Voice in Web Development) OverviewBeginning Django E-Commerce is the first book to guide web developers through producing an e-commerce site using Django, the most popular Python web development framework. It covers everything you need to know to make your own e-commerce site, including how to make a shopping cart, a checkout, and a payment processor, how to make the most of Ajax, as well as search engine optimization best practices.

Want to learn more information about Beginning Django Ecommerce (Expert's Voice in Web Development)?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...

Learning Website Development with Django: A beginner's tutorial to building web applications, quickly and cleanly, with the Django application framework (From Technologies to Solutions) Review

Learning Website Development with Django: A beginner's tutorial to building web applications, quickly and cleanly, with the Django application framework (From Technologies to Solutions)
Average Reviews:

(More customer reviews)
Are you looking to buy Learning Website Development with Django: A beginner's tutorial to building web applications, quickly and cleanly, with the Django application framework (From Technologies to Solutions)? Here is the right place to find the great deals. we can offer discounts of up to 90% on Learning Website Development with Django: A beginner's tutorial to building web applications, quickly and cleanly, with the Django application framework (From Technologies to Solutions). Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

Learning Website Development with Django: A beginner's tutorial to building web applications, quickly and cleanly, with the Django application framework (From Technologies to Solutions) ReviewThis 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.Learning Website Development with Django: A beginner's tutorial to building web applications, quickly and cleanly, with the Django application framework (From Technologies to Solutions) OverviewThis book is a beginner's guide to design, develop, and deploy a fully-featured dynamic website using the features of Django. 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.

Want to learn more information about Learning Website Development with Django: A beginner's tutorial to building web applications, quickly and cleanly, with the Django application framework (From Technologies to Solutions)?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...

Django 1.0 Website Development Review

Django 1.0 Website Development
Average Reviews:

(More customer reviews)
Are you looking to buy Django 1.0 Website Development? Here is the right place to find the great deals. we can offer discounts of up to 90% on Django 1.0 Website Development. Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

Django 1.0 Website Development ReviewLet me preface this review by saying that I'm a professional software developer. I work for a mid-size communications company, and one of my tasks over the past 6 months has been investigating new web technologies to help us develop more modern, best-practices web applications.
I started messing around with Django around 5 months ago, by reading the official website documentation and the online Django book (which were both great resources), but I felt that what was lacking from my experiences was a complete, best-practices walk through of building a full website with Django. As I'm sure most of you know, the best way to get comfortable with a new technology is to use it to build something. This is when I started checking out other Django books on Amazon and came across this one.
This book walks you through building a complete social bookmarking site (similar to [...]) from scratch. The author does an amazing job of introducing you to Django and starts with the basics, working up to more and more complex things. I was surprised how well this book was written, and how easy it was to understand the code and explanations without much thinking. By Chapter 4 (45 pages in) you've already implemented a full user authentication system and user portal. You're able to display bookmarks, and much more. The author is not long-winded, and his writing style reminds me in many ways of Dennis Ritchie and Brian Kernighan (authors of the infamous book: 'The C Programming Language').
As to what the book covers, it walks you through everything from the installation of Django to depolying Django on production servers once the site has been finished. It does an excellent job of discussing useful deployment techniques including caching, in only a few lines of code. Furthermore, the author will show you how to add ajax effects to your website to increase usability, using the jQuery framework (an incredibly popular and powerful javascript framework). It even covers usage of some jQuery plugins (like live searching of content).
I frequently use this book as a reference guide (the cover is beginning to wear out) as the examples are really easy to navigate, and the descriptions are verbose.
Overall, I'd say this book is a must read for any Django developer who wants to really grasp the inner workings of the Django framework. It's easy to read, very concise, and filled with useful, best-practices information that you will not want to miss.Django 1.0 Website Development OverviewA beginner's guide to design, develop, and deploy a fully-featured dynamic website using the features of Django 1.0. This book is for web developers who want to learn to build a complete site with Web 2.0 features, using the power of a proven and popular development system, Django, but do not necessarily want to learn how the 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.

Want to learn more information about Django 1.0 Website Development?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...

Python 3 Web Development Beginner's Guide Review

Python 3 Web Development Beginner's Guide
Average Reviews:

(More customer reviews)
Are you looking to buy Python 3 Web Development Beginner's Guide? Here is the right place to find the great deals. we can offer discounts of up to 90% on Python 3 Web Development Beginner's Guide. Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

Python 3 Web Development Beginner's Guide ReviewPackt Publishing asked me to review "Python 3 Web Development Beginner's Guide" ([...]). I'll have to admit, it's a bit of an odd duck. A better (albeit overly verbose) title might have been "An Introduction to Rich Internet Application Development Using jQuery UI, a Very Modern Version of Python, a Relatively Old Python Web Application Framework Named CherryPy, and an Ancient Version of HTML Written by a Guy Who Uses Windows".
The first tipoff that this book was a bit strange was that the author uses Windows and some combination of Firefox and IE. It seems like most web developers use OS X (or occasionally Linux), and they prefer Chrome over IE.
The next tipoff was the use of jQuery UI. jQuery UI is a very modern technology which is often used to build rich internet applications. RIAs really aren't the sort of thing that I would expect to see in a book for beginners. What happened to the old days when beginning web applications focused on the server dynamically generating HTML? If I took the time to count the number of lines of code, I wouldn't be surprised if this book had more JavaScript than Python.
The title of this book mentions Python 3, but if you search for "Python 3" in the book, there are extremely few mentions of it. This book really isn't about Python 3 per se (as compared to Python 2); it has a lot more to do with jQuery UI.
Whereas Python 3 and jQuery UI are very modern technologies, standing in contrast is the book's use of HTML 4 and CherryPy. HTML 4 is an *ancient* version of HTML. I would expect anyone using jQuery UI to use either XHTML or HTML5. At the very least, I would have expected one of the transitional DTDs. Similarly, he uses CherryPy. Although I agree that CherryPy is solid code, it's also fairly old. It predates any of the modern Python frameworks.
This book claims to teach web development "without having to learn another web framework" [p. 1]. That's simply not true. It makes heavy use of CherryPy. The home page for CherryPy ([...]) calls it an "HTTP framework" and says that it has "everything you would expect from a decent web framework." It's not as full-featured as, say, Django, but parts in the example code such as "@cherrypy.expose" [p. 36] are certainly framework features. In fact, "@cherrypy.expose" is part of CherryPy's object publishing system, which it uses as a replacement for regex-based URL routing.
Another thing that's a bit strange about this book is that the author doesn't use a client-side or a server-side templating language. In JavaScript, he tends to use string concatenation, which is weird because there is a templating pluging for jQuery. On the server, he embeds HTML directly in the Python code, which is pretty ugly (as he mentions on p. 229).
Furthermore, the code is extremely sloppy. The code does not follow Python's style guide concerning whitespace (PEP-8) (see for example p. 145) even though PEP-8 is extremely standard in the Python community. Nor is it even self consistent. I don't know of anyone who puts a space before the colon in expressions such as "if not isinstance(name,str) :" [p. 146]. The indentation in the JavaScript is not only non-standard and inconsistent, it's occasionally completely wrong [p. 118] (i.e. the indentation disagrees with the braces).
Aside from bad style, I'm a little concerned about various coding practices. For instance, the JavaScript at the bottom of p. 40 has variables that don't use var. This means they're effectively global. This is extremely bad practice. Fortunately, he does use var in other places in the book.
On the subject of security, there are several standard security vulnerabilities that web applications must protect against: XSS (cross-site scripting vulnerabilities), SQL injection attacks, XSRF (cross-site request forgeries), and session fixation (or session hijacking) attacks. Every book on web development should cover these.
The book mentions XSS, but I fear it's approach may not be thorough enough. It does not mention the term "SQL injection" attack, but the ORM shown in the book does look to be somewhat safe. It mentions XSRF, but says that it's out of scope. It doesn't mention "session fixation" or "session hijacking". In general, I don't think the book is good enough about "escaping things" properly. For instance, on p. 293 the author creates a URL in JavaScript using values from a form, but he doesn't take care to URL encode the parameters.
Despite all of the above, I can say this about the book. The author does a good job explaining the web to beginners. Modern web applications are fairly complicated beasts. There's the client, the web server, and the database server, and they each require their own syntaxes. The author does a decent job explaining what runs where. It can be difficult for an expert web developer, such as myself, to remember that newbies might not know all these things.
In summary, will this book help you become a competent, professional web developer? Absolutely not. Is it as well written as, say, "Agile Web Development with Rails" ([...]). No. However, might it be a good way for a beginner to dip his toes in web development with Python and jQuery UI? Maybe.
(Disclaimers: Packt gave me a free electronic copy of this book in trade for my review. I have not read the whole thing. I did read the first 50 pages and skimmed various key sections.)Python 3 Web Development Beginner's Guide OverviewPart of Packt's Beginner's Guide Series, this book follows a sample application, with lots of screenshots, to help you get to grips with the techniques as quickly as possible. Moderately experienced Python programmers who want to learn how to create fairly complex, database-driven, cross browser compatible web apps that are maintainable and look good will find this book of most use. All key technologies except for Python 3 are explained in detail.

Want to learn more information about Python 3 Web Development Beginner's Guide?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...

Django JavaScript Integration: AJAX and jQuery Review

Django JavaScript Integration: AJAX and jQuery
Average Reviews:

(More customer reviews)
Are you looking to buy Django JavaScript Integration: AJAX and jQuery? Here is the right place to find the great deals. we can offer discounts of up to 90% on Django JavaScript Integration: AJAX and jQuery. Check out the link below:

>> Click Here to See Compare Prices and Get the Best Offers

Django JavaScript Integration: AJAX and jQuery ReviewI was actually asked by a representative of the publisher to review this book because I have blogged on a similar topic before [...] - this very review also appears on my blog in slightly modified form. Never one to turn up my nose at an opportunity to read a full-length book on a topic I find interesting for free, I agreed. I was hoping for a detailed technical discussion of Django and jQuery integration, but by and large I was disappointed. Hayward comes across as a mediocre technical programmer at best, and the code examples are riddled with inefficiencies, eccentric departures from mainstream best practices for both libraries, and out-and-out errors which should not have made it into the final text. I wanted a technical discussion and I was left feeling uninspired in this area. As a treatise on UI design which draws on Django and jQuery for its technical inspiration, and as a source of some ideas with possible merit for programmers who are already experienced in this area, the book has more merit. All in all, I'm glad I didn't pay good money to read the book, however.
First of all, I have to get something out of the way: this is not a book I would ever recommend to beginners. Not because the treatment is at a higher level, but somewhat the opposite. To begin with, in the current edition of the book, the text introducing jQuery is riddled with basic errors which will confound beginners. I honestly believe that Hayward knows better, but this section of the book seems like it may have been rushed into print with inadequate proofreading and copy editing. Anyway, it's sloppy, and only readers who are reasonably experienced with jQuery will spot the errors without being lead down any garden paths. While Hayward is apparently much more comfortable in Python and the Django and these parts of the text are much more solid, I don't find that Hayward especially shines in this area from a technical standpoint, either. In general, the jQuery and Django sites still provide far superior documentation and basic tutorials for their libraries. Beginners would be far better served to review the tutorials provided on these sites - Hayward adds nothing in particular until you have acquired a strong grounding elsewhere.
What I was hoping for was a technical discussion on how jQuery and Django interoperate, and in this area I also found Hayward fell short for me. Yes, the basics were explained, somewhat. But Hayward doesn't honestly seem to like or trust Javascript or jQuery especially... to me, he almost seems to treat jQuery as the best of a bad lot of Javascript libraries. Maybe it's just me, but I happen to love jQuery, and I felt like it deserved better. It's discouraging for a technical writer to evidently have a tin ear for beautiful code. He doesn't focus on what I would consider mainstream jQuery practices, instead preferring to recommend eccentric or heterodox practices like using the $.ajax() method as much as possible to make AJAX requests, and avoiding using jQuery's own facilities for using JSON, apparently believing them to be a security risk (a point which I don't think is adequately substantiated). One fact I find positively risible is that Hayward binds events to elements in the old style via properties on those elements and completely bypasses the jQuery way of handling events, or for that matter any semblance of non-jQuery Javascript current best practices in this area.
I find there are eccentric elements on the Python side, too. This is another reason why Hayward's book is really only for experienced programmers - I'm not saying that Hayward's opinions are necessarily wrong about these matters, although in some places I don't happen to agree, but they require engagement at the level of someone already familiar with the pertinent issues and would be unwise to take as Gospel. Like for example, he splits a user query into "word" chunks using the bit of code:
split_query = re.split(ur'(?u)\W', query)
while u'' in split_query: split_query.remove(u'')
Ignoring the ubiquitous u's, which is probably laudable but something I would not bother with, why would you do this? Why not split on \W+ and not have to remove any empty strings in the first place (best option), or else use a list comprehension like split_query = [x for x in split_query if x != u'']? Again, Hayward's code seems rushed and inelegant, even in his area of greater strength.
What's missing is important workaday tasks in Django and jQuery integration like serializing forms in jQuery and feeding them to Django, and what to do with that data in Django. One critical issue that is missing is the $.ajax() method's "traditional" parameter, which if not manually set to true will cause surprising loss of backward compatibility for Django code written to operate with jQuery 1.3 and below (and requires extra processing steps for Django code written for jQuery 1.4 and up). This is related to jQuery optimizing for the behavior of PHP and Ruby on Rails, and is something Django developers need to watch for.
One thing that stood out for me: In his jQuery code, Hayward hard-codes URLs, including some rather ugly ones with query strings built in, directly into his AJAX calls, saying (I paraphrase) that there is not really a good way to follow accepted Django best practices here of not hard-coding URLs in templates. If the jQuery code is generated by templates to which you have pushed the relevant parameters into the context, you simply have to add the URL you want to your urlconf in Django and use the {% url %} tag in your Django template. If you want to feed data to the view via the request rather than via the URL parsing, that is what the data parameter of the AJAX call is for - there is no need to manually hack together query strings. This is not a hard solution to implement, and emblematic of the kind of discussion I wanted to see which I feel is missing from this book.
In general, this is not a technical manual, and technical issues are not the author's primary focus and concern. If you come to this book hoping for an advanced technical discussion of how jQuery and Django, taken in their most conventional and mainstream style are best able to interoperate, you will be disappointed. This is not a programming treatise, it is a philosophical treatise from the point of view of a programmer about user interface design as it affects web application development using jQuery and Django integration as its practical example. On this level it's a stronger book, although frankly in many places I found the philosophical excursions a little tedious and trite and not particularly enlightening. Hayward makes a decent argument for his views on proper programming to interact with users. In a few places, I found Hayward's contentions about optimizing the user experience to be genuinely interesting and enlightening. Given the profusion of dreadful user interfaces out there, many programmers could certainly use to take such arguments under serious consideration, although I can't help but feel there must be better books on the market to address this kind of topic in a straight-forward way without dashing anyone's hopes of achieving a more technical enlightenment.
While Hayward's coding, at least as shown in the examples in the book, is mediocre at best and certainly cannot be said to sparkle anywhere, his philosophical system of user interface design which he uses Django and jQuery to illustrate is reasonably serious and adept, and it is on this level that the book should best be engaged. There are also some practical ideas in Hayward's central example throughout the book, the photo directory, from which a reader may glean some useful ideas.Django JavaScript Integration: AJAX and jQuery OverviewThis book will teach you how to enrich your AJAX applications with Django and jQuery in a practical manner with minimum fuss. It introduces AJAX basics, gets a little deeper, and then goes chapter-by-chapter through a carefully chosen case study. It demonstrates how different pieces of a Django AJAX application work in themselves and are put together and specifically leads you through building an intranet employee photo directory with social networking features. This book is for people looking to integrate AJAX / JavaScript functionality into their web applications. It is for Django users who are looking to easily integrate AJAX features into their applications. Conversely, it will also be a priceless companion for users familiar with Django and jQuery who are and looking to integrate them in their AJAX applications. A working knowledge of Django and basic familiarity with AJAX and jQuery are assumed.

Want to learn more information about Django JavaScript Integration: AJAX and jQuery?

>> Click Here to See All Customer Reviews & Ratings Now
Read More...