NW.js Essentials


Book Description

If you are an experienced Node.js developer who wants to create amazing desktop applications using NW.js, this is the book for you. Prior knowledge of HTML5, jQuery, and CSS is assumed.




NW.Js Essentials


Book Description

If you are an experienced Node.js developer who wants to create amazing desktop applications using NW.js, this is the book for you. Prior knowledge of HTML5, jQuery, and CSS is assumed.




Essential Node.js Security


Book Description

Hands-on and abundant with source code for a practical guide to Securing Node.js web applications. This book is intended to be a hands-on thorough guide for securing web applications based on Node.js and the ExpressJS web application framework. Many of the concepts, tools and practices in this book are primarily based on open source libraries and the author leverages these projects and highlights them. The main objective of the book is to equip the reader with practical solutions to real world problems, and so this book is heavily saturated with source code examples as well as a high level description of the risks involved with any security topic, and the practical solution to prevent or mitigate it.




Node.js Essentials


Book Description

From client to server, learn how Node.js can help you use JavaScript more effectively to develop faster and more scalable applications with easeAbout This Book• Discover how Node.js can transform the way you develop both the front and back ends - offering a much more modern and integrated form of web development• Create, debug, and test a complete full-stack application using Node.js and other powerful tools• From creating a server from scratch to unit testing code, learn how Node.js extends the possibilities of JavaScript developmentWho This Book Is ForIf you want to expand your capabilities as a developer this book is for you. Covering everything you need to use Node.js effectively, you will soon be able to handle JavaScript in a much more fully-realised way.What You Will Learn• Create and use an HTTP server using Express.js• Configure environmental variables, arguments, and config files• Use a Key/Value NoSQL database with Node to store data• Create a client-side application using Node and Node.Webkit• Debug applications using Node.Inspector• Create a library that can be used in more than one project• Install packages from NPMIn DetailNode.js is simply a tool that lets you useJavaScript on the server side. But it actually does much more than that – by extending JavaScript it allows for a much more integrated and efficient approach to development. It's no surprise that it's a fundamental tool for full-stack JavaScript developers. Whether your working on the back end or front end – by using Node.js you're adopting a much more collaborative and agile way of working – so you and your team can focus on delivering a quality end product. This will ensure you're ready to take on any new challenges that get thrown at you.NodeJS Essentials takes you through the fundamentals of Node.JS and demonstrates how Node.js can transform the way you work with JavaScript and take greater control over your code.You will also learn how to create a HTTP server from scratch, route requests, create a RESTful interface, and authenticate users. You will also learn to debug applications using Node.Inspector and the importance of logging, as well as creating a reusable library.Finally, you'll find out how to test and optimizr your code when working with Node.js using the Mocha framework. Follow each step and discover how to test both synchronous and asynchronous code using Mocha unit tests.With Node.js Essentials you'll find everything you need to create a complete full-stack application with Node.js. It will help you harness JavaScript much more effectively – and in doing so expand your confidence and capabilities as a developer.Style and approachThis concise guide will help you get up and running with Node.js. Packed with easy to followexamples, you'll be be able to build a complete full-stack application utilizing Node's capabilities.




Node.js in Action


Book Description

