Books: 22

React

CoverTitleYear
KEY FEATURES * Build rich and engaging user experiences in React Native while maintaining peak application performance * Leverage the best of iOS and Android for React Native development while maximizing code reuse and cohesion * Implement architecture patterns in your React Native application that more » support efficient data access, routing, and testing BOOK DESCRIPTION React has taken the web development world by storm and it is only natural that the unique architecture and its ecosystem of third-party support be applied to native application development. This book will take you through the basics of React Native development all the way through to some more advanced components. This book covers topics in React Native ranging from adding basic UI components to successfully deploying for multiple target platforms. The book follows a top-down approach beginning with building rich user interfaces. These UIs will be created with both built-in and custom components that you will create, style, and animate. You will then learn about different strategies for working with data, including leveraging the popular Redux library and optimizing the performance of the application. Then, you will step further into exposing native device functionality. Finally, we will discuss how to put your application into production and maintain its reliability. WHAT YOU WILL LEARN * Build simple and complex user interfaces using React Native * Create advanced animations for UI components * Build universal apps that run on phones and tablets * Leverage Redux to manage application flow and data * Expose both custom native UI components and application logic to React Native * Integrate with existing native applications on iOS and Android * Deploy your React Native application to the Google Play and Apple App Store * Add automated testing to your React Native application « less
2017
Seven Psychological Principles of Persuasive Design
Summary Design for the Mind: Seven Psychological Principles of Persuasive Design teaches web designers and developers how to create sites and applications that appeal to our innate natural responses as humans. Author Victor Yocco, a researcher on psychology and communication, introduces the most immediately more » relevant and applicable psychological concepts, breaks down each theory into easily-digested principles, then shows how they can be used to inform better design. About the Technology Designers and design team members need to think about more than just aesthetics. How do you handle short attention spans. How does your design encourage users to engage, browse, or buy? Fortunately, there are psychological principles that you can use in your design to anticipate and benefit from how humans think, behave, and react. About the Book Design for the Mind: Seven Psychological Principles of Persuasive Design teaches you to recognize how websites and applications can benefit from an awareness of our innate, natural responses as humans, and to apply the same principles to your own designs. This approachable book introduces the psychological principles, deconstructs each into easily digestible concepts, and then shows how you can apply them. The idea is to deepen your understanding of why people react in the ways they do. After reading the book, you'll be ready to make your work more psychologically friendly, engaging, and persuasive. What's Inside * Making design persuasive * Encouraging visitors to take action * Creating enduring messages * Meeting the needs of both engaged and disengaged visitors * Becoming a strategic influencer * Applying theory, with case studies and real-world examples About the Reader This book is for web and UX designers and developers as well as anyone involved in customer-facing digital products. About the Author Victor Yocco, PhD, is a research director at a Philadelphia-based digital design firm. He received his PhD from The Ohio State University, where his research focused on psychology and communication in informal learning settings. Victor regularly writes and speaks on topics related to the application of psychology to design and addressing the culture of alcohol use in design and technology. He can be found at www.victoryocco.com or @victoryocco on Twitter. Table of Contents 1. PART 1 INTRODUCING THE APPLICATION OF PSYCHOLOGY TO DESIGN 2. Meeting users' needs: including psychology in design 3. PART 2 WHY DO FOLKS ACT LIKE THAT? PRINCIPLES OF BEHAVIOR 4. Designing for regular use: addressing planned behavior 5. Risky decisions and mental shortcuts 6. Motivation, ability, and trigger-boom! 7. PART 3 PRINCIPLES OF INFLUENCE AND PERSUASION: NOT AS EVIL AS YOU'D THINK 8. Influence: getting people to like and use your design 9. Using family, friends, and social networks to influence users 10. It's not what you say; it's how you say it! 11. Persuasion: the deadliest art 12. PART 4 USER EXPERIENCE DESIGN: PUTTING IT ALL TOGETHER 13. Case study: KidTech Design Co.'s Good Choice app 14. The next step: getting up and running « less
2016
Build data-driven React applications with ease using GraphQL and Relay
KEY FEATURES * Take your React applications to the next level with GraphQl and Relay * Explore the concepts of data fetching, data handling, and more * Learn to deploy your applications, which are compliant with GraphQl and Relay BOOK DESCRIPTION There’s a new choice for implementing APIs more » – the open source and Facebook-created GraphQL specification. Designed to solve many of the issues of working with REST, GraphQL comes alongside RelayJS, a React library for querying a server that implements the GraphQL specification. This book takes you quickly and simply through the skills you need to be able to build production ready applications with both GraphQL and RelayJS. Beginning with a solid foundation in the GraphQl specification, this book swiftly moves to how a data layer can be implemented for your web application using Relay. Get to grips with GraphQL and Relay concepts creating data containers, data masking, and more as your progress towards building a production-ready application. WHAT YOU WILL LEARN * Understand what problem GraphQL solves and how it differs from traditional REST architectures * Create a GraphQL server * Develop modular and maintainable GraphQL code * Grasp how to define GraphQL mutations * Comprehend how to define GraphQL queries * Modify a GraphQL server to be Relay-compliant * Develop a Relay client-side application with ReactJS that consumes a GraphQL endpoint ABOUT THE AUTHOR Samer Buna is a technical content author, software engineer, and mentor. He has a master's degree in information security and over ten years of progressive experience and success creating tailored solutions for businesses within many industries. Samer is passionate about everything JavaScript, and he loves exploring new libraries. His favorite technical stacks are Node.js for the backend and React.js for the frontend. Samer has authored a few books and online courses about React and GraphQL. You can follow him on Twitter at @samerbuna, and you can read more of what he writes at https://edgecoders.com/. TABLE OF CONTENTS 1. An Introduction to GraphQL and Relay 2. The Query Language 3. The GraphQL Schema 4. Configuring React Applications to Use Relay 5. Making GraphQL Queries Relay-Compliant 6. Relay Variables and Object Identification 7. Relay Mutations 8. Deploying to the Cloud « less
2016
Building Web Applications
React is a new, open-source technology from Facebook that has stirred quite a storm in the web development community, and some would say it’s the next best thing to a silver bullet for building web applications. With React: Up and Running you'll learn how to get off the ground with React, with no prior more » knowledge. This book teaches you how to build components, the building blocks of your apps, as well as how to organize the components into large-scale apps. In addition, you’ll learn about unit testing and optimizing performance, while focusing on the application’s data (and letting the UI take care of itself). « less
2016
Create powerful applications with ReactJS, the most popular platform for web developers today
KEY FEATURES * Create web apps with the most popular JavaScript library in the world * Learn how to speed up your development process and save valuable time * Work though step-by-step tutorials that provide easy-to-understand solutions to real-world problems BOOK DESCRIPTION The JavaScript more » revolution has landed! ReactJS is one of those rare technologies that comes out of nowhere and turns established practices on their head. It provides a different way of thinking about how you should develop your apps, and has already gained a massive adoption among web developers. Join the revolution, build web apps faster, and have more fun developing! Packed with real-world code, this book starts by covering the idea behind ReactJS and the key concepts you must familiarize yourself with. You will learn how to bootstrap your ReactJS projects and you’ll also be provided with a handy scaffolding that you can use and reuse over and over. We then go on to cover a wide variety of apps, and will help you to structure and build your own components. Next, you will build a web shop, create a fully responsive and routable app, and also develop a real-time search app. Further on, you will be taught to work with public APIs to create a map-based application. You will also be taken through some advanced concepts such as Redux that are making a huge splash currently in the world of ReactJS. You’ll learn how to efficiently seal off your app for guest access, interact with hardware APIs, and create a photo app. You will then master the art of making your apps universal, and find out how to deploy them to the cloud. Finally, we wrap up the book as you are shown how to make a game. What better way to kick off your ReactJS development journey? WHAT YOU WILL LEARN * Create a development environment that speeds up your development process * Find out about responsive web development and create apps that can be used on any device * Effortlessly connect to public and private APIs * Create efficient components that are easily testable and small enough to completely understand * Understand what data flow means in ReactJS and why you never need to worry about where data changes originate * Create universal apps that run on the browser as well as on the server * Work with modern front-end tooling and level up your skills * Train yourself to think in terms of ReactJS ABOUT THE AUTHOR Sven A. Robbestad is a developer with a keen interest in the Web and the languages you use for developing for the Web. He started programming at a young age, beginning with C on the Commodore Amiga. He made the Web his career in the early 90s. His favorite programming language is JavaScript, but he likes to work with an assortment of languages, such as Python, PHP, and Java, to mention a few. In his spare time, he loves engaging with fellow programmers, traveling, and speaking at conferences. TABLE OF CONTENTS 1. Diving Headfirst into ReactJS 2. Creating a Web Shop 3. Responsive Web Development with ReactJS 4. Building a Real-Time Search App 5. Creating a Map App with HTML5 APIs 6. Advanced React 7. Reactagram 8. Deploying Your App to the Cloud 9. Creating a Shared App 10. Making a Game « less
2016
Native Apps, Multiple Platforms
Answer the question "Can we build this for ALL the devices?" with a resounding YES. Learn how to build apps using seven different platforms: Mobile Web, iOS, Android, Windows, RubyMotion, React Native, and Xamarin. Find out which cross-platform solution makes the most sense for your needs, whether you're more » new to mobile or an experienced developer expanding your options. Start covering all of the mobile world today. Understanding the idioms, patterns, and quirks of the modern mobile platforms gives you the power to choose how you develop. Over seven weeks you'll build seven different mobile apps using seven different tools. You'll start out with Mobile Web; develop native apps on iOS, Android, and Windows; and finish by building apps for multiple operating systems using the native cross-platform solutions RubyMotion, React Native, and Xamarin. For each platform, you'll build simple, but non-trivial, apps that consume JSON data, run on multiple screen sizes, or store local data. You'll see how to test, how to build views, and how to structure code. You'll find out how much code it's possible to share, how much of the underlying platform you still need to know, and ultimately, you'll get a firm understanding of how to build apps on whichever devices your users prefer. This book gives you enough first-hand experience to weigh the trade-offs when building mobile apps. You'll compare writing apps on one platform versus another and understand the benefits and hidden costs of cross-platform tools. You'll get pragmatic, hands-on experience writing apps in a multi-platform world. What You Need: You'll need a computer and some experience programming. When we cover iOS, you'll need a Mac, and when we cover Windows Phone you'll need a computer with Windows on it. It's helpful if you have access to an iPhone, Android phone, and Windows Phone to run the examples on the devices where mobile apps are ultimately deployed, but the simulators or emulator versions of those phones work great. « less
2016
Leverage the features of TypeScript to boost your development skills and create captivating applications
ABOUT THIS BOOK * Learn how to develop modular, scalable, maintainable, and adaptable web applications by taking advantage of TypeScript * Explore techniques to use TypeScript alongside other leading tools such as Angular 2, React, and Node.js * Focusing on design patterns in TypeScript, this step-by-step more » guide demonstrates all the important design patterns in practice WHO THIS BOOK IS FOR This Learning Path is for intermediate-level JavaScript developers who want to use TypeScript to build beautiful web applications and fun projects. No prior knowledge of TypeScript is required, but a basic understanding of jQuery is expected. This Learning Path is also for experienced TypeScript developers who want to take their skills to the next level, and also for web developers who wish to make the most of TypeScript. WHAT YOU WILL LEARN * Understand the key TypeScript language features and runtime * Install and configure the necessary tools in order to start developing an application * Create object-oriented code that adheres to the SOLID principles * Develop robust applications with testing (Mocha, Chai, and SinonJS) * Apply GoF patterns in an application with a testing approach * Identify the challenges when developing an application * Migrate JavaScript codebases to TypeScript to improve your workflow * Utilize System.JS and Webpack to load scripts and their dependencies * Develop high performance server-side applications to run within Node.js IN DETAIL TypeScript is an open source and cross-platform typed superset of JavaScript that compiles to plain JavaScript that runs in any browser or any host. TypeScript adds optional static types, classes, and modules to JavaScript, to enable great tooling and better structuring of large JavaScript applications. Through this three-module learning path, you'll learn the ins-and-outs of TypeScript for building more robust software. The first module gets you started with TypeScript and helps you understand the basics of TypeScript and automation tools. Get a detailed description of function, generics, callbacks, and promises, and discover the object-oriented features and memory management functionality of TypeScript. The next module starts by explaining the current challenges when designing and developing an application and how you can solve these challenges by applying the correct design pattern and best practices. You will be introduced to low-level programming concepts to help you write TypeScript code, as well as working with software architecture, best practices, and design aspects. The final module will help you build a complete single page app with Angular 2, create a neat mobile app using NativeScript, and even build a Pac Man game with TypeScript. As if the fun wasn't enough, you'll also find out how to migrate your legacy codebase from JavaScript to TypeScript. By the end of this Learning Path, you will be able to take your skills up a notch and develop full-fledged web applications using the latest features of the TypeScript. This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products: * Learning TypeScript by Remo H. Jansen * TypeScript Design Patterns by Vilic Vane * TypeScript Blueprints by Ivo Gabe de Wolff STYLE AND APPROACH This is a step-by-step, practical guide covering the fundamentals of TypeScript with practical examples. The end-to-end projects included in this book will give you ready-to-implement solutions for your business scenario, showcasing the depth and robustness of TypeScript. « less
2016
Learn to build modern native iOS and Android applications using JavaScript and the incredible power of React
ABOUT THIS BOOK * Learn to design and build a fully-featured application using the newest cutting-edge framework from Facebook * Leverage your JavaScript skills to become a native app developer * Develop custom UI components, implement smooth navigation, and access native features such as geolocation more » and local storage WHO THIS BOOK IS FOR This book is for web developers who want to learn to build fast, good-looking, native mobile applications using the skills they already have. If you already have some JavaScript knowledge or are using React on the web, then you will be able to quickly get up and running with React Native for iOS and Android. WHAT YOU WILL LEARN * Set up the React Native environment on both devices and emulators * Gain an in-depth understanding of how React Native works behind the scenes * Write your own custom native UI components * Learn the ins and outs of screen navigation * Master the art of layout and styles * Work with device-exclusive data such as geolocation * Develop native modules in Objective-C and Java that interact with JavaScript * Test and deploy your application for a production-ready environment IN DETAIL React Native is a game-changing approach to hybrid mobile development. Web developers can leverage their existing skills to write mobile applications in JavaScript that are truly native without using cross-compilation or web views. These applications have all of the advantages of those written in Objective-C or Java, combined with the rapid development cycle that JavaScript developers are accustomed to. Web developers who want to develop native mobile applications face a high barrier to entry, because they are forced to learn platform-specific languages and frameworks. Numerous hybrid technologies have tried to simplify this process, but have failed to achieve the performance and appearance that users expect. This book will show you all the advantages of true native development that React Native has without the steep learning curve, leveraging the knowledge you already have. We do this by getting you up and running quickly with a sample application. Next, we'll introduce you to the fundamentals of creating components and explain how React Native works under the hood. Once you have established a solid foundation, you will dive headfirst into developing a real-world application from start to finish. Along the way, we will demonstrate how to create multiple screens and navigate between them,use layout and style native UI components, and access native APIs such as local storage and geolocation. Finally, we tackle the advanced topic of Native modules, which demonstrates that there are truly no limits to what you can do with React Native. STYLE AND APPROACH This book provides a simple and easy way to build mobile applications in JavaScript. Each topic takes you through the life cycle of creating a fully-functional native app, with detailed explanations of the entire process. « less
2015
Introduction to React teaches you React, the JavaScript framework created by developers at Facebook, to solve the problem of building complex user interfaces in a consistent and maintainable way. React.js shrugs away common front-end conventions in an effort to make things more efficient - use Introduction more » to React to learn about this framework and more today. Get to know the React API and it’s specific JavaScript extension, JSX, which makes authoring React components easier and maintainable. You will also learn how to test your React applications and about the tools you can use while building. Once you understand these core concepts, you can build applications with React. This will help you cement the ideas and fundamentals of React and prepare you to utilize React in your own use case. What You'll Learn: * How to use React to maintain complex user interfaces in an efficient way * How to integrate existing user interfaces and move forward with React * How to manage application architecture using Flux * How to easily utilize JSX, React's JavaScript extension « less
2015
Test your JavaScript applications efficiently using Jasmine and React.js
***** About This Book ***** * Leverage the power of unit testing React.js to develop full-fledged JavaScript applications * Learn the best practices of modularization and code organization while scaling your application * Enhance your practical skills required to develop applications using the Jasmine more » framework in a step-by-step manner ***** Who This Book Is For ***** This book is for web developers and designers who work with React.js and JavaScript and who are new to unit testing and automation. It's assumed that you have a basic knowledge of JavaScript and HTML. ***** What You Will Learn ***** * Understand and use the power of Jasmine to create better and more maintainable code bases * Drive your application development entirely by tests * Write modular and reusable code through the power of ECMA Script 6 (ES6) modules * Use asynchronous tests, stubs, and spies optimally * Test drive a React.js single-page application * Optimize your code to unleash the power of tooling and automation ***** In Detail ***** Take your testing of JavaScript applications to a new level of efficiency and reliability with the help of this book. Starting with the fundamentals of Jasmine and behavior-driven development (BDD), you will learn about tooling and automation. You will learn how to create a sustainable code base with the help of Jasmine. You will also take a look at integrated testing with React.js and Karma, and how you can speed this process up by faking AJAX requests. As you progress through the book, you will learn about the challenges of testing an application built on top of a framework and how you can prevent your application from suffering from dependency management. You will understand the concept of client-side and server-side rendering and test applications using React.js. You will also learn to automate using webpack and work with JavaScript module systems using ECMA Script 6 (ES6) modules. By the end of this book, you will be a competent web developer with good knowledge and a strong understanding of how to efficiently use the Jasmine framework for testing purposes. « less
2015