Django JavaScript Integration: AJAX and jQuery und über 1 Million weitere Bücher verfügbar für Amazon Kindle . Erfahren Sie mehr


oder
Loggen Sie sich ein, um 1-Click® einzuschalten.
oder
Mit kostenloser Probeteilnahme bei Amazon Prime. Melden Sie sich während des Bestellvorgangs an. Erfahren Sie mehr
Alle Angebote
Möchten Sie verkaufen? Hier verkaufen
Django JavaScript Integration: Ajax and Jquery
 
 
Beginnen Sie mit dem Lesen von Django JavaScript Integration: AJAX and jQuery auf Ihrem Kindle in weniger als einer Minute.

Sie haben keinen Kindle? Hier kaufen oder eine gratis Kindle Lese-App herunterladen.

Django JavaScript Integration: Ajax and Jquery [Englisch] [Taschenbuch]

Jonathan Hayward

Unverb. Preisempf.: EUR 37,44
Preis: EUR 35,40 kostenlose Lieferung. Siehe Details.
Sie sparen: EUR 2,04 (5%)
  Alle Preisangaben inkl. MwSt.
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Auf Lager.
Verkauf und Versand durch Amazon.de. Geschenkverpackung verfügbar.
Lieferung bis Mittwoch, 30. Mai: Wählen Sie an der Kasse Morning-Express. Siehe Details.

Weitere Ausgaben

Amazon-Preis Neu ab Gebraucht ab
Kindle Edition EUR 15,13  
Taschenbuch EUR 35,40  

Wird oft zusammen gekauft

Django JavaScript Integration: Ajax and Jquery + Pro Django (Expert's Voice in Web Development) + The Definitive Guide to Django: Web Development Done Right (Expert's Voice in Web Development)
Preis für alle drei: EUR 104,34

Verfügbarkeit und Versanddetails anzeigen

Die ausgewählten Artikel zusammen kaufen

Kunden, die diesen Artikel gekauft haben, kauften auch


Produktinformation


Produktbeschreibungen

Kurzbeschreibung

This 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.

Welche anderen Artikel kaufen Kunden, nachdem sie diesen Artikel angesehen haben?


In diesem Buch (Mehr dazu)
Ausgewählte Seiten ansehen
Buchdeckel | Copyright | Inhaltsverzeichnis | Auszug | Stichwortverzeichnis | Rückseite
Hier reinlesen und suchen:

Vorgeschlagene Tags zu ähnlichen Produkten

 (Was ist das?)
Setzen Sie den ersten relevanten Tag hinzu (ein Schlüsselwort, das mit diesem Produkt in engem Zusammenhang steht).
 
(1)

 

Kundenrezensionen

Es gibt noch keine Kundenrezensionen auf Amazon.de
5 Sterne
4 Sterne
3 Sterne
2 Sterne
1 Sterne
Die hilfreichsten Kundenrezensionen auf Amazon.com (beta)
Amazon.com:  4 Rezensionen
17 von 17 Kunden fanden die folgende Rezension hilfreich
Technically disappointing, more of a philosophical treatise on UI design 17. April 2011
Von sdegrace - Veröffentlicht auf Amazon.com
Format:Taschenbuch
I 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.
7 von 7 Kunden fanden die folgende Rezension hilfreich
Disorganized and sorely lacking 11. April 2011
Von Don - Veröffentlicht auf Amazon.com
Format:Taschenbuch|Von Amazon bestätigter Kauf
There is a formula for books that cover a specific topic such as a web framework.

The first chapter is an overview of the technology. The second chapter covers installation of the software. The third chapter jumps into an example. Subsequent chapters expand on that example. Final chapters may provide alternative ways of accomplishing something from earlier chapters, or cover a specific aspect of the technology that is more complex than people realize.

The reason this formula exists is because it works. Unfortunately Jonathan Hayward chose to completely ignore the formula and put together this confusing and poorly organized book.

Chapter 1 and 2 are a sort of high level overview of the topics in the book. Like the rest of the book even these chapters aren't well organized or structured. Chapter 2 _briefly_ touches on how to create a Django project- but there is no real discussion on how Django works, how it is structured, what dependencies it has, why you might choose it over Pylons, or any other even remotely useful information.

Chapter 3 is nothing but the Authors personal diatribe on UI design. While he makes several good points that would be appropriate in a book on UI design- they are a complete waste of space in a book on Django and jQuery integration.

Subsequent chapters are a mix of code and topics in only the barest semblance of order. Models are introduced without any real explanation of why or how they derive from Django.

This book would have been infinitely more useful if the author had taken us through creation of his example application in more depth and with fewer asides and detours. He seems to enjoy telling us that there are two ways to do things- explaining one- then telling us not to do it that way for these reasons and then moving on to the correct way to do it.

For example- the author says there are two ways we could perform a search- transmit the entire database to the client and do the search in javascript, or do it on the server side. Why he feels the need to explain that doing the search on the client side is bad, but does not feel the need to go into any depth on Django itself, is beyond me. The sort of person that does not understand the client side search problems probably can't program in Python in the first place.

All in all I found this book confusing, disorganized and just generally not what I was expecting based on the title.
0 von 1 Kunden fanden die folgende Rezension hilfreich
A work of haste and poor reviews from packtpub's code and book reviewers 3. Mai 2012
Von Vinod Kumar - Veröffentlicht auf Amazon.com
Format:Taschenbuch
The codes provided with this book is not provided in the same spirit as other Packpub's django books. E.g. Ayman Hourieh's Django 1.0 Website Development. This book is a masterpiece.

Most packtpub book comes with working codes. That was the corner stone for its recent fame in publishing industry. However, the codes provided in this book are not even snippets. It would be very useful if the author posts complete working example rather than individual lines of codes that make no sense.

Chapter by chapter codes provided with packtpub's other Django books work very beautifully.
But in this book single code lines are provided that the author has used for writing the book material. Making total waste of money for the book where the codes cannot be tested immediately. The author misses many important new addition of codes in the book that he uses elsewhere. This book seems a work of haste.

The reviewing has been horrible. Removing the reviewers from the book's inside would be ideal. They are shame.

Kunden diskutieren

Das Forum zu diesem Produkt
Diskussion Antworten Jüngster Beitrag
Noch keine Diskussionen

Fragen stellen, Meinungen austauschen, Einblicke gewinnen
Neue Diskussion starten
Thema:
Erster Beitrag:
Eingabe des Log-ins
 


Aktive Diskussionen in ähnlichen Foren
Kundendiskussionen durchsuchen
Alle Amazon-Diskussionen durchsuchen
   
Ähnliche Foren


Lieblingslisten


Ähnliche Artikel finden


Anhand des Sachgebietes nach ähnlichen Produkten suchen:


Ihr Kommentar


Datenschutzerklärung von Amazon.de Versandbedingungen von Amazon.de Umtausch- & Rücknahme bei Amazon.de