Nicholas C. Zakas est un consultant, auteur et conférencier de premier plan dans le domaine du front-end. Il excelle dans la promotion des meilleures pratiques de développement, notamment l'amélioration progressive, l'accessibilité, la performance, la scalabilité et la maintenabilité. Son travail se concentre sur la création d'applications web robustes et efficaces, à la fois accessibles et faciles à gérer. L'approche de Zakas souligne l'importance d'un code de qualité et d'une architecture réfléchie pour le succès à long terme des projets logiciels.
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.
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.
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
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.
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.
Najnowsza specyfikacja języka JavaScript — ECMAScript 6 — jest najważniejszym
uaktualnieniem w dotychczasowej historii tego języka. Jej Zrozumienie
specyfikacji ECMAScript 6 ma kluczowe znaczenie dla wszystkich programistów
JavaScript. Tworzy ona solidny fundament i to właśnie na nim będą budowane
wszystkie aplikacje JavaScriptu w przyszłości.Oto podręcznik przeznaczony dla
średnio zaawansowanych i zaawansowanych programistów JavaScriptu, którzy
korzystają ze środowiska przeglądarki WWW lub Node.js. Omówiono tu zagadnienia
wiązania bloków, ciągów tekstowych, wyrażeń regularnych, a także zmiany
wprowadzone w funkcjach. Przedstawiono pełne wprowadzenie do typów obiektów
oraz składni, które pojawiły się w JavaScripcie wraz ze specyfikacją
ECMAScript 6. Nie zabrakło przykładów kodu działającego w dowolnym środowisku
JavaScriptu. Dodatkowo zaprezentowano zmiany wprowadzone wraz z nowym
standardem ECMAScript 7 (2016).Nicholas C. Zakas — pisze aplikacje internetowe
od niemal dwudziestu lat. Jest doskonale znanym i uznanym ekspertem w
dziedzinie tworzenia front-endu i przyczynia się do kształtowania najlepszych
praktyk w tym zakresie. Specjalizuje się w stosowaniu takich technik, jak
JavaScript, Dynamic HTML, CSS, XML oraz XSLT. Kilka lat pracował w firmie
Yahoo!, w której pełnił funkcje głównego inżyniera do spraw związanych z jej
główną witryną. Jest autorem wielu książek dotyczących technik
programistycznych.
Chcete využít plný potenciál JavaScriptu, DOM a Ajaxu? Kniha ze světoznámé edice vám ukáže, jak dosáhnout konkrétních cílů a vytvořit plynulou komunikaci bez prostředníků jako je Java nebo skryté rámy.Prozkoumáte objektově orientované programování, dědičnost a jejich využití v HTML a XHTML. Kniha podrobně vysvětluje DOM, simulaci událostí, parsování XML nebo dotazy XPatch. To vše od profesionálů v oboru.