Programowanie

2033
Wird geladen...
E-BOOK

Micro State Management with React Hooks. Explore custom hooks libraries like Zustand, Jotai, and Valtio to manage global states

Daishi Kato

State management is one of the most complex concepts in React. Traditionally, developers have used monolithic state management solutions. Thanks to React Hooks, micro state management is something tuned for moving your application from a monolith to a microservice.This book provides a hands-on approach to the implementation of micro state management that will have you up and running and productive in no time. You’ll learn basic patterns for state management in React and understand how to overcome the challenges encountered when you need to make the state global. Later chapters will show you how slicing a state into pieces is the way to overcome limitations. Using hooks, you'll see how you can easily reuse logic and have several solutions for specific domains, such as form state and server cache state. Finally, you'll explore how to use libraries such as Zustand, Jotai, and Valtio to organize state and manage development efficiently.By the end of this React book, you'll have learned how to choose the right global state management solution for your app requirement.

2034
Wird geladen...
E-BOOK

Micro:bit. Nauka programowania i elektroniki dla małych oraz dużych

Witold Krieser

Zabawę w programowanie czas zacząć! Pod intrygująco brzmiącą nazwą micro:bit kryje się niewielkich rozmiarów płytka będąca mikrokontrolerem ― czy inaczej: mikrokomputerem. Sercem wielu urządzeń, takich jak różne roboty i inteligentne modele samochodów. Micro:bit stanowi punkt wyjścia dla ich konstrukcji i jest urządzeniem niezwykle często pojawiającym się przy okazji rozmaitych projektów związanych z nauką programowania ― korzystają z niego nauczyciele i uczniowie na całym świecie. Mikrokontroler micro:bit pozwala im się sprawnie uczyć i rozwiązywać pojawiające się przy okazji realizacji zadań problemy poprzez zabawę. Bo programowania, podobnie jak każdej innej dziedziny wiedzy, najlepiej uczyć się przez sprawiające radość praktykowanie. Ta książka stanowi swojego rodzaju instrukcję obsługi płytki micro:bit. Zawiera aż sześćdziesiąt gotowych projektów, z których mniej więcej jedna trzecia dotyczy samego mikrokontrolera, pozostałe zaś wymagają zastosowania modułu rozszerzeń i (lub) dodatkowych akcesoriów. Podręcznik proponuje projekty i gotowe programy korzystające z bloczków, a także z bardziej zaawansowanych języków programowania, jakimi są JavaScript i Python. Przekonaj się, że zabawa z micro:bitem jest przyjemna, stosunkowo prosta i równocześnie inspirująca ― z tym mikrokontrolerem wykonasz zarówno prosty włącznik światła, użytecznego robota, samosterujący samochód, jak i bardziej zaawansowane rozwiązania dla tzw. inteligentnego domu.

2035
Wird geladen...
E-BOOK

Micro:bit. Nauka programowania i elektroniki dla małych oraz dużych

Witold Krieser

Zabawę w programowanie czas zacząć! Pod intrygująco brzmiącą nazwą micro:bit kryje się niewielkich rozmiarów płytka będąca mikrokontrolerem ― czy inaczej: mikrokomputerem. Sercem wielu urządzeń, takich jak różne roboty i inteligentne modele samochodów. Micro:bit stanowi punkt wyjścia dla ich konstrukcji i jest urządzeniem niezwykle często pojawiającym się przy okazji rozmaitych projektów związanych z nauką programowania ― korzystają z niego nauczyciele i uczniowie na całym świecie. Mikrokontroler micro:bit pozwala im się sprawnie uczyć i rozwiązywać pojawiające się przy okazji realizacji zadań problemy poprzez zabawę. Bo programowania, podobnie jak każdej innej dziedziny wiedzy, najlepiej uczyć się przez sprawiające radość praktykowanie. Ta książka stanowi swojego rodzaju instrukcję obsługi płytki micro:bit. Zawiera aż sześćdziesiąt gotowych projektów, z których mniej więcej jedna trzecia dotyczy samego mikrokontrolera, pozostałe zaś wymagają zastosowania modułu rozszerzeń i (lub) dodatkowych akcesoriów. Podręcznik proponuje projekty i gotowe programy korzystające z bloczków, a także z bardziej zaawansowanych języków programowania, jakimi są JavaScript i Python. Przekonaj się, że zabawa z micro:bitem jest przyjemna, stosunkowo prosta i równocześnie inspirująca ― z tym mikrokontrolerem wykonasz zarówno prosty włącznik światła, użytecznego robota, samosterujący samochód, jak i bardziej zaawansowane rozwiązania dla tzw. inteligentnego domu.

