JavaScript

345
Wird geladen...
E-BOOK

The Official Guide to Mermaid.js. Create complex diagrams and beautiful flowcharts easily using text and code

Knut Sveidqvist, Ashish Jain

Mermaid is a JavaScript-based charting and diagramming tool that lets you represent diagrams using text and code, which simplifies the maintenance of complex diagrams. This is a great option for developers as they’re more familiar with code, rather than using special tools for generating diagrams. Besides, diagrams in code simplify maintenance and ensure that the code is supported by version control systems. In some cases, Mermaid makes refactoring support for name changes possible while also enabling team collaboration for review distribution and updates.Developers working with any system will be able to put their knowledge to work with this practical guide to using Mermaid for documentation. The book is also a great reference for looking up the syntax for specific diagrams when authoring diagrams.You’ll start by learning the importance of accurate and visual documentation. Next, the book introduces Mermaid and establishes how to use it to create effective documentation. By using different tools, editors, or a custom documentation platform, you’ll also understand how to use Mermaid syntax for various diagrams. Later chapters cover advanced configuration settings and theme options to manipulate your diagram as per your needs.By the end of this book, you’ll be well-versed with Mermaid diagrams and how they can be used in your workflows.

346
Wird geladen...
E-BOOK

The React Workshop. Get started with building web applications using practical tips and examples from React use cases

Brandon Richey , Ryan Yu , Endre...

Are you interested in how React takes command of the view layer for web and mobile apps and changes the data of large web applications without needing to reload the page? This workshop will help you learn how and show you how to develop and enhance web apps using the features of the React framework with interesting examples and exercises.The workshop starts by demonstrating how to create your first React project. You’ll tap into React’s popular feature JSX to develop templates and use DOM events to make your project interactive. Next, you’ll focus on the lifecycle of the React component and understand how components are created, mounted, unmounted, and destroyed. Later, you’ll create and customize components to understand the data flow in React and how props and state communicate between components. You’ll also use Formik to create forms in React to explore the concept of controlled and uncontrolled components and even play with React Router to navigate between React components. The chapters that follow will help you build an interesting image-search app to fetch data from the outside world and populate the data to the React app. Finally, you’ll understand what ref API is and how it is used to manipulate DOM in an imperative way.By the end of this React book, you’ll have the skills you need to set up and create web apps using React.

347
Wird geladen...
E-BOOK

The TypeScript Workshop. A practical guide to confident, effective TypeScript programming

Ben Grynhaus , Jordan Hudgens , Rayon...

By learning TypeScript, you can start writing cleaner, more readable code that’s easier to understand and less likely to contain bugs. What’s not to like?It’s certainly an appealing prospect, but learning a new language can be challenging, and it’s not always easy to know where to begin. This book is the perfect place to start. It provides the ideal platform for JavaScript programmers to practice writing eloquent, productive TypeScript code.Unlike many theory-heavy books, The TypeScript Workshop balances clear explanations with opportunities for hands-on practice. You’ll quickly be up and running building functional websites, without having to wade through pages and pages of history and dull, dry fluff. Guided exercises clearly demonstrate how key concepts are used in the real world, and each chapter is rounded off with an activity that challenges you to apply your new knowledge in the context of a realistic scenario.Whether you’re a hobbyist eager to get cracking on your next project, or a professional developer looking to unlock your next promotion, pick up a copy and make a start! Whatever your motivation, by the end of this book, you’ll have the confidence and understanding to make it happen with TypeScript.

348
Wird geladen...
E-BOOK

Three.js Cookbook. Over 80 shortcuts, solutions, and recipes that allow you to create the most stunning visualizations and 3D scenes using the Three.js library

Jos Dirksen

This book is ideal for anyone who already knows JavaScript and would like to get a broad understanding of Three.js quickly, or for those of you who have a basic grasp of using Three.js but want to really make an impact with your 3D visualizations by learning its advanced features. To apply the recipes in this book you don’t need to know anything about WebGL; all you need is some general knowledge about JavaScript and HTML.

349
Wird geladen...
E-BOOK

Tkinter GUI Application Development Cookbook. A practical solution to your GUI development problems with Python and Tkinter

Alejandro Rodas de Paz

As one of the more versatile programming languages, Python is well-known for its batteries-included philosophy, which includes a rich set of modules in its standard library; Tkinter is the library included for building desktop applications. Due to this, Tkinter is a common choice for rapid GUI development, and more complex applications can benefit from the full capabilities of this library. This book covers all of your Tkinter and Python GUI development problems and solutions.Tkinter GUI Application Development Cookbook starts with an overview of Tkinter classes and at the same time provides recipes for basic topics, such as layout patterns and event handling. Next, we cover how to develop common GUI patterns, such as entering and saving data, navigating through menus and dialogs, and performing long-running actions in the background.You can then make your apps leverage network resources effectively and perform graphical operations on a canvas and related tasks such as detecting collisions between items. Finally, this book covers using themed widgets, an extension of Tk widgets that have a more native look and feel. Finally, this book covers using the canvas and themed widgets.By the end of the book, you will have an in-depth knowledge of Tkinter classes, and will know how to use them to build efficient and rich GUI applications.

