In weniger als einer Minute können Sie mit dem Lesen von You Don't Know JS: this & Object Prototypes auf Ihrem Kindle beginnen. Sie haben noch keinen Kindle? Hier kaufen Oder fangen Sie mit einer unserer gratis Kindle Lese-Apps sofort an zu lesen.

An Ihren Kindle oder ein anderes Gerät senden

 
 
 

Kostenlos testen

Jetzt kostenlos reinlesen

An Ihren Kindle oder ein anderes Gerät senden

Jeder kann Kindle Bücher lesen  selbst ohne ein Kindle-Gerät  mit der KOSTENFREIEN Kindle App für Smartphones, Tablets und Computer.
Der Artikel ist in folgender Variante leider nicht verfügbar
Keine Abbildung vorhanden für
Farbe:
Keine Abbildung vorhanden

 

You Don't Know JS: this & Object Prototypes [Kindle Edition]

Kyle Simpson
5.0 von 5 Sternen  Alle Rezensionen anzeigen (2 Kundenrezensionen)

Kindle-Preis: EUR 6,48 Inkl. MwSt. und kostenloser drahtloser Lieferung über Amazon Whispernet

Weitere Ausgaben

Amazon-Preis Neu ab Gebraucht ab
Kindle Edition EUR 6,48  
Taschenbuch EUR 16,95  


Produktbeschreibungen

Kurzbeschreibung

No matter how much experience you have with JavaScript, odds are you don’t fully understand the language. This concise, in-depth guide takes you inside JavaScript’s this structure and object prototypes. You’ll learn how they work and why they’re integral to behavior delegation—a design pattern in which objects are linked, rather than cloned.

Like other books in the “You Don’t Know JS” series, this and Object Prototypes dives into trickier parts of the language that many JavaScript programmers simply avoid. Armed with this knowledge, you can become a true JavaScript master.

With this book you will:

  • Explore how the this binding points to objects based on how the function is called
  • Look into the nature of JS objects and why you’d need to point to them
  • Learn how developers use the mixin pattern to fake classes in JS
  • Examine how JS’s prototype mechanism forms links between objects
  • Learn how to move from class/inheritance design to behavior delegation
  • Understand how the OLOO (objects-linked-to-other-objects) coding style naturally implements behavior delegation

Produktinformation

  • Format: Kindle Edition
  • Dateigröße: 1382 KB
  • Seitenzahl der Print-Ausgabe: 174 Seiten
  • ISBN-Quelle für Seitenzahl: 1491904151
  • Gleichzeitige Verwendung von Geräten: Keine Einschränkung
  • Verlag: O'Reilly Media; Auflage: 1 (11. Juli 2014)
  • Verkauf durch: Amazon Media EU S.à r.l.
  • Sprache: Englisch
  • ASIN: B00LPUIB9G
  • Text-to-Speech (Vorlesemodus): Aktiviert
  • X-Ray:
  • Durchschnittliche Kundenbewertung: 5.0 von 5 Sternen  Alle Rezensionen anzeigen (2 Kundenrezensionen)
  • Amazon Bestseller-Rang: #100.516 Bezahlt in Kindle-Shop (Siehe Top 100 Bezahlt in Kindle-Shop)

  •  Ist der Verkauf dieses Produkts für Sie nicht akzeptabel?

Mehr über den Autor

Entdecken Sie Bücher, lesen Sie über Autoren und mehr

Kundenrezensionen

