JavaScript

Lektura podręczników z działu JavaScript pozwoli wam od podstaw poznać ten popularny, obiektowy język skryptowy, wykorzystywany głównie w celu tworzenia interaktywnych i dynamicznych elementów stron WWW.

Poznacie podstawowe elementy, składnię tego języka, zdarzenia i wyrażenia regularne. Opanujecie szereg metod pozwalających zidentyfikować przeglądarkę, dowiecie się jak sprawnie sterować ramkami i oknami przeglądarki a także jak obsługiwać pliki multimedialne.Zapoznacie się także z elementami technologii AJAX czy arkuszami stylów CSS. Teoria, poparta licznymi przykładami pozwoli wam skutecznie reagować na błędy w skrypcie oraz opracować mechanizmy komunikacji między klientem a serwerem.

233
Ładowanie...
EBOOK

Modern JavaScript Web Development Cookbook. Easy solutions to common and everyday JavaScript development problems

Federico Kereki

JavaScript has evolved into a language that you can use on any platform. Modern JavaScript Web Development Cookbook is a perfect blend of solutions for traditional JavaScript development and modern areas that developers have lately been exploring with JavaScript. This comprehensive guide teaches you how to work with JavaScript on servers, browsers, mobile phones and desktops.You will start by exploring the new features of ES8. You will then move on to learning the use of ES8 on servers (with Node.js), with the objective of producing services and microservices and dealing with authentication and CORS. Once you get accustomed to ES8, you will learn to apply it to browsers using frameworks, such as React and Redux, which interact through Ajax with services. You will then understand the use of a modern framework to develop the UI. In addition to this, development for mobile devices with React Native will walk you through the benefits of creating native apps, both for Android and iOS.Finally, you’ll be able to apply your new-found knowledge of server-side and client-side tools to develop applications with Electron.

234
Ładowanie...
EBOOK

Modularny JavaScript dla zaawansowanych

Nicolas Bevacqua

JavaScript jest jednym z najpopularniejszych języków programowania, wykorzystywanym na wiele sposobów. Pozwala na wdrażanie różnych paradygmatów w zależności od potrzeb i preferencji programisty. Warto wypróbować programowanie modularne w JavaScripcie choćby dlatego, że dzięki temu kod staje się czytelny, łatwy w utrzymaniu i skalowaniu. Moduł grupuje funkcjonalnie związane ze sobą dane oraz procedury. Architektura modularna, o ile tylko została poprawnie zaimplementowana, pozwala na ograniczenie złożoności kodu i ułatwia pracę nad rozwojem aplikacji. Możliwość pisania niezależnego kodu na każdym poziomie systemu daje zespołom projektowym duże korzyści! To książka przeznaczona dla osób, które używają JavaScriptu i chcą się nauczyć pisania modularnego kodu. Wyjaśniono tu, na jakich fundamentach opiera się architektura modularna, i krótko opisano jej historię w JavaScripcie. Przedstawiono warunki, jakie musi spełniać moduł, aby dać programistom konkretne korzyści, zaprezentowano zasady refaktoryzacji kodu i omówiono znaczenie doboru właściwej struktury danych. Czytelnik dowie się również, które wzorce projektowe będą odpowiednie w danej sytuacji, a także w jaki sposób podejście modułowe może pomóc w zapewnieniu bezpieczeństwa systemu, wspierać zarządzanie zależnościami czy też procesy budowania i integracji interfejsów oraz abstrakcji. Książka zawiera sporo znakomitych wskazówek i prezentuje najlepsze praktyki w zakresie projektowania i wdrażania modularnej architektury aplikacji. Najważniejsze zagadnienia: czym jest modularność i jak ewoluowała w JavaScripcie jak powinien wyglądać moduł i do czego służy API obsługa błędów i refaktoryzacja kodu nowoczesny JavaScript i jego funkcje przydatne do tworzenia modularnego kodu rozwiązywanie problemów i najlepsze praktyki Architektura modularna i nowoczesny JavaScript - przepis na sukces aplikacji!

235
Ładowanie...
EBOOK

MongoDB, Express, Angular, and Node.js Fundamentals. Become a MEAN master and rule the world of web applications

Paul Oluyege

MongoDB, Express, Angular and Node.js Fundamentals is a practical guide to the tried-and-true production-ready MEAN stack, with tips and best practices. The book begins by demystifying the MEAN architecture. You’ll take a look at the features of the JavaScript libraries, technologies, and frameworks that make up a MEAN stack.With this book, you'll not only learn how to develop highly scalable, asynchronous, and event-driven APIs quickly with Express and Node.js, but you'll also be able put your full-stack skills to use by building two full-fledged MEAN applications from scratch. You’ll understand how to build a blogging application using the MEAN stack and get to grips with user authentication using MEAN. As you progress through the chapters, you’ll explore some old and new features of Angular, such as pipes, reactive forms, modules and optimizing apps, animations and unit testing, and much more.By the end of the book, you’ll get ready to take control of the MEAN stack and transform into a full-stack JavaScript developer, developing efficient web applications using Javascript technologies.

236
Ładowanie...
EBOOK

NativeScript for Angular Mobile Development. Creating dynamic mobile apps for iOS and Android

Nathan Walker, Nathanael J. Anderson

