Wenn Sie mit Programmiersprachen wie C++ oder Java vertraut sind, erscheint JavaScript zunächst wenig objektorientiert. Es hat kein Klassenkonzept und erfordert keine Definition von Objekten, um Programme zu erstellen. Lassen Sie sich jedoch nicht täuschen: JavaScript ist eine mächtige objektorientierte Sprache, die Ihnen viele Designentscheidungen überlässt. In diesem kompakten Buch erforscht Nicholas Zakas die objektorientierte Natur der Sprache und erläutert die einzigartige Implementierung von Vererbung und anderen Schlüsselkonzepten. Er zeigt, wie Sie Kapselung, Aggregation, Vererbung und Polymorphismus in JavaScript umsetzen können. Sie erfahren unter anderem, welche Unterschiede zwischen primitiven und Referenztypen bestehen, was JavaScript-Funktionen einzigartig macht, wie Sie Objekte definieren, Ihren eigenen Konstruktor erstellen und mit Prototypen arbeiten, sowie welche Vererbungsmuster für Typen und Objekte möglich sind. Das Buch führt auch erfahrene Programmierer zu einem tieferen Verständnis von JavaScript und ermöglicht es, besser strukturierten, flexibleren und effizienteren Code zu schreiben. Autor Nikolas Zakas ist ein bekannter Entwickler im JavaScript-Umfeld und hat mehrere erfolgreiche Bücher zu diesem Thema veröffentlicht.
Nicholas C. Zakas Bücher
Nicholas C. Zakas ist ein führender Front-End-Berater, Autor und Redner. Er zeichnet sich durch die Förderung von Best Practices in der Entwicklung aus, darunter progressive Enhancement, Barrierefreiheit, Leistung, Skalierbarkeit und Wartbarkeit. Seine Arbeit konzentriert sich auf den Aufbau robuster und effizienter Webanwendungen, die sowohl zugänglich als auch leicht zu verwalten sind. Zakas' Ansatz unterstreicht die Bedeutung von qualitativ hochwertigem Code und durchdachter Architektur für den langfristigen Erfolg von Softwareprojekten.







Ajax ist in aller Munde. Es steht für Asynchronous JavaScript and XML und eignet sich besonders zum Erstellen schneller Webapplikationen. Dieses Buch behandelt die vielfältigen Aspekte von Ajax und erläutert deren Einsatz in der Praxis. Sie lernen zahlreiche Ajax-Techniken und Patterns kennen, um Ihre eigenen Ajax-Lösungen zu implementieren.
Understanding JavaScript Promises
- 94 Seiten
- 4 Lesestunden
Understanding promises is crucial for any proficient JavaScript developer, especially since their introduction in 2015. The book starts with foundational concepts, guiding readers through the creation and usage of promises. It progresses to advanced topics like chaining promises and handling multiple promises simultaneously. Additionally, readers will explore the integration of promises with async functions and the management of unhandled promise rejections. Real-world examples enhance learning, making it applicable for JavaScript in web browsers, Node.js, or Deno.
If you've used a more traditional object-oriented language, such as C++ or Java, JavaScript probably doesn't seem object-oriented at all. It has no concept of classes, and you don't even need to define any objects in order to write code. But don't be fooled—JavaScript is an incredibly powerful and expressive object-oriented language that puts many design decisions right into your hands. In The Principles of Object-Oriented JavaScript, Nicholas C. Zakas thoroughly explores JavaScript's object-oriented nature, revealing the language's unique implementation of inheritance and other key characteristics. You'll learn: –The difference between primitive and reference values –What makes JavaScript functions so unique –The various ways to create objects –How to define your own constructors –How to work with and understand prototypes –Inheritance patterns for types and objects The Principles of Object-Oriented JavaScript will leave even experienced developers with a deeper understanding of JavaScript. Unlock the secrets behind how objects work in JavaScript so you can write clearer, more flexible, and more efficient code.
ECMAScript 6 represents the biggest update to the core of JavaScript in the history of the language. In Understanding ECMAScript 6 , expert developer Nicholas C. Zakas provides a complete guide to the object types, syntax, and other exciting changes that ECMAScript 6 brings to JavaScript. Every chapter is packed with example code that works in any JavaScript environment so you'll be able to see new features in action. You'll learn: -How ECMAScript 6 class syntax relates to more familiar JavaScript concepts -What makes iterators and generators useful -How arrow functions differ from regular functions -Ways to store data with sets, maps, and more -The power of inheritance -How to improve asynchronous programming with promises -How modules change the way you organize code Whether you're a web developer or a Node.js developer, you'll find Understanding ECMAScript 6 indispensable on your journey from ECMAScript 5 to ECMAScript 6.
Professional JavaScript for web developers
- 960 Seiten
- 34 Lesestunden
A significant update to a bestselling JavaScript book As the key scripting language for the web, JavaScript is supported by every modern web browser and allows developers to create client-side scripts that take advantage of features such as animating the canvas tag and enabling client-side storage and application caches.
High performance JavaScript
- 242 Seiten
- 9 Lesestunden
If you're like most developers, you rely heavily on JavaScript to build interactive and quick-responding web applications. The problem is that all of those lines of JavaScript code can slow down your apps. This book reveals techniques and strategies to help you eliminate performance bottlenecks during development. You'll learn how to improve execution time, downloading, interaction with the DOM, page life cycle, and more. Yahoo! frontend engineer Nicholas C. Zakas and five other JavaScript experts -- Ross Harmes, Julien Lecomte, Steven Levithan, Stoyan Stefanov, and Matt Sweeney -- demonstrate optimal ways to load code onto a page, and offer programming tips to help your JavaScript run as efficiently and quickly as possible. You'll learn the best practices to build and deploy your files to a production environment, and tools that can help you find problems once your site goes live. Identify problem code and use faster alternatives to accomplish the same task Improve scripts by learning how JavaScript stores and accesses data Implement JavaScript code so that it doesn't slow down interaction with the DOM Use optimization techniques to improve runtime performance Learn ways to ensure the UI is responsive at all times Achieve faster client-server communication Use a build system to minify files, and HTTP compression to deliver them to the browser
Maintainable JavaScript
- 242 Seiten
- 9 Lesestunden
When you're writing code alone, you have a lot of leeway. But when you start writing code as part of a team, you need to think harder about the decisions you make. This book will help you do that.
Programmer to Programmer: Professional Ajax
- 432 Seiten
- 16 Lesestunden
Written for experienced web developers, Professional Ajax shows how to combine tried-and-true CSS, XML, and JavaScript technologies into Ajax. This provides web developers with the ability to create more sophisticated and responsive user interfaces and break free from the "click-and-wait" standard that has dominated the web since its introduction. Professional Ajax discusses the range of request brokers (including the hidden frame technique, iframes, and XMLHttp) and explains when one should be used over another. You will also learn different Ajax techniques and patterns for executing client-server communication on your web site and in web applications. By the end of the book, you will have gained the practical knowledge necessary to implement your own Ajax solutions. In addition to a full chapter case study showing how to combine the book's Ajax techniques into an AjaxMail application, Professional Ajax uses many other examples to build hands-on Ajax experience. Some of the other examples include: web site widgets for a news ticker, weather information, web search, and site search preloading pages in online articles incremental form validation using Google Web APIs in Ajax creating an autosuggest text box Professional Ajax readers should be familiar with CSS, XML, JavaScript, and HTML so you can jump right in with the book and begin learning Ajax patterns, XPath and XSLT support in browsers, syndication, web services, JSON, and the Ajax Frameworks, JPSpan, DWR, and Ajax.NET.