2036
Wird geladen...
E-BOOK

MicroPython Cookbook. Over 110 practical recipes for programming embedded systems and microcontrollers with Python

Marwan Alsabbagh

MicroPython is an open source implementation of Python 3 that runs in embedded environments. With MicroPython, you can write clean and simple Python code to control hardware instead of using complex low-level languages such as C and C++. This book guides you through all the major applications of the MicroPython platform to build and program projects that use microcontrollers.This MicroPython book covers recipes that will help you experiment with the programming environment and hardware programmed in MicroPython. You'll find tips and techniques for building a variety of objects and prototypes that can sense and respond to touch, sound, position, heat, and light. This book will take you through the uses of MicroPython with a variety of popular input devices and sensors. You'll learn techniques to handle time delays and sensor readings, and apply advanced coding techniques to create complex projects. As you advance, you'll deal with Internet of Things (IoT) devices and integration with other online web services. In addition to this, you'll use MicroPython to make music with bananas and create portable multiplayer video games that incorporate sound and light animations into the gameplay.By the end of this book, you'll have mastered the tips and tricks to troubleshoot your development problems and take your MicroPython project to the next level.

2037
Wird geladen...
E-BOOK

MicroPython Projects. A do-it-yourself guide for embedded developers to build a range of applications using Python

Jacob Beningo

With the increasing complexity of embedded systems seen over the past few years, developers are looking for ways to manage them easily by solving problems without spending a lot of time on finding supported peripherals. MicroPython is an efficient and lean implementation of the Python 3 programming language, which is optimized to run on microcontrollers. MicroPython Projects will guide you in building and managing your embedded systems with ease.This book is a comprehensive project-based guide that will help you build a wide range of projects and give you the confidence to design complex projects spanning new areas of technology such as electronic applications, automation devices, and IoT applications. While building seven engaging projects, you'll learn how to enable devices to communicate with each other, access and control devices over a TCP/IP socket, and store and retrieve data. The complexity will increase progressively as you work on different projects, covering areas such as driver design, sensor interfacing, and MicroPython kernel customization.By the end of this MicroPython book, you'll be able to develop industry-standard embedded systems and keep up with the evolution of the Internet of Things.

2038
Wird geladen...
E-BOOK

Microservices Communication in .NET Using gRPC. A practical guide for .NET developers to build efficient communication mechanism for distributed apps

Fiodar Sazanavets

Explore gRPC's capabilities for faster communication between your microservices using the HTTP/2 protocol in this practical guide that shows you how to implement gRPC on the .NET platform.gRPC is one of the most efficient protocols for communication between microservices that is also relatively easy to implement. However, its official documentation is often fragmented and.NET developers might find it difficult to recognize the best way to map between C# data types and fields in gRPC messages. This book will address these concerns and much more. Starting with the fundamentals of gRPC, you'll discover how to use it inside .NET apps. You’ll explore best practices for performance and focus on scaling a gRPC app. Once you're familiar with the inner workings of the different call types that gRPC supports, you'll advance to learning how to secure your gRPC endpoints by applying authentication and authorization.With detailed explanations, this gRPC .NET book will show you how the Protobuf protocol allows you to send messages efficiently by including only the necessary data. You'll never get confused again while translating between C# data types and the ones available in Protobuf.By the end of the book, you’ll have gained practical gRPC knowledge and be able to use it in .NET apps to enable direct communication between microservices.