Summary Node.js in Action, Second Edition is a thoroughly revised book based on the best-selling first edition. It starts at square one and guides you through all the features, techniques, and concepts you'll need to build production-quality Node applications. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology You already know JavaScript. The trick to mastering Node.js is learning how to build applications that fully exploit its powerful asynchronous event handling and non-blocking I/O features. The Node server radically simplifies event-driven real-time apps like chat, games, and live data analytics, and with its incredibly rich ecosystem of modules, tools, and libraries, it's hard to beat! About the Book Based on the bestselling first edition, Node.js in Action, Second Edition is a completely new book. Packed with practical examples, it teaches you how to create high-performance web servers using JavaScript and Node. You'll master key design concepts such as asynchronous programming, state management, and event-driven programming. And you'll learn to put together MVC servers using Express and Connect, design web APIs, and set up the perfect production environment to build, lint, and test. What's Inside Mastering non-blocking I/O The Node event loop Testing and deploying Web application templating About the Reader Written for web developers with intermediate JavaScript skills. About the Authors The Second Edition author team includes Node masters Alex Young, Bradley Meck, Mike Cantelon, and Tim Oxley, along with original authors Marc Harter, T.J. Holowaychuk, and Nathan Rajlich. Table of contents PART 1 - WELCOME TO NODE Welcome to Node.js Node programming fundamentals What is a Node web application? PART 2 - WEB DEVELOPMENT WITH NODE Front-end build systems Server-side frameworks Connect and Express in depth Web application templating Storing application data Testing Node applications Deploying Node applications and maintaining uptime PART 3 - BEYOND WEB DEVELOPMENT Writing command-line applications Conquering the desktop with Electron




Eloquent JavaScript, 3rd Edition


Book Description

Completely revised and updated, this best-selling introduction to programming in JavaScript focuses on writing real applications. JavaScript lies at the heart of almost every modern web application, from social apps like Twitter to browser-based game frameworks like Phaser and Babylon. Though simple for beginners to pick up and play with, JavaScript is a flexible, complex language that you can use to build full-scale applications. This much anticipated and thoroughly revised third edition of Eloquent JavaScript dives deep into the JavaScript language to show you how to write beautiful, effective code. It has been updated to reflect the current state of Java¬Script and web browsers and includes brand-new material on features like class notation, arrow functions, iterators, async functions, template strings, and block scope. A host of new exercises have also been added to test your skills and keep you on track. As with previous editions, Haverbeke continues to teach through extensive examples and immerses you in code from the start, while exercises and full-chapter projects give you hands-on experience with writing your own programs. You start by learning the basic structure of the JavaScript language as well as control structures, functions, and data structures to help you write basic programs. Then you'll learn about error handling and bug fixing, modularity, and asynchronous programming before moving on to web browsers and how JavaScript is used to program them. As you build projects such as an artificial life simulation, a simple programming language, and a paint program, you'll learn how to: - Understand the essential elements of programming, including syntax, control, and data - Organize and clarify your code with object-oriented and functional programming techniques - Script the browser and make basic web applications - Use the DOM effectively to interact with browsers - Harness Node.js to build servers and utilities Isn't it time you became fluent in the language of the Web? * All source code is available online in an inter¬active sandbox, where you can edit the code, run it, and see its output instantly.




React.js Essentials


Book Description

A fast-paced guide to designing and building scalable and maintainable web apps with React.js About This Book Build maintainable and performant user interfaces for your web applications using React.js Create reusable React.js components to save time and effort in maintaining your user interfaces Learn how to build a ready-to-deploy React.js web application, following our step-by-step tutorial Who This Book Is For If you're a front-end developer with knowledge of jQuery and its libraries, along with frameworks, such as Angular.JS and Backbone.JS, or native JavaScript development, and you wish to use the fastest web user interface library there is, then this book is ideal for you. What You Will Learn Install powerful React.js tools to make development much more efficient Create React elements with properties and children Get started with stateless and stateful React components Use JSX to speed up your React.js development process Add reactivity to your React components with lifecycle methods Integrate your React components with other JavaScript libraries Utilize the Flux application architecture with your React components Test your React components with Jest test framework In Detail Building web applications with maintainable and performant user interfaces is a challenge that many have faced for more than a decade, but no one has risen to this challenge quite like React.js. Today React.js is used by Facebook, Instagram, Khan Academy, and Imperial College London, to name a few. Many new users recognize the benefits of React.js and adopt it in their own projects, forming a fast-growing community. The speed at which React.js has evolved promises a bright future for those who invest in learning it today. React.js Essentials will take you on a fast-paced journey through building your own maintainable React.js application. Begin by exploring how you can create single and multiple user interface elements. Create stateless and stateful components and make them reactive, learn to interact between your components and lifecycle methods and gauge how to effectively integrate your user interface components with other JavaScript libraries. Delve deep into the core elements of the Flux architecture and learn how to manage your application using stores. Finish by going that extra mile with the Jest test framework, running multiple tests on your application and find solutions to scale it further without complexity. Style and approach The book adopts a step-by-step, hands-on approach with ample codes to ensure you learn React.js at a fast pace.




