Take a look at our Javascript books. Shulph carries a great selection of Javascript books, and we are always adding more.
Discover how to take advantage of common cryptographic operations to build safer apps that respect users' privacy with the help of examples in JavaScript for Node.js and browsersKey FeaturesUnderstand how to implement common cryptographic operations in your code with practical examplesLearn about picking modern safe algorithms, which libraries you should rely on, and how to use them correctlyBuild modern and secure applications that respect your users' privacy with cryptographyBook DescriptionIf you're a software developer, this book will give you an introduction to cryptography, helping you understand how to make the most of it for your applications. The book contains extensive code samples in JavaScript, both for Node.js and for frontend apps running in a web browser, although the core concepts can be used by developers working with any programming language and framework. With a purely hands-on approach that is focused on sharing actionable knowledge, you'll learn about the common categories of cryptographic operations that you can leverage in all apps you're developing, including hashing, encryption with symmetric, asymmetric and hybrid ciphers, and digital signatures. You'll learn when to use these operations and how to choose and implement the most popular algorithms to perform them, including SHA-2, Argon2, AES, ChaCha20-Poly1305, RSA, and Elliptic Curve Cryptography. Later, you'll learn how to deal with password and key management. All code in this book is written in JavaScript and designed to run in Node.js or as part of frontend apps for web browsers. By the end of this book, you'll be able to build solutions that leverage cryptography to protect user privacy, offer better security against an expanding and more complex threat landscape, help meet data protection requirements, and unlock new opportunities.What you will learnWrite JavaScript code that uses cryptography running within a Node.js environment for the server-side or in frontend applications for web browsersUse modern, safe hashing functions for calculating digests and key derivation, including SHA-2 and Argon2Practice encrypting messages and files with a symmetric key using AES and ChaCha20-Poly1305Use asymmetric and hybrid encryption, leveraging RSA and Elliptic Curve Cryptography with ECDH and ECIESCalculate and verify digital signatures using RSA and ECDSA/EdDSAManage passwords and encryption keys safelyWho this book is forThis cryptography book is an introductory guide for software developers who don't necessarily have a background in cryptography but are interested in learning how to integrate it in their solutions, correctly and safely. You'll need to have at least intermediate-level knowledge of building apps with JavaScript and familiarity with Node.js to make the most of this book.
Get hands-on with the browser-based JavaScript library for training and deploying machine learning models effectively Key Features Build, train and run machine learning models in the browser using TensorFlow.js Create smart web applications from scratch with the help of useful examples Use flexible and intuitive APIs from TensorFlow.js to understand how machine learning algorithms function Book Description TensorFlow.js is a framework that enables you to create performant machine learning (ML) applications that run smoothly in a web browser. With this book, you will learn how to use TensorFlow.js to implement various ML models through an example-based approach. Starting with the basics, you'll understand how ML models can be built on the web. Moving on, you will get to grips with the TensorFlow.js ecosystem to develop applications more efficiently. The book will then guide you through implementing ML techniques and algorithms such as regression, clustering, fast Fourier transform (FFT), and dimensionality reduction. You will later cover the Bellman equation to solve Markov decision process (MDP) problems and understand how it is related to reinforcement learning. Finally, you will explore techniques for deploying ML-based web applications and training models with TensorFlow Core. Throughout this ML book, you'll discover useful tips and tricks that will build on your knowledge. By the end of this book, you will be equipped with the skills you need to create your own web-based ML applications and fine-tune models to achieve high performance. What you will learn Use the t-SNE algorithm in TensorFlow.js to reduce dimensions in an input dataset Deploy tfjs-converter to convert Keras models and load them into TensorFlow.js Apply the Bellman equation to solve MDP problems Use the k-means algorithm in TensorFlow.js to visualize prediction results Create tf.js packages with Parcel, Webpack, and Rollup to deploy web apps Implement tf.js backend frameworks to tune and accelerate app performance Who this book is for This book is for web developers who want to learn how to integrate machine learning techniques with web-based applications from scratch. This book will also appeal to data scientists, machine learning practitioners, and deep learning enthusiasts who are looking to perform accelerated, browser-based machine learning on Web using TensorFlow.js. Working knowledge of JavaScript programming language is all you need to get started.
Leverage Raspberry Pi 3 and different JavaScript platforms to build exciting Robotics projects Key Features Build robots that light up and make noise Learn to work with Raspberry Pi 3 and JavaScript Connect your Johnny-Five projects to external APIs and create your own IoT Book Description There has been a rapid increase in the use of JavaScript in hardware and embedded device programming. JavaScript has an effective set of frameworks and libraries that support the robotics ecosystem. Hands-On Robotics with JavaScript starts with setting up an environment to program robots in JavaScript. Then, you will dive into building basic-level projects such as a line-following robot. You will walk through a series of projects that will teach you about the Johnny-Five library, and develop your skills with each project. As you make your way through the chapters, you'll work on creating a blinking LED, before moving on to sensors and other more advanced concepts. You will then progress to building an advanced-level AI-enabled robot, connect their NodeBots to the internet, create a NodeBots Swarm, and explore MQTT. By the end of this book, you will have gained hands-on experience in building robots using JavaScript What you will learn Install and run Node.js and Johnny-Five on Raspberry Pi Assemble, code, and run an LED project Leverage JavaScript libraries to build exciting robots Use sensors to collect data from the world around you Employ servos and motors to make your project move Add internet capabilities to your Johnny-Five project Who this book is for Hands-On Robotics with JavaScript is for individuals who have prior experience with Raspberry Pi 3 and like to write sketches in JavaScript. Basic knowledge of JavaScript and Node.js will help you get the most out of this book.
Master over 60 recipes to help you deliver completely scalable and serverless cloud-native applications Key Features Develop global scale and event-driven autonomous services Continuously deploy, test, observe, and optimize your services Practical Node.js recipes for serverless cloud-native development Book Description Cloud-native development is a modern approach to building and running applications that leverages the merits of the cloud computing model. With cloud-native development, teams can deliver faster and in a more lean and agile manner as compared to traditional approaches. This recipe-based guide provides quick solutions for your cloud-native applications. Beginning with a brief introduction, JavaScript Cloud-Native Development Cookbook guides you in building and deploying serverless, event-driven, cloud-native microservices on AWS with Node.js. You'll then move on to the fundamental patterns of developing autonomous cloud-native services and understand the tools and techniques involved in creating globally scalable, highly available, and resilient cloud-native applications. The book also covers multi-regional deployments and leveraging the edge of the cloud to maximize responsiveness, resilience, and elasticity. In the latter chapters you'll explore techniques for building fully automated, continuous deployment pipelines and gain insights into polyglot cloud-native development on popular cloud platforms such as Azure and Google Cloud Platform (GCP). By the end of the book, you'll be able to apply these skills to build powerful cloud-native solutions. What you will learn Implement patterns such as Event Streaming, CQRS, and Event Sourcing Deploy multi-regional, multi-master solutions Secure your cloud-native services with OAuth and OpenID Connect Create a robust cloud-native continuous deployment pipeline Run services on AWS, Azure, and GCP Implement autonomous services to limit the impact of failures Who this book is for If you want to develop powerful serverless, cloud-native solutions, this book is for you. You are expected to have basic knowledge of concepts of microservices and hands-on experience with Node.js to understand the recipes in this book.
A journey starts from zero understanding to dev ready in Vue.js Key Features 1. Learner can learn the concepts such as how Vue.js works in the real would with reusable items like components, plugins, mixins and so on 2. Efficient and different ways of writing the template codes like using HTML, using .vue files and so on 3. Along with several basics, we have emphasized the concepts which are the real implementation as per industry standard. 4. This book is a reference guide for the novice learners in Vue.js. 5. We have started with the basics of Vue.js and progressed through the basic elements. So that the reader will get a fair idea of it. 6. It will help the reader to decide between the frameworks as we have stated a framework comparison in the book Description Vue.js is one of the quickly growing Javascript frameworks, which can be used in any scale of the project to help the stakeholders in rapid application development process. The good thing with Vue.js is that it is lightweight and can also be integrated with the existing project. It saves the development time and also enables managed HTML interface using Javascript. We have designed the book in a way that it keeps shaping the readers understanding in Vue.js. We have started with a basic advantage of learning Vue.js. Then the topic progresses through the introduction of Vue.js, how to setup a project, how CLI in Vue.js works, basic understanding of the HTML tags used with Vue.js, watchers and it wraps around with the computed properties along with a comparison between watchers and computed property. By this time, the reader must have gained a fair knowledge on Vue.js. In this first part, we have also covered the usage of the debugging tool shared by Vue.js i.e Vue Chrome extension. In the middle section of the book, we have mostly covered the reusable part for Vue.js by covering the component basics and advance along with plugins, mixins, slots, filters, render functions and so on. At the end, we have added the routing, state management and building single page application concepts for the reader to make them equipped to create and work in projects. Additionally we have added one appendix which makes a quick and basic comparison between similar JS frameworks. We have also covered few alternatives of designing components in Vue.js. What Will You Learn This book would help the reader to acquire the knowledge on the Javascript framework like Vue.js. It would help them in understanding the two way binding, the way how states work, how the single paged application built and so on, which are the kind of much needed industry knowledge now-a-days. Who This Book Is For The reader should have a basic understanding of HTML, CSS and Javascript which are the basic building blocks of web developement. So this book, we have skipped the basics of web development part and covered the Vue.js starting from basics to advanced. Table of Contents 1. Day 1: Introduction a. Before I start with Vue.js b. Let’s setup Vue.js c. Let’s Put Vue in action d. Vue Dev Tools e. Vue CLI f. Summary 2. Day 2: Rendering with HTML a. Basic HTML structuring with Vue b. Conditions and loop structures c. Form elements and basic event handling d. Summary 3. Day 3: Computed property a. Greeting to the user b. Computed properties vs methods c. Watched property d. Summary 4. Day 4: Components a. What is component b. Template string looks odd!!! c. Passing properties to the component d. Registering the component e. Data passing between components f. Summary 5. Day 5: Components in depth a. Diving in the props b. Slots c. Summary 6. Day 6: Distribute reusable functionality a. Mixins b. Custom directives c. Filters d. Plugin e. Summary 7. Day 7: Single page application a. What is route b. State Management c. Summary 8. Appendix a. Render functions b. JSX c. Comparing Vue d. Summary About the Author Nirmal Hota Nirmal Hota is a software developer and mentor. He loves to learn and work in different technologies. He has worked in various Microsoft Technologies such as C#, VB, ASP.net, Dynamics CRM, Commerce server and so on. Also worth mentioning his expertise in open source and mobile application technologies like Ruby on Rails, Phonegap, Titanium, Xamarin and so on. He loves to explore different Javascript based platforms including Angular, React and Vue. LinkedIn Profile: https://www.linkedin.com/in/nirmalhota/ Tadit Dash Tadit Dash is a software engineer by profession. As a software engineer, he usually works for eight to nine hours daily. Besides his daily work, he contributes to both online and offline communities. He co-founded the first Technical Community in his state named Utkal Techies Forum Odisha, which is devoted to spreading awareness of the newest trends in technology among techies. LinkedIn - https://www.linkedin.com/in/taditdash/ Dr. Vishal Jain Dr. Vishal Jain is currently working as Associate Professor with Bharati Vidyapeeth’s Institute of Computer Applications and Management (BVICAM), New Delhi Affiliated to GGSIPU and Accredited by AICTE, since July, 2017 to till date. He has joined BVICAM, New Delhi in year 2010 and worked as Assistant Professor from August, 2010 to July, 2017. Before joined BVICAM, New Delhi, he has worked four years in Guru Presmsukh Memorial College of Engineering, Affiliated to GGSIPU and Accredited by AICTE, from July 2004 to July, 2008. Dr. Vishal Jain has completed Ph.D (Computer Science and Engineering) from Lingaya’s University, Faridabad, Haryana, M.Tech (Computer Science and Engineering) from University School of Information Technology (USIT), Guru Gobind Singh Indraprastha University, MBA (HR) from Shobhit University, Meerut, MCA from Sikkim Manipal University, Sikkim. In additional qualification he has obtained DOEACC ‘A’ Level and DOEACC ‘O’ Level, Post Graduate Diploma in Computer Software Training from A.M Informatics, Advance Diploma in Computer Software Training from ET&T, Delhi, Diploma in Business Management from All India Institute of Management Studies, Chennai, Diploma in Programming from Oxford Computer Education, Delhi, Microsoft Certified Professional Cleared Two Modules 070-210, 070-215 (MCP) and Cisco Certified Network Administrator (CCNA). He has received Young Active Member award for the year 2012 – 13 from Computer Society of India. Dr. Vishal Jain has worked as a Delhi State Students’ Coordinator, Delhi Chapter, Computer Society of India (2014 – 2016). His research area includes Semantic Web, Ontology Engineering, Cloud Computing, Big Data Analytics and Adhoc Networks. LinkedIn Profile: https://in.linkedin.com/in/vishaljain83
Take the plunge and develop cross-browser-compatible and responsive web designs with SVG Key Features Master the art of custom animations and visualizations with SVG, CSS, and JavaScript Combine SVG with third-party libraries and frameworks such as React, JQuery, D3, and Snap.svg for GUI-rich apps Create an awesome user experience with high-performance graphics for your web applications Book Description SVG is the most powerful image format in use on the web. In addition to producing resolution-independent images for today's multi-device world, SVG allows you to create animations and visualizations to add to your sites and applications. The simplicity of cross-platform markup, mixed with familiar modern web languages, such as CSS and JavaScript, creates a winning combination for designers and developers alike. In this book, you will learn how to author an SVG document using common SVG features, such as elements and attributes, and serve SVG on the web using simple configuration tips for common web servers. You will also use SVG elements and images in HTML documents. Further, you will use SVG images for a variety of common tasks, such as manipulating SVG elements, adding animations using CSS, mastering the basic JavaScript SVG (API) using Document Object Model (DOM) methods, and interfacing SVG with common libraries and frameworks, such as React, jQuery, and Angular. You will then build an understanding of the Snap.svg and SVG.js APIs, along with the basics of D3, and take a look at how to implement interesting visualizations using the library. By the end of the book, you will have mastered creating animations with SVG. What you will learn Deliver the elements that make up an SVG image Replace your old CSS sprites with SVG Understand animation and data visualization with SVG are explained in pure JavaScript and using common libraries Use SVG to scale images across multiple devices easily Harness the power of CSS animations and transformations to manipulate your SVG images in a replicable, remixable way Interface SVG with common libraries and frameworks, such as jQuery, React, and Angular Who this book is for This book is for web developers and designers looking to add animation to their projects. Some experience with HTML, CSS, and JavaScript is required.
Over 90 recipes to help you write clean code, solve common JavaScript problems, and work on popular use cases like SPAs, microservices, native mobile development with Node, React, React Native and Electron. Key Features Over 90 practical recipes to help you write clean and maintainable JavaScript codes with the latest ES8 Leverage the power of leading web frameworks like Node and React to build modern web apps Features comprehensive coverage of tools and techniques needed to create multi-platform apps with JavaScript Book Description 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. What you will learn Use the latest features of ES8 and learn new ways to code with JavaScript Develop server-side services and microservices with Node.js Learn to do unit testing and to debug your code Build client-side web applications using React and Redux Create native mobile applications for Android and iOS with React Native Write desktop applications with Electron Who this book is for This book is for developers who want to explore the latest JavaScript features, frameworks, and tools for building complete mobile, desktop and web apps, including server and client-side code. You are expected to have working knowledge of JavaScript to get the most out of this book.
Develop attractive and efficient dynamic web applications using Node.js Key Features Assumes a practical approach of learning. Ample of examples are given along with assignments. Book covers a wide range of topics in Node.js, emphasising on real-world. Simple language is used with clear presentation of topics including Node.js modules, npm, event handling. Description The Node.js Guidebook is written and designed keeping in mind readers of varies technical and academic inclinations. Every concept has been explained in detail with appropriate examples and demonstrations with images as applicable. Topics have been aligned from simple to complex for the benefit of a beginner in understanding the technology. The logic of all codes in the examples have been explained appropriately. Concepts have been described in a simple language for easy understanding along with real-world applications of the same. Node.js Guidebook aims to introduce readers to the world of Node.js. Node.js is an open source JavaScript run-time environment that executes JavaScript on server-side. Earlier, JavaScript was used only for client-side scripting, but Node.js supports the creation of dynamic Web applications by using JavaScript for server-side scripting. Node.js has taken the world by a storm by simplifying Web application development thorough the use of readily available and pluggable modules, thus, reducing the overall development time. Whether you are a beginner or an experienced developer, you can learn to design and develop attractive and efficient Web applications using Node.js. What Will You Learn This book will help developers to easily develop attractive and efficient dynamic web applications using Node.js. It will be a great source of reference for developers for migrating applications to open source technologies such as HTML5, Node.js, and MySQL. Who This Book Is For This book will prove to be a “must have” for beginners as well as experienced professionals as it is a stepping stone for learning new technology. Table of Contents 1. Introduction to Node.js 2. Modules in Node.js 3. File system module 4. NPM in node.js 5. Event handling in Node.js 6. Node.js with MySQL 7. Express and Node.js About the Author Dhruti Shah is a multi-skilled, tech savvy person with more than 12 years of experience as a software trainer, technical writer, project lead and manager in the field of education and training in Information Technology. She holds a Master of Computer Applications (MCA) degree from South Gujarat University. She is a Microsoft Certified Training Specialist and has trained more than 2000 candidates world-wide on more than 10 technologies. With a keen sense of technological advancement, she has self-acquired working knowledge of several technologies including Java, .NET, PHP, Linux, SQL Server, MySQL, Node.js and so on. She has authored books on these technologies for educational institutions and also conducted webinars on technical subjects for international clients like Nigeria, Vietnam, and Trinidad. She has been appreciated as a model representative for India for flawlessly managing two prestigious International projects to set up and upgrade the Centre of Excellence in Information Technology in Panama and Costa Rica, Central America (a collaboration project of Indian government with the governments of Panama and Costa Rica).
Node.js Complete Reference Guide is your one-stop solution to building highly scalable, single-language applications that share code between the server and client Key Features Explore the latest JavaScript features and EcmaScript modules Walk through different stages of developing robust applications using Node.js 10 Create rich and scalable RESTful API solutions from scratch Book Description Node.js Complete Reference Guide takes you through rudimentary knowledge of JavaScript and server-side development to create, maintain, deploy, and test your own Node.js applications. You will begin by learning how to use the HTTP Server and Client objects, store data with both SQL and MongoDB databases, and unit test applications with Mocha 5.x, and functionally test them with Puppeteer 1.1.x. Then, you will learn to create scalable and rich RESTful applications on the Node.js platform and write a simple HTTP request handler with self-descriptive URLs. You will learn to set accurate HTTP status codes, study how to keep your applications backward-compatible and explore some authentication techniques to secure your application. Then, you will study how Node.js has emerged as a strong candidate for developing microservices. With this Learning Path, you will be able to use the best practices and create efficient microservices. This Learning Path includes content from the following Packt products: RESTful Web API Design with Node.js 10, Third Edition by Valentin Bojinov Node.js Web Development, Fourth Edition by David Herron Hands-On Microservices with Node.js by Diogo Resende What you will learn Work with REST service development using the Restify framework Use data storage engines, such as MySQL, SQLITE3, and MongoDB in apps Apply user authentication methods with OAuth2 Perform real-time communication with the front-end using Socket.IO Implement Docker microservices in development, testing, and deployment Perform unit testing with Mocha 5.x and functional testing with Puppeteer 1.1.x Use self-descriptive URLs and set accurate HTTP status codes Deploy a cloud-native microservice to an online provider Who this book is for Node.js Complete Reference Guide is designed for web developers who have a rudimentary understanding of JavaScript and web application development, are keen to enrich their development skills to create RESTful applications, and want utilize their skills to build microservices.
Develop your JavaScript programming skills by learning strategies and techniques commonly used in modern full-stack application development Key Features Write and deploy full-stack applications efficiently with JavaScript Delve into JavaScript's multiple programming paradigms Get up to speed with core concepts such as modularity and functional programming to write efficient code Book Description In depth knowledge of JavaScript makes it easier to learn a variety of other frameworks, including React, Angular, and related tools and libraries. This book is designed to help you cover the core JavaScript concepts you need to build modern applications. You'll start by learning how to represent an HTML document in the Document Object Model (DOM). Then, you'll combine your knowledge of the DOM and Node.js to create a web scraper for practical situations. As you read through further lessons, you'll create a Node.js-based RESTful API using the Express library for Node.js. You'll also understand how modular designs can be used for better reusability and collaboration with multiple developers on a single project. Later lessons will guide you through building unit tests, which ensure that the core functionality of your program is not affected over time. The book will also demonstrate how constructors, async/await, and events can load your applications quickly and efficiently. Finally, you'll gain useful insights into functional programming concepts such as immutability, pure functions, and higher-order functions. By the end of this book, you'll have the skills you need to tackle any real-world JavaScript development problem using a modern JavaScript approach, both for the client and server sides. What you will learn Apply the core concepts of functional programming Build a Node.js project that uses the Express.js library to host an API Create unit tests for a Node.js project to validate it Use the Cheerio library with Node.js to create a basic web scraper Develop a React interface to build processing flows Use callbacks as a basic way to bring control back Who this book is for If you want to advance from being a frontend developer to a full-stack developer and learn how Node.js can be used for hosting full-stack applications, this is an ideal book for you. After reading this book, you'll be able to write better JavaScript code and learn about the latest trends in the language. To easily grasp the concepts explained here, you should know the basic syntax of JavaScript and should've worked with popular frontend libraries such as jQuery. You should have also used JavaScript with HTML and CSS but not necessarily Node.js.