4 Sterne
0
3 Sterne
0
2 Sterne
0
1 Sterne
0
5.0 von 5 Sternen
5.0 von 5 Sternen
Die hilfreichsten Kundenrezensionen
5.0 von 5 Sternen Great Insight into Javascript 9. Oktober 2014
Von A.D.
Format:Kindle Edition
Very insightful description of the object prototype mechanism used in Javascript,. it is compared to the standard class mechanism (e.g. from Java, .Net) and the differences are explained quite detailed.
War diese Rezension für Sie hilfreich?
5.0 von 5 Sternen Great book 30. September 2014
Format:Taschenbuch|Verifizierter Kauf
This book gives you a nice insight in Javascript fundamentals that you should know, if you are trying to be a master of your craft.
War diese Rezension für Sie hilfreich?
Die hilfreichsten Kundenrezensionen auf Amazon.com (beta)
Amazon.com: 4.5 von 5 Sternen  12 Rezensionen
5 von 5 Kunden fanden die folgende Rezension hilfreich
5.0 von 5 Sternen An excellent introduction to a complex topic 15. August 2014
Von Matthew - Veröffentlicht auf Amazon.com
Format:Taschenbuch
Kyle Simpson explains the semantics of using "this" in Javascript and why it is not the same as Java. The Javascript keyword "this" is often misunderstood. Many works treat it as the Javascript equivalent of Java's "this" or Python's "self," and while that understanding will lead to working programs in most cases, Simpson explains where that understanding will break down in a way that many programmers will not be able to anticipate. He later discusses Javascript's prototypal inheritance and how it works different than typical inheritance designs.

This text should not be a first introduction to the language and maybe not even a second or third. The topics covered are quite advanced and require a relatively high familiarity with Javascript to begin to understand. At times the text can be very confusing and require re-reading sections to fully grasp, however this is due to the complexity of the material covered and not due the author. The author's writing style is quite clear and his examples are well explained. Code samples are very short and to the point, not wasting space with unnecessary filler code which so many technical books do (pages of GUI code for explaining a simple input/output example for instance).

This is the first example I have seen of covering these topics in this manner, and while at first I was unsure if they really warranted their own book, I did not realize how poorly I understood the semantics of "this." I would highly recommend the text to anybody who expects to do much work in Javascript, in particular in creating or working with frameworks, where a full knowledge of the topics covered could prove indispensible. After reading this text, I would be interested in reading the other texts in the series as well.

