- Taschenbuch: 251 Seiten
- Verlag: O'Reilly and Associates; Auflage: 1 (21. August 2012)
- Sprache: Englisch
- ISBN-10: 1449331815
- ISBN-13: 978-1449331818
- Größe und/oder Gewicht: 17,8 x 2 x 23,3 cm
- Durchschnittliche Kundenbewertung: 1 Kundenrezension
- Amazon Bestseller-Rang: Nr. 90.949 in Fremdsprachige Bücher (Siehe Top 100 in Fremdsprachige Bücher)
|Neu ab||Gebraucht ab|
Wird oft zusammen gekauft
Kunden, die diesen Artikel gekauft haben, kauften auch
Es wird kein Kindle Gerät benötigt. Laden Sie eine der kostenlosen Kindle Apps herunter und beginnen Sie, Kindle-Bücher auf Ihrem Smartphone, Tablet und Computer zu lesen.
Geben Sie Ihre Mobiltelefonnummer ein, um die kostenfreie App zu beziehen.
Über den Autor und weitere Mitwirkende
Welche anderen Artikel kaufen Kunden, nachdem sie diesen Artikel angesehen haben?
Das Buch bietet eine gute Übersicht über das Thema und eine ganze umfangreiche Sektion wie sich viele Pattern mithilfe JQuery schneller implementieren lassen.
Der Tonfall ist sachlich und freundlich (finde ich wichtig).
Leider sind auf fast jeder Seite Fehler zu finden, entweder zeigen die Illustrationen etwas falsches, oder der Code ist fehlerhaft.
Dennoch kann man das Buch zum Kauf empfehlen.
Die hilfreichsten Kundenrezensionen auf Amazon.com (beta)
I found much of the book helpful, but it suffers from being uneven and unfocused. There are 14 chapters in the book but 80% of the content is in chapters 9 through 13. The first 8 chapters and introductory, repetitive, and short. It would have been better to have a single 10 or 15 page introduction than eight 2 page chapters. Even beginners could safely skip to chapter 9.
The best chapter in the book is chapter 12, "Design Patterns in jQuery." It describes patterns by showing them in use in jQuery, and providing commentary on the actual source. If the entire book had been organized like chapter 12, this would be a five star review.
One nice thing about the book is the many references included. Almost everything was backed up by at least one, sometimes several, blog posts or articles by experts.
The eBook originally had many errors in its diagrams, but O'Reilly has updated it recently, and most of the problems seem to be fixed. I was disappointed with the kindle version which I read on my iPod; I had to switch to the PDF at times to understand the book. Usually O'Reilly creates excellently formatted eBooks, so that was surprising.
There was a lot of good in this book, especially in the later chapters, but I would have a hard time recommending it for purchase, when the content is available online in a searchable form for free.
Don't get me wrong, there *is* a highlight reel here. Osmani's pedagogical streak comes across in so many places--it's clear that he has a passion for this material, and that he is equally passionate about helping people develop their skills as front-end developers. Throughout the first eight chapters (which really should have just been merged into one), he does a fantastic job of defining what constitutes a pattern, of explaining why we (as front-end developers) should care about and study design patterns, and of what makes something an "anti-pattern". Chapter Nine (the "walking tour" of the Gang of Four patterns) has the right balance between discussing the theoretical details behind a given pattern, and an illustration of its practical application. The most critical follow-up to Chapter Nine is found in Chapter Twelve, which essentially takes jQuery and uses it as a case study for those design patterns in action. Lastly, you can think of Osmani as providing a curator's role with this book; there are many places in the text where he is citing work from others as either illustrating a particular facet of a design pattern, or else as building on it in some important way.
Unfortunately, I also think that the editorial staff (both the technical reviewers, and the copy editors) really phoned it in with this book. The heading levels within individual chapters do not always have a clear correspondence with the level of importance for that section; there are a few syntax errors in the code examples, some of which are easy to spot in the electronic version (because of syntax highlighting); and speaking of syntax highlighting, it's inconsistently applied throughout the text of the electronic edition.
(Full disclosure: I received an electronic copy of this book from the publisher in exchange for writing a review.)
The sections that were particularly valuable to me include:
- Module patterns
- the MV* comparisons
- "Modern" modular patterns (AMD and CommonJS)
My only complaint about this book is that in some cases the information is specific to particular frameworks or libraries, to a fault. For example, in the section on Module patterns, it covers implementations in several frameworks -- YUI, MooTools, Dojo, etc. But of course frameworks come and go all the time, so I'd rather not have to read them and make a judgement about whether to learn the approach in one or the other framework. In another case, in the PubSub implementation section, the most coverage is given to a specific implementation (Ben Alman's PubSub) but I would have preferred to get more discussion about general implementation approaches (e.g. with a generic, basic implementation) rather than skipping straight into "here's a version with all the bells and whistles" without enough detail about why a particular feature is useful.
Disclosure: I received a free e-book copy for review purposes.