350
Wird geladen...
E-BOOK

Truffle Quick Start Guide. Learn the fundamentals of Ethereum development

Nikhil Bhaskar

Truffle is a world-class development environment, testing framework and asset pipeline for Ethereum, aiming to make life as an Ethereum developer easier.If you are a web developer wanting to try your hand at developing Dapps with Truffle, then this is the book for you. This book will teach you to write smart contracts and build Dapps with Truffle. You will begin with covering the basics of Truffle, briefly explaining how it integrates Solidity and Web3, in orderto start building a mini decentralized application. Also, you will dive into migration, testing and integrating Truffle with the use of popular JavaScript frameworks. Lastly, you will ship your decentralized application and package it into a product. Moreover, you will go through the best practices in Truffle,so as to increase your proficiency in building Dapps with Truffle.By the end of the book, you will be able to write smart contracts and build decentralized applications with Truffle on Ethereum blockchains.

351
Wird geladen...
E-BOOK

Tworzenie aplikacji internetowych z użyciem Node i Express. Korzystanie ze stosu JavaScript. Wydanie II

Ethan Brown

Express i Node stały się kluczowymi narzędziami do tworzenia dynamicznych, wielostronicowych i hybrydowych aplikacji internetowych. Dzięki nim można dowolnie kształtować architekturę swojej aplikacji. Projektowanie za pomocą Node jest bardzo atrakcyjnym rozwiązaniem dla programistów, którzy doceniają dostępność i elastyczność języka JavaScript. W rzeczy samej, JavaScript ewoluował z techniki prostego ozdabiania stron internetowych, aby stać się dojrzałym, wszechstronnym, pełnoprawnym i wyjątkowo obiecującym językiem programowania. Korzystanie z niego jest o wiele bardziej satysfakcjonujące przy zastosowaniu platformy Express. To praktyczny przewodnik dla programistów, którzy chcą tworzyć aplikacje internetowe z wykorzystaniem platform React, Angular lub Vue oraz API typu REST albo ich kombinacji za pomocą języka JavaScript, Node i Express. Zawarto tu wprowadzenie do Node, Express oraz innych przydatnych narzędzi. Szczegółowo przedstawiono koncepcję oprogramowania pośredniczącego oraz zagadnienia bezpieczeństwa środowiska produkcyjnego. Nie zabrakło wskazówek dotyczących tworzenia API za pomocą Express. Ciekawym elementem książki są szczegóły integracji z takimi usługami jak Twitter, Google Maps i US National Weather Service. Poszczególne rozdziały przedstawiają etapy budowy przykładowej w pełni funkcjonalnej aplikacji internetowej, którą łatwo będzie wykorzystać jako szablon do tworzenia innych, własnych, bardziej wyrafinowanych projektów! W książce między innymi: renderowanie danych dynamicznych za pomocą systemu szablonów używanie obiektów żądań i odpowiedzi, oprogramowania pośredniczącego oraz trasowania testowanie, debugowanie i wdrażanie aplikacji korzystanie z baz danych, takich jak MongoDB i PostgreSQL integracja aplikacji z innymi serwisami plan publikowania i utrzymywania aplikacji JavaScript: oczekuj tego, co najlepsze!

352
Wird geladen...
E-BOOK

Tworzenie izometrycznych gier społecznościowych w HTML5, CSS3 i JavaScript

Mario Andres Pagella

Masz konto na Facebooku? Pewnie, że tak - wszyscy mają! Musiałeś więc zauważyć gry dostępne w tym serwisie. Może nie oszałamiają fotorealistyczną grafiką i superdynamiczną akcją, mają jednak to coś. Nazywa się to grywalność. Frajda ze współzawodniczenia nie da się niczym zastąpić. Popularność tego typu gier gwałtownie rośnie, a firma, która wyprodukowała prawdopodobnie najbardziej znaną z nich - Farmville - właśnie wchodzi na giełdę! Dzięki tej książce również i Ty będziesz mógł spróbować szczęścia. W trakcie lektury dowiesz się, jak wykorzystać nowości HTML5 i CSS3 do osiągnięcia interesujących efektów, takich jak rzut izometryczny. Ponadto zobaczysz, jak wzbogacić aplikację o efekty dźwiękowe oraz przygotować atrakcyjny interfejs użytkownika. Wiedza tutaj zawarta pozwoli Ci na przygotowanie kompletnej gry z pomocą HTML5, CSS3 i JavaScriptu, a następnie zintegrowanie jej z Facebookiem. Teraz to, czy zdobędziesz popularność i osiągniesz sukces finansowy, zależy tylko i wyłącznie od Twojej pomysłowości oraz kreatywności! Przygotuj grę, która będzie: oparta na nowoczesnych technologiach zintegrowana z serwisem Facebook dostępna dla setek graczy zaopatrzona w grafikę 3D popularna Zaistniej na rynku gier komputerowych!