(I received an electronic copy of the book as part of OReilly's reader review program.)
2 von 2 Kunden fanden die folgende Rezension hilfreich
5.0 von 5 Sternen More than just a Javascript book.... 1. September 2014
Von astericky - Veröffentlicht auf Amazon.com
Format:Taschenbuch
'this and Object prototypes' is the second book in the 'You Don't know Javascript' book series. I would argue that this book probably could've served as the first book becuase this book challenges developers to actually re-consider the need of and use of the classical design patterns and assessing the benefits and drawbacks of it. In other words it challenges developers to actually be engineers instead of just developers.

It is my opinion that I and other developers have been lazy in that we just accept classical software design as the way software should be developed without really thinking about what that actually means and the benefits and drawbacks of classical design patterns. Rather than fully embracing the benefit of behavior based delegation-oriented design in Javascript, developers have typically shoe-horned in the classical design patterns into Javascript.

If you were even mildly disappointed in the first book in this series 'Scope and Closures', you will pleased to know that this book is head and shoulders better than the first book in this series and really is a shining example of what a good programming book should do is challenge you to think about software design in ways you had not previously really given much thought to.

Gone is the somewhat pretentious tone of the previous book. Instead the author takes a different tone as he aims to teach developers think about the implications of classical and behavioral design patterns. It is as if Kyle got better at writing a book that people can read and learn from. There are plenty of code examples along with detailed explanations of what Javascript is actually doing behind the scenes. This may actually just be a good computer science book to have in general. I am very happy with what I have learned from this book.

The last three chapters that compare classical vs behavior based design patterns in javascript really is worth the price of this book. This book is very well written and I think the last three chapters of this book has uses as a computer science topic in general and should not be limited to just a discussion about Javascript hence the 5 out of 5 stars I a giving it.
2 von 2 Kunden fanden die folgende Rezension hilfreich
5.0 von 5 Sternen Javascript: "the tough parts" 4. Oktober 2014
Von Thomas B. Gross - Veröffentlicht auf Amazon.com
Format:Taschenbuch|Vine Kundenrezension eines kostenfreien Produkts (Was ist das?)
I can't quite decide if this is a great book attempting to teach the subtleties of a cryptic programming language or if the "bad parts" of Javascript just aren't worth knowing about. Ultimately I'm pretty psyched by this book and its approach to the subject matter by focusing on select topics in the language, and I'm really looking forward to reading other books in this "You Don't Know JS" series.

I've been putzing about in JS for about a year, teaching myself how to do things by googling individual topics. The only book I've consulted in the past is "Javascript: the Good Parts" - I am very much part of the intended target audience for this book, that is, people who have learned just enough JS "to get by" and use the language just as a way to connect buttons to JSON requests. I confess I did not even know that Javascript has objects or a "this" before reading this book.

The entire text of the book is available online as a free pdf file to download. I have no idea why O'Reilly allows this for so many of their books now (I do not think the various sites that offer these downloads are pirating anything). In any case, this is a nicely bound book in a convenient size; I've been putting it in my knapsack and reading it on the train to and from work.
1 von 1 Kunden fanden die folgende Rezension hilfreich
3.0 von 5 Sternen Narrowly Focused – Perhaps Too Much So 12. Oktober 2014
Von frankp93 - Veröffentlicht auf Amazon.com
Format:Taschenbuch|Vine Kundenrezension eines kostenfreien Produkts (Was ist das?)
There’s no introductory tutorial or review of basics, so some experience with JavaScript is advised if you want to hit the ground running.

Those with C++ or Java backgrounds will figure it out, but if you picked up JavaScript piecemeal (not uncommon) and don’t have an OO background, there are easier to follow tutorials and books out there that explain objects and the ‘this’ context reference.
Personally, I think ‘JavaScript Succinctly’, downloadable from SyncFusion, does a cleaner job with more practical code that’s a better fit for those without OO experience.

I think I get where the author is coming from; he writes well and the code is well though out. I coded in C++ with an OO background before JavaScript existed and, like him, for a long time refused to take it seriously as well. But the ideal audience for such a narrowly focused book is people who appreciate and enjoy the nuances of language semantics and they’re the ones who likely already get JavaScript’s not-quite-real-OO features.

In short, if you’re a language geek invoved with JavaScript, you’ll probably love it. But if you’re looking for a clear, practical tutorial on advancing your existing JavaScript skills in an OO direction, I can’t wholeheartedly recommend this one.
1 von 1 Kunden fanden die folgende Rezension hilfreich
4.0 von 5 Sternen Deep-dive into JS object prototypes for beginner to intermediate JS programmers. 21. Oktober 2014
Von Mike - Veröffentlicht auf Amazon.com
Format:Taschenbuch|Vine Kundenrezension eines kostenfreien Produkts (Was ist das?)
This slim monograph (153 pages) digs into the nuts and bolts of the object prototypes and the "this" object in javascript. For those familiar with other object-oriented languages (particularly java) this book will really help you understand the nuances of javascript. Having functions as first class objects gives the language some behaviors that are surprising to those familiar with OO that this book will help you understand. JS is also has some interesting scoping behavior that will surprise those familiar with functional language features like monads. I would suggest that when reading this book you have a REPL environment to play in (browser-dev consolein chrome or nodejs work). Bear in mind this book is not designed to be a JS tutorial, but more for an beginning/intermediate JS programmer who has been scratching there head when trying to understand behavior when trying to develop creational coding patterns like abstract factories or singletons for example.

I would have liked and index - the book is short, but packed with info so I'm dropping 1 star as this would help when you want to revisit some of the material.
Waren diese Rezensionen hilfreich?   Wir wollen von Ihnen hören.
Kundenrezensionen suchen
Nur in den Rezensionen zu diesem Produkt suchen

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
 

Kundendiskussionen durchsuchen
Alle Amazon-Diskussionen durchsuchen
   


Ähnliche Artikel finden