2039
Wird geladen...
E-BOOK

Microservices Deployment Cookbook. Deploy and manage scalable microservices

Vikram Murugesan

This book will help any team or organization understand, deploy, and manage microservices at scale. It is driven by a sample application, helping you gradually build a complete microservice-based ecosystem. Rather than just focusing on writing a microservice, this book addresses various other microservice-related solutions: deployments, clustering, load balancing, logging, streaming, and monitoring.The initial chapters offer insights into how web and enterprise apps can be migrated to scalable microservices. Moving on, you’ll see how to Dockerize your application so that it is ready to be shipped and deployed. We will look at how to deploy microservices on Mesos and Marathon and will also deploy microservices on Kubernetes. Next, you will implement service discovery and load balancing for your microservices. We’ll also show you how to build asynchronous streaming systems using Kafka Streams and Apache Spark. Finally, we wind up by aggregating your logs in Kafka, creating your own metrics, and monitoring the metrics for the microservice.

2040
Wird geladen...
E-BOOK

Microservices Design Patterns in .NET. Making sense of microservices design and architecture using .NET 10 and C# 14 - Second Edition

Trevoir Williams

Are you a developer seeking practical, up-to-date insights into designing scalable and resilient microservices? Microservices Design Patterns in .NET, Second Edition provides a comprehensive exploration of modern microservices using C# 14 and .NET 10.This edition expands on core patterns such as CQRS, event sourcing, and Saga, while introducing advanced concepts such as observability with OpenTelemetry, zero-trust security, and container-based workflows.You’ll explore both synchronous and asynchronous communication, apply domain-driven design to define service boundaries, and manage data consistency using proven persistence strategies. The book also guides you through container hosting, serverless functions, and production-ready deployment pipelines.By the end of this book, you’ll know how to design and deploy secure, maintainable, and resilient microservices that fit perfectly in modern cloud ecosystems.Free with your book: DRM-free PDF version + access to Packt's next-gen Reader*

2041
Wird geladen...
E-BOOK

Microservices Design Patterns in .NET. Making sense of microservices design and architecture using .NET 10 and C# 14 - Second Edition

Trevoir Williams

Are you a developer seeking practical, up-to-date insights into designing scalable and resilient microservices? Microservices Design Patterns in .NET, Second Edition provides a comprehensive exploration of modern microservices using C# 14 and .NET 10.This edition expands on core patterns such as CQRS, event sourcing, and Saga, while introducing advanced concepts such as observability with OpenTelemetry, zero-trust security, and container-based workflows.You’ll explore both synchronous and asynchronous communication, apply domain-driven design to define service boundaries, and manage data consistency using proven persistence strategies. The book also guides you through container hosting, serverless functions, and production-ready deployment pipelines.By the end of this book, you’ll know how to design and deploy secure, maintainable, and resilient microservices that fit perfectly in modern cloud ecosystems.Free with your book: DRM-free PDF version + access to Packt's next-gen Reader*

2042
Wird geladen...
E-BOOK

Microservices Design Patterns in .NET. Making sense of microservices design and architecture using .NET Core

Trevoir Williams

Are you a developer who needs to fully understand the different patterns and benefits that they bring to designing microservices? If yes, then this book is for you. Microservices Design Patterns in .NET will help you appreciate the various microservice design concerns and strategies that can be used to navigate them.Making a microservice-based app is no easy feat and there are many concerns that need to be addressed. As you progress through the chapters of this guide, you’ll dive headfirst into the problems that come packed with this architectural approach, and then explore the design patterns that address these problems. You’ll also learn how to be deliberate and intentional in your architectural design to overcome major considerations in building microservices.By the end of this book, you’ll be able to apply critical thinking and clean coding principles when creating a microservices application using .NET Core.