NativeScript is an open source framework that is built by Progress in order to build truly native mobile apps with TypeScript, JavaScript or just Angular which is an open source framework built by Google that offers declarative templates, dependency injection, and fully featured modules to build rich applications. Angular’s versatile view handling architecture allows your views to be rendered as highly performant UI components native to iOS and Android mobile platforms. This decoupling of the view rendering layer in Angular combined with the power of native APIs with NativeScript have together created the powerful and exciting technology stack of NativeScript for Angular.This book focuses on the key concepts that you will need to know to build a NativeScript for Angular mobile app for iOS and Android. We’ll build a fun multitrack recording studio app, touching on powerful key concepts from both technologies that you may need to know when you start building an app of your own. The structure of the book takes the reader from a void to a deployed app on both the App Store and Google Play, serving as a reference guide and valuable tips/tricks handbook.By the end of this book, you’ll know majority of key concepts needed to build a successful NativeScript for Angular app.

237
Ładowanie...
EBOOK

Natura kodu. Symulowanie systemów naturalnych przy użyciu JavaScript

Daniel Shiffman

Co by było, gdyby za pomocą kodu można było odtworzyć budzące podziw wzory stada ptaków lub hipnotyczny taniec świetlików? Książka Natura kodu już od ponad dekady umożliwia to niezliczonym czytelnikom, wypełniając lukę między twórczą ekspresją a programowaniem. Ten innowacyjny przewodnik autorstwa Daniela Shiffmana, twórcy uwielbianego Coding Train, zaprasza zarówno początkujących, jak i doświadczonych programistów do świata, w którym kod spotyka się z radosną kreatywnością. To wydanie przełomowego dzieła Shiffmana, oparte na JavaScripcie, powoli odkrywa tajemnice świata przyrody, zamieniając złożone tematy, takie jak algorytmy genetyczne, symulacje oparte na fizyce i sieci neuronowe, w przystępne i oszałamiające wizualnie kreacje. Praca Shiffmana przekształciła tysiące dociekliwych umysłów w twórców, przełamując bariery między nauką, sztuką i technologią oraz zachęcając Czytelników do postrzegania kodu nie tylko jako narzędzia do wykonywania zadań, ale jako płótna dla nieograniczonej kreatywności. Niezależnie od tego, czy rozszyfrowujesz eleganckie wzorce zjawisk naturalnych, czy też tworzysz własne cyfrowe ekosystemy, wskazówki Shiffmana z pewnością dostarczą informacji i inspiracji. W Naturze kodu nie chodzi tylko o kodowanie, lecz o nowe spojrzenie na świat przyrody i sprawienie, aby jego cuda zainspirowały twoje następne dzieła. Zanurz się i odkryj radość z przekształcania kodu w sztukę - a to wszystko przy jednoczesnym opanowaniu podstaw kodowania. Rozpocznij tę niezwykłą przygodę z projektami obejmującymi: Mechanizmy fizyki: symuluj przyciąganie grawitacyjne. Stado ptaków: twórz choreografię hipnotyzującego tańca stada. Rozgałęziające się drzewa: twórz realistyczne i organiczne struktury drzew. Sieci neuronowe: twórz inteligentne systemy, które uczą się i adaptują. Automaty komórkowe: odkrywaj magię samoorganizujących się wzorców. Algorytmy ewolucyjne: bądź świadkiem naturalnej selekcji we własnym kodzie. O autorze Daniel Shiffman, twórca kanału The Coding Train na YouTube (www.youtube.com/c/TheCodingTrain), większość swojego wolnego czasu poświęca, ucząc kodowania prawie 2 miliony subskrybentów, poprzez połączenie szczegółowych samouczków i filmów z projektami. Jako profesor sztuki w NYU Tisch School of the Arts i współzałożyciel Processing Foundation, Shiffman ma misję umożliwienia dociekliwym uczniom i ludziom na całym świecie wyrażania siebie poprzez kod.

238
Ładowanie...
EBOOK

Nest.js: A Progressive Node.js Framework. Hit the ground running with Nest.js

Greg Magolan, Patrick Housley, Adrien de Peretti,...

Nest.js is a modern web framework built on a Node.js Express server. With the knowledge of how to use this framework, you can give your applications an organized codebase and a well-defined structure.The book begins by showing how to use Nest.js controllers, providers, modules, bootstrapping, and middleware in your applications. You’ll learn to use the authentication feature of Node.js to manage the restriction access in your application, and how to leverage the Dependency Injection pattern to speed up your application development. As you advance through the book, you'll also see how Nest.js uses TypeORM—an Object Relational Mapping (ORM) that works with several relational databases. You’ll use Nest.js microservices to extract part of your application’s business logic and execute it within a separate Nest.js context. Toward the end of the book, you’ll learn to write tests (both unit tests as well as end-to-end ones) and how to check the percentage of the code your tests cover.By the end of this book, you’ll have all the knowledge you need to build your own Nest.js applications.

239
Ładowanie...
EBOOK

Next.js Quick Start Guide. Server-side rendering done right

Kirill Konshin

Next.js is a powerful addition to the ever-growing and dynamic JavaScript world. Built on top of React, Webpack, and Babel, it is a minimalistic framework for server-rendered universal JavaScript applications. This book will show you the best practices for building sites using Next. js, enabling you to build SEO-friendly and superfast websites.This book will guide you from building a simple single page app to a scalable and reliable client-server infrastructure. You will explore code sharing between client and server, universal modules, and server-side rendering.The book will take you through the core Next.js concepts that everyone is talking about – hot reloading, code splitting, routing, server rendering, transpilation, CSS isolation, and more. You will learn ways of implementing them in order to create your own universal JavaScript application. You will walk through the building and deployment stages of your applications with the JSON API,customizing the confguration, error handling,data fetching, deploying to production, and authentication.

240
Ładowanie...
EBOOK

Node Cookbook. Actionable solutions for the full spectrum of Node.js 8 development - Third Edition

David Mark Clements, Mathias Buus Madsen, Peter...

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.