Learning Node.js Development


Book Description

A comprehensive, easy-to-follow guide to creating complete Node apps and understanding how to build, deploy, and test your own apps. Key Features Entirely project-based and practical Explains the "Why" of Node.js features, not just the "how", providing you with a deep understanding and enabling you to easily apply concepts in your own applications Covers the full range of technologies around Node.js – NPM, version control with Git, and much more Book Description Learning Node.js Development is a practical, project-based book that provides you with all you need to get started as a Node.js developer. Node is a ubiquitous technology on the modern web, and an essential part of any web developers' toolkit. If you are looking to create real-world Node applications, or you want to switch careers or launch a side project to generate some extra income, then you're in the right place. This book has been written around a single goal—turning you into a professional Node developer capable of developing, testing, and deploying real-world production applications. Learning Node.js Development is built from the ground up around the latest version of Node.js (version 9.x.x). You'll be learning all the cutting-edge features available only in the latest software versions. This book cuts through the mass of information available around Node and delivers the essential skills that you need to become a Node developer. It takes you through creating complete apps and understanding how to build, deploy, and test your own Node apps. It maps out everything in a comprehensive, easy-to-follow package designed to get you up and running quickly. What you will learn Learn the fundamentals of Node Build apps that respond to user input Master working with servers Learn how to test and debug applications Deploy and update your apps in the real world Create responsive asynchronous web applications Who this book is for This book targets anyone looking to launch their own Node applications, switch careers, or freelance as a Node developer. You should have a basic understanding of JavaScript in order to follow this course.




Cross-Platform Desktop Applications


Book Description

Summary Cross-Platform Desktop Applications guides you step-by-step through creating Node.js desktop applications with NW.js and Electron from GitHub. Foreword by Cheng Zhao, creator of Electron. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Desktop application development has traditionally required high-level programming languages and specialized frameworks. With Electron and NW.js, you can apply your existing web dev skills to create desktop applications using only HTML, CSS, and JavaScript. And those applications will work across Windows, Mac, and Linux, radically reducing development and training time. About the Book Cross-Platform Desktop Applications guides you step by step through the development of desktop applications using Electron and NW.js. This example-filled guide shows you how to create your own file explorer, and then steps through some of the APIs provided by the frameworks to work with the camera, access the clipboard, make a game with keyboard controls, and build a Twitter desktop notification tool. You'll then learn how to test your applications, and debug and package them as binaries for various OSs. What's Inside Create a selfie app with the desktop camera Learn how to test Electron apps with Devtron Learn how to use Node.js with your application About the Reader Written for developers familiar with HTML, CSS, and JavaScript. About the Author Paul Jensen works at Starcount and lives in London, UK. Table of Contents PART 1 - WELCOME TO NODE.JS DESKTOP APPLICATION DEVELOPMENT Introducing Electron and NW.js Laying the foundation for your first desktop application Building your first desktop application Shipping your first desktop application PART 2 - DIVING DEEPER Using Node.js within NW.js and Electron Exploring NW.js and Electron's internals PART 3 - MASTERING NODE.JS DESKTOP APPLICATION DEVELOPMENT Controlling how your desktop app is displayed Creating tray applications Creating application and context menus Dragging and dropping files and crafting the UI Using a webcam in your application Storing app data Copying and pasting contents from the clipboard Binding on keyboard shortcuts Making desktop notifications PART 4 - GETTING READY TO RELEASE Testing desktop apps Improving app performance with debugging Packaging the application for the wider world




Node.js Essentials


Book Description