Видавець: 16
Node Cookbook. Actionable solutions for the full spectrum of Node.js 8 development - Third Edition
Matteo Collina, David Mark Clements, Peter Elger,...
Today's web demands efficient real-time applications and scalability. Asynchronous event-driven programming is ideal for this, and this is where Node.js comes in. Server-side JavaScript has been here since the 90s, but Node got it right.With Node for tooling and server-side logic, and a browser-based client-side UI, everything is JavaScript. This leads to rapid, fluid development cycles. The full-stack, single language experience means less context-switching between languages for developers, architects and whole teams.This book shows you how to build fast, efficient, and scalable client-server solutions using the latest versions of Node. The book begins with debugging tips and tricks of the trade, and how to write your own modules. Then you'll learn the fundamentals of streams in Node.js, discover I/O control, and how to implement the different web protocols. You'll find recipes for integrating databases such as MongoDB, MySQL/MariaDB, Postgres, Redis, and LevelDB. We also cover the options for building web application with Express, Hapi and Koa.You will then learn about security essentials in Node.js and advanced optimization tools and techniques.By the end of the book you will have acquired the level of expertise to build production-ready and scalable Node.js systems.The techniques and skills you will learn in this book are based on the best practices developed by nearForm, one of the leaders in Node implementations, who supported the work of the authors on this book.
Bethany Griggs
A key technology for building web applications and tooling, Node.js brings JavaScript to the server enabling full-stack development in a common language. This fourth edition of the Node Cookbook is updated with the latest Node.js features and the evolution of the Node.js framework ecosystems.This practical guide will help you to get started with creating, debugging, and deploying your Node.js applications and cover solutions to common problems, along with tips to avoid pitfalls. You'll become familiar with the Node.js development model by learning how to handle files and build simple web applications and then explore established and emerging Node.js web frameworks such as Express.js and Fastify. As you advance, you'll discover techniques for detecting problems in your applications, handling security concerns, and deploying your applications to the cloud. This recipe-based guide will help you to easily navigate through various core topics of server-side web application development with Node.js.By the end of this Node book, you'll be well-versed with core Node.js concepts and have gained the knowledge to start building performant and scalable Node.js applications.
David Mark Clements
The principles of asynchronous event-driven programming are perfect for today's web, where efficient real-time applications and scalability are at the forefront. Server-side JavaScript has been here since the 90's but Node got it right. With a thriving community and interest from Internet giants, it could be the PHP of tomorrow.Node Cookbook shows you how to transfer your JavaScript skills to server side programming. With simple examples and supporting code, Node Cookbook talks you through various server side scenarios often saving you time, effort, and trouble by demonstrating best practices and showing you how to avoid security faux pas.Beginning with making your own web server, the practical recipes in this cookbook are designed to smoothly progress you to making full web applications, command line applications, and Node modules. Node Cookbook takes you through interfacing with various database backends such as MySQL, MongoDB and Redis, working with web sockets, and interfacing with network protocols, such as SMTP. Additionally, there are recipes on correctly performing heavy computations, security implementations, writing, your own Node modules and different ways to take your apps live.
David Mark Clements
In Node Cookbook Second Edition, each chapter focuses on a different aspect of working with Node. Following a Cookbook structure, the recipes are written in an easy-to-understand language. Readers will find it easier to grasp even the complex recipes which are backed by lots of illustrations, tips, and hints. If you have some knowledge of JavaScript and want to build fast, efficient, scalable client-server solutions, then Node Cookbook Second Edition is for you. Knowledge of Node will be an advantage but is not required. Experienced users of Node will be able to improve their skills.
David Herron
Presented in a simple, step-by-step format, this book is an introduction to web development with Node.This book is for anybody looking for an alternative to the P languages (Perl, PHP, Python), or anyone looking for a new paradigm of server-side application development.The reader should have at least a rudimentary understanding of JavaScript and web application development.
Mario Casciaro, Luciano Mammino
Node.js is a massively popular software platform that lets you use JavaScript to easily create scalable server-side applications. It allows you to create efficient code, enabling a more sustainable way of writing software made of only one language across the full stack, along with extreme levels of reusability, pragmatism, simplicity, and collaboration. Node.js is revolutionizing the web and the way people and companies create their software.In this book, we will take you on a journey across various ideas and components, and the challenges you would commonly encounter while designing and developing software using the Node.js platform. You will also discover the Node.js way of dealing with design and coding decisions.The book kicks off by exploring the basics of Node.js describing it's asynchronous single-threaded architecture and the main design patterns. It then shows you how to master the asynchronous control flow patterns,and the stream component and it culminates into a detailed list of Node.js implementations of the most common design patterns as well as some specific design patterns that are exclusive to the Node.js world.Lastly, it dives into moreadvanced concepts such as Universal Javascript,and scalability' and it's meant to conclude the journey by giving the reader all the necessary concepts to be able to build an enterprise grade application using Node.js.
Node.js 6.x Blueprints. Maximize the potential of Node.js with real-world projects
Fernando Monteiro
Node.js is the most popular framework to create server-side applications today. Be it web, desktop, or mobile, Node.js comes to your rescue to create stunning real-time applications. Node.js 6.x Blueprints will teach you to build these types of projects in an easy-to-understand manner.The key to any Node.js project is a strong foundation on the concepts that will be a part of every project. The book will first teach you the MVC design pattern while developing a Twitter-like application using Express.js. In the next chapters, you will learn to create a website and applications such as streaming, photography, and a store locator using MongoDB, MySQL, and Firebase. Once you’re warmed up, we’ll move on to more complex projects such as a consumer feedback app, a real-time chat app, and a blog using Node.js with frameworks such as loopback.io and socket.io. Finally, we’ll explore front-end build processes, Docker, and continuous delivery.By the end of book, you will be comfortable working with Node.js applications and will know the best tools and frameworks to build highly scalable desktop and cloud applications.
Node.js Blueprints. Develop stunning web and desktop applications with the definitive Node.js
Krasimir Stefanov Tsonev
A straightforward, practical guide containing step-by-step tutorials that will push your Node.js programming skills to the next level. If you are a web developer with experience in writing client-side JavaScript and want to discover the fascinating world of Node.js to develop fast and efficient web and desktop applications, then this book is for you.
Node.js By Example. Learn to use Node.js by creating a fully functional social network
Krasimir Tsonev
If you are a JavaScript developer with no experience with Node.js or server-side web development, this book is for you. It will lead you through creating a fairly complex social network. You will learn how to work with a database and create real-time communication channels.
Bethany Griggs, Manuel Spigolon
Node.js is a game-changing technology for building modern web applications and tooling, bringing the power of JavaScript to the server and enabling full-stack development in a unified language. This updated edition of this Node.js cookbook, featuring Node.js 22, equips you with the latest advancements and enhancements in the Node.js framework ecosystem.From Bethany Griggs, who has served on the Node.js Technical Steering Committee and participated in the Node.js Release Working Group, and Manuel Spigolon, a core maintainer of Fastify, comes this fifth edition of the Node.js Cookbook to help you master Node.js 22. This book guides you step by step through crafting reusable code with Node.js modules, streamlining development using the Fastify web framework, and implementing data persistence in databases and rigorous testing practices for robust applications. You’ll address security concerns, optimize performance with worker threads, deploy Node.js microservices using containerization and orchestration, and tackle troubleshooting with effective debugging strategies. Packed with real-world examples, this guide empowers you to harness Node.js 22's full potential for creating secure, performant, and dynamic applications.
Mario Casciaro, Luciano Mammino
In this book, we will show you how to implement a series of best practices and design patterns to help you create efficient and robust Node.js applications with ease.We kick off by exploring the basics of Node.js, analyzing its asynchronous event driven architecture and its fundamental design patterns. We then show you how to build asynchronous control flow patterns with callbacks, promises and async/await. Next, we dive into Node.js streams, unveiling their power and showing you how to use them at their full capacity. Following streams is an analysis of different creational, structural, and behavioral design patterns that take full advantage of JavaScript and Node.js. Lastly, the book dives into more advanced concepts such as Universal JavaScript, scalability and messaging patterns to help you build enterprise-grade distributed applications.Throughout the book, you’ll see Node.js in action with the help of several real-life examples leveraging technologies such as LevelDB, Redis, RabbitMQ, ZeroMQ, and many others. They will be used to demonstrate a pattern or technique, but they will also give you a great introduction to the Node.js ecosystem and its set of solutions.
Luciano Mammino, Mario Casciaro, Colin J. Ihrig,...
Node.js underpins much of modern web development, reliably powering APIs and full-stack apps across all industries. Authors Luciano Mammino and Mario Casciaro offer a practical guide that unpacks the JavaScript runtime so you can write reliable, high-performance Node.js apps.Building on the highly rated third edition, this new edition adds fresh case studies and the latest Node.js developments: newer APIs and libraries, ESM improvements, practical security and production tips, and guidance on using Node.js with TypeScript. It also introduces a new chapter on testing that gives you a full introduction to testing philosophy and practical guidance on writing unit, integration, and end-to-end tests, giving you the confidence to write functional, stable, and reliable code.Real-world, end-to-end examples throughout the book show how to build microservices and distributed systems with Node.js, integrating production-proven technologies such as Redis, RabbitMQ, LevelDB, and ZeroMQ, the same components you’ll find in scalable deployments at companies of all sizes. End-of-chapter exercises consolidate your understanding.By the end of this Node.js book, you’ll have the design patterns, mindset, and hands-on skills every serious Node.js professional needs to confidently architect robust, efficient, and maintainable applications.
Mario Casciaro
Node.js is a massively popular software platform that lets you use JavaScript to easily create scalable server-side applications. It allows you to create efficient code, enabling a more sustainable way of writing software made of only one language across the full stack, along with extreme levels of reusability, pragmatism, simplicity, and collaboration. Node.js is revolutionizing the web and the way people and companies create their software.In this book, we will take you on a journey across various ideas and components, and the challenges you would commonly encounter while designing and developing software using the Node.js platform. You will also discover the Node.js way of dealing with design and coding decisions.The book kicks off by exploring the fundamental principles and components that define the platform. It then shows you how to master asynchronous programming and how to design elegant and reusable components using well-known patterns and techniques. The book rounds off by teaching you the various approaches to scale, distribute, and integrate your Node.js application.
Ulises Gascón
Node.js revolutionizes server-side JavaScript development and empowers developers to build efficient, scalable, and versatile applications across a range of use cases. This book is written by a Node.js core collaborator and releaser and is the only book for beginners on Node.js. It takes you on a progressive learning path that will give you the skills needed to leverage Node.js.You’ll learn Node.js fundamentals and refresh your knowledge of JavaScript before transitioning to the development of modern web applications using Node.js, Express.js, and MongoDB. You’ll get hands-on with complex topics such as asynchronous programming, npm libraries, event-driven patterns for HTTP servers, RESTful API, and JSON Web Tokens. The final chapters will walk you through the deployment process, offering insights into various strategies, including bare metal setups, virtual machines, and containerization with Docker. You’ll also be guided through the use of Process Manager 2 (PM2) for efficient process management.By the end of this Node.js book, you'll have the skills to craft, test, and deploy Node.js web applications confidently and use this powerful stack in your day-to-day projects.
Diogo Resende
Take your application to the next level of high performance using the extensive capabilities of Node.jsAbout This BookAnalyze, benchmark, and profile your Node.js application to find slow spots, and push it to the limit by eliminating performance bottlenecksLearn the basis of performance analysis using Node.jsExplore the high performance capabilities of Node.js, along with best practicesIn DetailNode.js is a tool written in C, which allows you to use JavaScript on the server-side. High performance on a platform like Node.js is knowing how to take advantage of every aspect of your hardware, helping memory management act at its best, and correctly deciding how to architect a complex application. Do not panic if your applications start consuming a lot of memory; instead spot the leak and solve it fast with Node.js by monitoring and stopping it before it becomes an issue.This book will provide you with the skills you need to analyze the performance of your application and monitor the aspects that can and should be. Starting with performance analysis concepts and their importance in helping Node.js developers eliminate performance bottlenecks, this book will take you through development patterns to avoid performance penalties. You will learn the importance of garbage collection and its behaviour,and discover how to profile your processor, allowing better performance and scalability.You will then learn about the different types of data storage methods. Moving on, you will get to grips with testing and benchmarking applications to avoid unknown application test zones. Lastly, you will explore the limits that external components can impose in your application in the form of bottlenecks.By following the examples in each chapter, you will discover tips to getting better performing applications by avoiding anti-patterns and stretching the limits of your environment as much as possible.What You Will LearnDevelop applications using well-defined and well-tested development patternsExplore memory management and garbage collection to improve performanceMonitor memory changes and analyze heap snapshotsProfile the CPU and improve your code to avoid patterns that force intensive processor usageUnderstand the importance of data and when you should cache informationLearn to always test your code and benchmark when neededExtend your application’s scope and know what other elements can influence performanceWho This Book Is ForThis book is for Node.js developers who want a more in-depth knowledge of the platform to improve the performance of their applications. Whether you have a base Node.js background or you are an expert who knows the garbage collector and wants to leverage it to make applications more robust, the examples in this book will benefit you.Style and approachThis is a practical guide to learning high performance, which even the least experienced developer will comprehend. Small and simple examples help you test concepts yourself and easily adapt them to any application, boosting its performance and preparing it for the real-world.
Node.js i TypeScript. Kurs video. Tworzenie skalowalnych mikroserwisów
Sebastian Domagała
Obierz kurs na... supersprawne serwisy WWW Biznes w XXI wieku jest oszczędny i wymagający równocześnie. Z jednej strony dąży do maksymalnie racjonalnego wykorzystania środków i czasu, z drugiej - wymaga perfekcji w obsłudze klienta. Również online. Dlatego też przedsiębiorcy, dla których przygotowuje się większość serwisów internetowych, coraz chętniej korzystają z chmur i ich wielkiej mocy obliczeniowej, a także supersprawnych mikroserwisów, zdolnych do jednoczesnej obsługi bardzo wielu użytkowników. Te wymagania są niemal idealnie skrojone pod możliwości JavaScriptu, Node.js i TypeScriptu. Potwierdza to między innymi ankieta Stack Overflow. Zgodnie z jej wynikami JavaScript jest obecnie najczęściej używanym językiem programowania, Node.js najchętniej stosowanym frameworkiem, a TypeScript jedną z najbardziej lubianych i pożądanych technologii w świecie programowania. Widać więc jasno kierunek, w jakim idzie programowanie. Czy nie uważasz, że czas najwyższy opanować te technologie i zacząć zarabiać na tworzeniu skalowalnych, sprawnych mikroserwisów? Ten bazujący na JavaScripcie kurs pozwoli Ci zdobyć solidne podstawy Node.js, usystematyzuje Twoją wiedzę dotyczącą skutecznego tworzenia i rozwijania projektów i pokaże Ci, w jaki sposób wyłapać błędy w kodzie przed jego odpaleniem przy użyciu TypeScriptu. W efekcie nauczysz się tworzyć zracjonalizowane i sprawne projekty o sensownej strukturze, a Twój kod (i Twoje serwisy) zyska na skalowalności. Co Cię czeka podczas naszego profesjonalnego szkolenia? W trakcie kursu: Poznasz zasadę działania Node.js i sposoby na praktyczne korzystanie z niego w mikroserwisach. Opanujesz podstawy TypeScriptu i nauczysz się go używać. Dowiesz się, jak stworzyć prawidłową strukturę projektu i podzielić go na części składowe. Zobaczysz, jak się pracuje z bazami danych Co więcej... Zdobędziesz podstawy Basha, zrozumiesz, jak integruje się z Gitem i tworzy projekt według dokumentacji (Swagger). Node.js i TypeScript. Kurs video. Tworzenie skalowalnych mikroserwisów zakończysz na poziomie średnio zaawansowanym. Twoja wiedza dotycząca Node.js będzie zaawansowana, natomiast mikroserwisy i ich integracje to bardzo obszerny temat, także po kursie dobrze będzie poświęcić jeszcze nieco czasu na pracę indywidualną. Kurs jest przeznaczony dla osób które znają już podstawy języka JavaScript albo umieją programować w innym języku, choć wtedy niektóre rzeczy będą sobie musieli przyswoić we własnym zakresie. Node.js developer, full stack developer, a może specjalista od IoT (Internet of Things)? Nasz kurs to Twoja podstawa. Podstawa, baza, punkt wyjścia do rozwijania kariery w branży IT. Nabywszy wiedzę i umiejętności w zakresie JavaScriptu, Node.js i TypeScriptu, będziesz mógł się starać o pracę w charakterze Node.js developera lub też full stack developera. Dzięki świadomości, na czym polega backend development, będziesz posiadać potrzebne narzędzia i podstawy, aby realizować własne pomysły związane na przykład z internetem rzeczy (projekt Node-RED). To da Ci perspektywy na przyszłość, która z pewnością będzie tylko bardziej i bardziej cyfrowa, oparta na wszechobecnej sieci.
Node.js, MongoDB, AngularJS. Kompendium wiedzy
Brad Dayley
Node.js to wiodące, serwerowe środowisko programistyczne. MongoDB to najpopularniejsza baza danych NoSQL, a AngularJS to szybko zyskujące wiodącą rolę środowisko służące do projektowania interfejsów opartych na technologii MVC. Czego chcieć więcej? W sieci króluje połączenie serwera Apache z bazą danych MySQL i językiem PHP. Do niedawna wydawało się, że pozycja tej trójcy na fotelu lidera jest niezagrożona. Jednak na horyzoncie pojawili się nowi gracze: Node.js, MongoDB oraz AngularJS! Node.js to platforma, która pozwoli Ci stworzyć niezwykle wydajną aplikację internetową przy użyciu języka JavaScript. AngularJS specjalizuje się w interfejsie użytkownika opartym na MVC. Natomiast MongoDB to jedna z najpopularniejszych baz danych NoSQL. Co wynika z połączenia tych trzech narzędzi? Przekonasz się, gdy sięgniesz po tę niezwykłą książkę! W trakcie lektury poznasz składnię i niuanse języka JavaScript, a następnie zgłębisz tajemnice środowiska Node.js. Na kolejnych stronach znajdziesz informacje na temat korzystania ze zdarzeń, procesów nasłuchiwania, wywołań zwrotnych oraz obsługi operacji wejścia-wyjścia. Ponadto przekonasz się, jak w Node.js zaimplementować usługi HTTP oraz skalować tworzoną aplikację. W dalszej części przejdziesz do poznawania tajników bazy MongoDB. Skonfigurujesz połączenie z bazą oraz poznasz dokumenty i ich kolekcje w MongoDB. Na sam koniec zobaczysz, jak przygotować klienta Twoich usług za pomocą AngularJS. Ta książka jest pasjonująca i prezentuje wszystkie warstwy nowoczesnej aplikacji internetowej — to lektura obowiązkowa każdego programisty! Stwórz skalowalną aplikację za pomocą najnowocześniejszych narzędzi! Implementowanie dynamicznego serwera WWW o dużej skalowalności za pomocą komponentów Node.js i Express Implementowanie magazynu danych MongoDB dla aplikacji internetowych Uzyskiwanie dostępu do bazy danych MongoDB z poziomu kodu JavaScript aplikacji Node.js oraz prowadzenie interakcji z bazą Definiowanie niestandardowych dyrektyw AngularJS, które rozszerzają język HTML Budowanie w języku JavaScript usług internetowych po stronie serwera Implementowanie usług po stronie klienta, które mogą prowadzić interakcję z serwerem WWW środowiska Node.js Tworzenie dynamicznych widoków przeglądarki, które zapewniają zaawansowane możliwości interakcji z użytkownikiem Dodawanie do aplikacji i stron internetowych komponentów uwierzytelnianych kont użytkowników i zagnieżdżonych komentarzy Brad Dayley -— programista z wieloletnim doświadczeniem. Twórca licznych stron i aplikacji internetowych o różnym stopniu skomplikowania. Autor popularnych książek poświęconych bazom NoSQL, językowi JavaScript oraz innym narzędziom.
Node.js. Projektowanie, wdrażanie i utrzymywanie aplikacji
Sandro Pasquali
W ciągu kilku ostatnich lat JavaScript stał się niezwykle wszechstronnym i wydajnym językiem programowania. Dla programistów kodujących w tym języku świetnym narzędziem okazuje się platforma Node.js. Ten framework open source został zaprojektowany do tworzenia skalowalnych aplikacji internetowych, jednak umożliwia też tworzenie aplikacji sterowanych zdarzeniami. Użytkownicy docenili jego wygodę. Node.js odniósł spory sukces i stał się kluczowym narzędziem programistycznym w wielu firmach. Mimo to odnalezienie wyczerpujących informacji o profesjonalnym projektowaniu, testowaniu i wdrażaniu oprogramowania za jego pomocą jest dość trudne. Niniejsza książka zawiera opis technik i narzędzi pozwalających na wykonanie w Node.js elastycznej, inteligentnej, trwałej i łatwej w utrzymaniu aplikacji o znakomitej jakości. Poza podstawami zaprezentowano tu również zestaw wzorców ułatwiających rozwiązywanie typowych problemów pojawiających się w dzisiejszych projektach. Nie zabrakło licznych przykładów z życia oraz wskazówek, które doceni każdy, kto musi sprawnie wdrożyć trudny projekt. Książka umożliwia zgłębienie tajników Node.js i naukę projektowania modułowego. Sporo miejsca poświęcono też testowaniu i monitorowaniu aplikacji oraz strategiom utrzymania aplikacji przez większy zespół. Najważniejsze zagadnienia: mocne i słabe strony Node.js techniki skalowania aplikacji i komunikacja międzyprocesowa zarządzanie pamięcią i monitorowanie sesji właściwe budowanie potoku tworzenia aplikacji konserwacja systemu i strategie zarządzania zależnościami Node.js: dojrzała technologia, znakomita wydajność i wszechstronność! Sandro Pasquali — programista, przedsiębiorca, twórca firmy technologicznej Simple.com, która sprzedawała pierwszy na świecie framework aplikacyjny oparty na języku JavaScript. Obecnie autor szkoli zespoły programistów korporacyjnych. W swoim czasie zarządzał projektowaniem wielu aplikacji dla takich firm jak Nintendo, Major League Baseball, LimeWire, AppNexus i Conde Nast, a także dla instytutów badawczych i szkół. Zawsze szuka nowych sposobów na połączenie doskonałości projektowej z innowacyjną technologią.
Node.js. The Comprehensive Guide
Rheinwerk Publishing, Inc, Sebastian Springer
This comprehensive guide begins by introducing the core principles of Node.js, covering installation, environment setup, and modular programming. Readers then build foundational skills by creating their first applications and exploring essential web technologies like HTTP and popular frameworks such as Express and Nest. The journey continues into advanced topics like template engines, database integration, and authentication techniques, equipping readers to build full-featured web applications.As readers progress, the book delves into building RESTful and GraphQL APIs, real-time applications with WebSockets, and writing type-safe Node.js code using TypeScript. Later chapters explore command-line tools, asynchronous programming with Promises and RxJS, streams, and file handling. Comprehensive sections on package management, quality assurance, testing, and security provide practical insights to produce robust, maintainable software.The final chapters focus on deploying scalable applications, performance optimization, microservices architecture, and introduce the emerging Deno runtime. Throughout the book, detailed examples and step-by-step explanations guide readers from fundamental concepts to advanced techniques, making this an essential resource for developers seeking mastery of server-side JavaScript development with Node.js.
Mike Cantelon, Marc Harter, TJ Holowaychuk, Nathan...
Poznaj potencjał Node.js! JavaScript to jeden z niewielu języków programowania w historii, który wzbudzał i wciąż wzbudza tak wiele emocji. Na rynku pojawił się w 1995 roku i od tego czasu: a) był obecny tylko w przeglądarkach, b) był masowo blokowany i c) wieszczono jego koniec… aż do dnia dzisiejszego, kiedy ciężko sobie wyobrazić stronę WWW, która nie korzystałaby z jego możliwości. Współcześnie JavaScript zaczyna także odnosić sukces w aplikacjach działających po stronie serwera. Możesz sobie wyobrazić, że Twoje żądania po stronie serwera obsługuje JavaScript? Nie? Czas to zmienić! Node.js to platforma, która zapewnia najwyższą wydajność dzięki wykorzystywaniu nieblokujących operacji I/O oraz asynchronicznego mechanizmu zdarzeń. Działa na bazie najwydajniejszego silnika obsługującego język JavaScript – V8 (autorstwa firmy Google) – i pozwala programistom osiągać niezwykłe efekty. Zastanawiasz się, jak wykorzystać ten potencjał? Sięgnij po tę książkę i rozpocznij przygodę z Node.js! W trakcie lektury poznasz podstawy programowania na tej platformie, zbudujesz asynchroniczną logikę, wykorzystasz protokoły sieciowe oraz podłączysz się do popularnych baz danych. W kolejnych rozdziałach będziesz mieć niepowtarzalną okazję, by poznać popularne i przydatne biblioteki oraz stworzyć RESTowe API. Na sam koniec dowiesz się, jak wdrożyć aplikację Node.js w środowisku produkcyjnym oraz zaznajomisz się z ekosystemem tej platformy. Brzmi zachęcająco? Dzięki tej książce: poznasz platformę Node.js opanujesz techniki programowania asynchronicznego zbudujesz RESTowe API z wykorzystaniem Node.js wdrożysz Twoją aplikację przekonasz się, jak wydajny może być JavaScript Twój przewodnik po Node.js! „Materiał przedstawiony w książce został dobrany w taki sposób, aby stopniowo przechodzić od najprostszych zagadnień do coraz bardziej złożonych i zaawansowanych.” Ze wstępu do książki, napisanego przez Isaaca Z. Schluetera, lidera projektu Node.js
Node.js w praktyce. Tworzenie skalowalnych aplikacji sieciowych
Azat Mardan
O tym jak tworzyć złożone aplikacje sieciowe z wykorzystaniem Node.js JavaScript to język programowania rozwijany od 1995 roku. Przez długi czas był kojarzony tylko i wyłącznie ze stronami internetowymi i przeglądarkami, jednak te czasy odchodzą w niepamięć, a JavaScript z powodzeniem jest dziś stosowany po stronie serwera. Jeżeli chcesz sprawdzić, jak to działa, sięgnij po tę książkę i zainstaluj Node.js. Jest to platforma, która zapewnia najwyższą wydajność, ponieważ korzysta z nieblokujących operacji I/O oraz asynchronicznego mechanizmu zdarzeń. Co więcej, została ona oparta na najwydajniejszym silniku wspierającym język JavaScript, czyli na V8. Dzięki tej książce masz niepowtarzalną okazję poznać podstawy działania Node.js, zaznajomić się ze składnią języka JavaScript, a także zacząć korzystać z zaawansowanych mechanizmów autoryzacji, przechowywania danych czy zdarzeń. Ponadto nauczysz się tworzyć aplikacje czasu rzeczywistego z użyciem WebSocket, Socket.IO i DerbyJS oraz zbudujesz superwydajne API REST-owe. Książka ta jest obowiązkową lekturą dla wszystkich osób, dla których ważna jest najwyższa wydajność i które chcą poznać nowinki technologiczne. Warto ją mieć! Książka Node.js w praktyce prezentuje: Tworzenie aplikacji sieciowych z wykorzystaniem Express.js 4, MongoDB i silnika szablonów Jade Przetwarzanie danych z poziomu konsoli MongoDB Testowanie usług sieciowych Node.js z wykorzystaniem Mocha, Expect i TravisCI Uwierzytelnianie z wykorzystaniem tokena i oparte na sesji Implementowanie strategii OAuth zewnętrznego dostawcy (Twitter) z wykorzystaniem Everyauth Przygotowanie kodu do produkcji z wykorzystaniem Redis, domen Node.js, biblioteki cluster i inne wskazówki Instalowanie potrzebnych komponentów Node.js w instancji Amazon Web Services (AWS) Poznaj możliwości platformy Node.js! Azat Mardan — przedsiębiorca, inżynier oprogramowania, entuzjasta jogi i diety paleo. Ma ponad 12 lat doświadczenia w wytwarzaniu oprogramowania. Jest autorem dziewięciu książek poświęconych językowi JavaScript oraz platformie Node.js. Aktualnie zajmuje stanowisko starszego inżyniera oprogramowania oraz lidera zespołu w DocuSign. Był współzałożycielem Gizmo (platformy do prowadzenia kampanii marketingowych dla urządzeń mobilnych) oraz członkiem zespołów wytwarzających oprogramowanie dla organizacji rządowych.
David Herron
Node.js is a server-side JavaScript platform using an event driven, non-blocking I/O model allowing users to build fast and scalable data-intensive applications running in real time. Node.js Web Development shows JavaScript is not just for browser-side applications. It can be used for server-side web application development, real-time applications, microservices, and much more.This book gives you an excellent starting point, bringing you straight to the heart of developing web applications with Node.js. You will progress from a rudimentary knowledge of JavaScript and server-side development to being able to create and maintain your own Node.js application. With this book you'll learn how to use the HTTP Server and Client objects, data storage with both SQL and MongoDB databases, real-time applications with Socket.IO, mobile-first theming with Bootstrap, microservice deployment with Docker, authenticating against third-party services using OAuth, and much more.
Node.js Web Development. Server-side development with Node 10 made easy - Fourth Edition
David Herron
Node.js is a server-side JavaScript platform using an event-driven, non-blocking I/O model allowing users to build fast and scalable data-intensive applications running in real time. This book gives you an excellent starting point, bringing you straight to the heart of developing web applications with Node.js. You will progress from a rudimentary knowledge of JavaScript and server-side development to being able to create, maintain, deploy and test your own Node.js application.You will understand the importance of transitioning to functions that return Promise objects, and the difference between fs, fs/promises and fs-extra. With this book you'll learn how to use the HTTP Server and Client objects, data storage with both SQL and MongoDB databases, real-time applications with Socket.IO, mobile-first theming with Bootstrap, microservice deployment with Docker, authenticating against third-party services using OAuth, and use some well known tools to beef up security of Express 4.16 applications.
David Herron
Node.js is the leading choice of server-side web development platform, enabling developers to use the same tools and paradigms for both server-side and client-side software. This updated fifth edition of Node.js Web Development focuses on the new features of Node.js 14, Express 4.x, and ECMAScript, taking you through modern concepts, techniques, and best practices for using Node.js.The book starts by helping you get to grips with the concepts of building server-side web apps with Node.js. You’ll learn how to develop a complete Node.js web app, with a backend database tier to help you explore several databases. You'll deploy the app to real web servers, including a cloud hosting platform built on AWS EC2 using Terraform and Docker Swarm, while integrating other tools such as Redis and NGINX. As you advance, you'll learn about unit and functional testing, along with deploying test infrastructure using Docker. Finally, you'll discover how to harden Node.js app security, use Let's Encrypt to provision the HTTPS service, and implement several forms of app security with the help of expert practices. With each chapter, the book will help you put your knowledge into practice throughout the entire life cycle of developing a web app.By the end of this Node.js book, you’ll have gained practical Node.js web development knowledge and be able to build and deploy your own apps on a public web hosting solution.