Node.js Blueprints


Book Description

A straightforward, practical guide containing step-by-step tutorials that will push your Node.js programming skills to the next level. If you are a web developer with experience in writing client-side JavaScript and want to discover the fascinating world of Node.js to develop fast and efficient web and desktop applications, then this book is for you.




Node.js 6.x Blueprints


Book Description

Create stunning web applications and Restful APIs from start to finish with Express, Loopback, MongoDB, and MySQL using this definitive guide About This Book Create stunning applications with Node.js from scratch, no matter the goal Discover a wide variety of applications you can effectively integrate third-party libraries and other front-end frameworks with Node.js Leverage all the new features introduced in Node.js 6.X Who This Book Is For This book caters to developers who are looking to build projects right from a simple website to more complex one such as a blog, chat application, a photography site, and a lot more. A Basic knowledge of JavaScript and Node.js would be extremely beneficial. What You Will Learn Explore MVC design pattern in Node.js Build solid architectures by following test-driven development Look beyond web applications and create your own desktop app with Node.js Develop single page applications using Node.js with the RESTful APIs, MongoDB, and ORM Master the Express framework and build a complete application with a real database Create a real-time and fully functional online chat application with Socket.IO In Detail Node.js is the most popular framework to create server-side applications today. Be it web, desktop, or mobile, Node.js comes to your rescue to create stunning real-time applications. Node.js 6.x Blueprints will teach you to build these types of projects in an easy-to-understand manner. The key to any Node.js project is a strong foundation on the concepts that will be a part of every project. The book will first teach you the MVC design pattern while developing a Twitter-like application using Express.js. In the next chapters, you will learn to create a website and applications such as streaming, photography, and a store locator using MongoDB, MySQL, and Firebase. Once you're warmed up, we'll move on to more complex projects such as a consumer feedback app, a real-time chat app, and a blog using Node.js with frameworks such as loopback.io and socket.io. Finally, we'll explore front-end build processes, Docker, and continuous delivery. By the end of book, you will be comfortable working with Node.js applications and will know the best tools and frameworks to build highly scalable desktop and cloud applications. Style and approach This is an easy-to-follow guide full of practical examples. This book takes a project-based approach and each chapter contains step-by-step instructions to create stunning applications across different application domains from scratch.




Node.js Design Patterns


Book Description

If you're a JavaScript developer interested in a deeper understanding of how to create and design Node.js applications, this is the book for you.




Node.js By Example


Book Description

If you are a JavaScript developer with no experience with Node.js or server-side web development, this book is for you. It will lead you through creating a fairly complex social network. You will learn how to work with a database and create real-time communication channels.




Learning Node.js for Mobile Application Development


Book Description

Make use of Node.js to learn the development of a simple yet scalable cross-platform mobile application About This Book Use Node.js to satisfy the core backend requirements of modern apps, including user management, security, data access, and real-time data communication Build practical real-world mobile applications, which will give you the necessary knowledge to build your very own mobile solutions Step-by-step development of projects using Ionic Framework as the frontend and Node.js for the backend supported by a MongoDB database Who This Book Is For This book is intended for web developers of all levels of expertise who want to deep dive into cross-platform mobile application development without going through the pains of understanding the languages and native frameworks that form an integral part of developing for different mobile platforms. This book is also for you if you are a developer who wants to capitalize on the MobileFirst strategy and so are going to use JavaScript for your complete stack. What You Will Learn Develop an API from scratch Set up a MongoDB Database as part of your mobile application backend Deploy a cross-platform mobile application from the command line Incorporate features within your mobile application that use native phone features such as a gyroscope, GPS, and accelerometer Implement mobile applications that use web-enabled APIs Build a mobile application with real-time chat messaging features Develop a secure mobile application that is capable of functioning with real-time data In Detail Node.js is a massively popular JavaScript library that lets you use JavaScript to easily program scalable network applications and web services. People approaching Node.js for the first time are often attracted by its efficiency, scalability, and the fact that it's based on JavaScript, the language of the Web, which means that developers can use the same language to write backend code. Also, it's increasingly being seen as a "modern" replacement for PHP in web development, which relies on fast-paced data exchange. The growing community and the large amount of available modules makes Node.js one of the most attractive development environments. This book takes a step-wise and incremental approach toward developing cross-platform mobile technologies using existing web technologies. This will allow you to truly understand and become proficient in developing cross-platform mobile applications with Node.js, Ionic Framework, and MongoDB. The book starts off by introducing all the necessary requirements and knowledge to build a mobile application with a companion web service. It covers the ability to create an API from scratch and implement a comprehensive user database that will give you the opportunity to offer a mobile application with a personalized experience. Midway through the book, you will learn the basic processes to create a successful mobile application. You will also gain higher-level knowledge, allowing you to develop a functional and secure mobile application to ensure a seamless user experience for end users. Finally, the book ends with more advanced projects, which will bring together all the knowledge and expertise developed in the previous chapters to create a practical and functional mobile-application that has useful real-world features. Style and approach This book is an easy-to-follow guide that takes a step-wise approach in giving expertise and knowledge to help you truly understand what is needed to create a memorable user experience for end users. Each topic is placed in the context of the bigger picture, that is, to create cross-platform mobile applications using existing technologies.




Node.js: The Collection


Book Description

While there have been quite a few attempts to get JavaScript working as a server-side language, Node.js (frequently just called Node) has been the first environment that's gained any traction. It's now used by companies such as Netflix, Uber and Paypal to power their web apps. Node allows for blazingly fast performance; thanks to its event loop model, common tasks like network connection and database I/O can be executed very quickly indeed. From a beginner's point of view, one of Node's obvious advantages is that it uses JavaScript, a ubiquitous language that many developers are comfortable with. If you can write JavaScript for the client-side, writing server-side applications with Node should not be too much of a stretch for you. This collection contains three books that will help get you up and running with Node. It contains: Your First Week With Node.js, which will get started using Node, covering all of the basics. 9 Practical Node.js Projects, which offers a selection of hand-on practical projects to develop your skills. Node.js: Related Tools & Skills, which outlines essential tools and skills that all Node developers should know.




Socket.IO Cookbook


Book Description

Over 40 recipes to help you create real-time JavaScript applications using the robust Socket.IO framework About This Book Create secure WebSocket connections and real-time mobile applications using Socket.IO Devise efficient messaging systems between the server side and the client side A step-by-step implementation guide to help you create elements of Socket.IO application Who This Book Is For If you have some knowledge of JavaScript and Node.js and want to create awe-inspiring application experiences using real time communication, then this book is for you. Developers with knowledge of other scripting languages should also be able to easily follow along. What You Will Learn Build rich and interactive real-time dashboards using Socket.IO to pipe in data as it becomes available Design chat and multiple-person interfaces that leverage Socket.IO for communication Segment conversations to rooms and namespaces so that every socket doesn't have to receive every message Secure your data by implementing various authentication techniques, locking down the HTTP referrer and using secure WebSockets Load balance across multiple server-side nodes and keep your WebSockets in sync using Redis, RabbitMQ or Memcached Stream binary data such as audio and video in real-time over a Socket.IO connection Create real-time experiences outside of the browser by integrating Socket.IO with hybrid mobile applications In Detail Socket.IO is a JavaScript library that provides you with the ability to implement real-time analytics, binary streaming, instant messaging, and document collaboration. It has two parts: a client-side library that runs in the browser, and a server-side library for node.js. Socket.IO is event-driven and primarily uses the WebSocket protocol that allows us to emit data bi-directionally from the server and the client. Socket.IO This book is a complete resource, covering topics from webSocket security to scaling the server-side of a Socket.IO application and everything in between. This book will provide real-world examples of how secure bi-directional, full-duplex connections that can be created using Socket.IO for different environments. It will also explain how the connection vulnerabilities can be resolved for large numbers of users and huge amounts of data/messages. By the end of the book, you will be a competent Socket.IO developer. With the help of the examples and real-world solutions,you will learn to create fast, scalable, and dynamic real-time apps by creating efficient messaging systems between the server side and the client side using Socket.IO. Style and approach This book is written in a cookbook-style format and provides practical, immediately usable task-based recipes that show you how to create the elements of a Socket.IO application.




Deploying Node.js


Book Description

Node.js is a popular choice for teams that need to design, build, test, deploy, maintain, and monitor large-scale distributed systems. Starting with a detailed overview of the Node.js architecture, this book covers topics that will help in application development, testing, deployment, and maintenance. You will learn about concurrency, event loops, callbacks and streams. Furthermore, step-by-step instructions on deploying applications to providers such as DigitalOcean and Heroku will be provided, including information on setting up load balancers and proxies. Message queues and other techniques for managing state and session data at scale will also be covered. A series of examples on deploying your Node.js applications in production environments are provided, including a discussion on setting up continuous deployment and integration for your team. Popular tools for testing, deploying, building, and monitoring Node.js applications are covered, helping you get up and running quickly.




Web Development with MongoDB and NodeJS


Book Description

Build an interactive and full-featured web application from scratch using Node.js and MongoDB About This Book Configure your development environment to use Node.js and MongoDB Use Node.js to connect to a MongoDB database and perform data manipulations A practical guide with clear instructions to design and develop a complete web application from start to finish Who This Book Is For This book is designed for JavaScript developers of any skill level that want to get up and running using Node.js and MongoDB to build full-featured web applications. A basic understanding of JavaScript and HTML is the only requirement for this book. What You Will Learn Configure your development environment to use Node.js and MongoDB Write and configure a web server using Node.js powered by the Express.js framework Build dynamic HTML pages using the Handlebars template engine Persist application data using MongoDB and Mongoose ODM Test your code using automated testing tools such as the Mocha framework Deploy the development environment to the cloud using services such as Heroku, Amazon Web Services, and Microsoft Azure Explore Single-Page application frameworks to take your web applications to the next level In Detail Node.js and MongoDB are quickly becoming one of the most popular tech stacks for the web. Powered by Google's V8 engine, Node.js caters to easily building fast, scalable network applications while MongoDB is the perfect fit as a scalable, high-performance, open source NoSQL database solution. Using these two technologies together, web applications can be built quickly and easily and deployed to the cloud with very little difficulty. The book will begin by introducing you to the groundwork needed to set up the development environment. Here, you will quickly run through the steps necessary to get the main application server up and running. Then you will see how to use Node.js to connect to a MongoDB database and perform data manipulations. From here on, the book will take you through integration with third-party tools for interaction with web apps. It then moves on to show you how to use controllers and view models to generate reusable code that will reduce development time. Toward the end of the book, we will cover tests to properly execute the code and some popular frameworks for developing web applications. By the end of the book, you will have a running web application developed with MongoDB and Node.js along with it's popular frameworks. Style and approach An easy guide to Node.js and MongoDB, which will quickly introduce you to the relevant concepts by taking you through the different steps involved in building a full-fledged web application.




Node.js 6.x 블루프린트


Book Description

10가지 프로젝트 청사진으로 정복하는 최신 웹 개발 노드(Node.js)는 서버 사이드 애플리케이션을 만드는 사실상 표준 프레임워크다. 이 책은 최신 LTS 버전인 6.x을 기준으로 각종 프레임워크와 라이브러리를 활용하여 모던 웹 앱 개발 과정을 훑어본다. 간단한 SNS, 상점 찾기, 실시간 채팅 등 10가지 예제를 통해 MVC 디자인 패턴, DB, Restful API, 지속적 배포 같은 주제를 자기 것으로 만들 수 있다. 격변하는 웹 개발 환경 속에서 스킬을 빠르게 향상하고 적합한 도구를 선택할 안목도 기를 수 있는 책. 최신 기법과 도구를 활용한 예제 프로젝트로 빠르게 배우는 모던 웹 앱 개발 오늘날 웹 개발은 프레임워크, 라이브러리, 도구와의 싸움이다. 실제 프로젝트를 만들어보며 검증된 도구를 적재적소에 활용하는 방법을 배우는 것이 효율적이다. 이 책은 최신 LTS 버전인 노드(Node.js) 6.x로 10가지 웹 프로젝트의 청사진을 만들어나간다. 입문자를 위해 자바스크립트나 노드를 기초부터 가르치는 책은 아니다. 개발 경험이 있는 개발자가 예제를 중심으로 실무에 노드를 활용하는 법을 효율적으로 익힐 수 있게 구성되었다. 먼저 익스프레스로 트위터 형태의 앱을 만들어보며 MVC 디자인 패턴을 배운다. 이어서 몽고DB와 MySQL을 이용해 음반, 스트리밍, 사진, 상점 찾기 앱을 만든다. 나아가 루프백, Socket.IO, 리액트, 앵귤러JS 등을 이용해 고객 리뷰, 실시간 채팅, 갤러리, 블로그 앱을 만들어본다. 끝으로 프런트엔드 빌드 프로세스, 도커, 지속적 배포 같은 주제도 탐색한다. 각종 기법과 도구를 활용한 최신식 개발 과정을 조망함으로써 노드 웹 개발에 공통되는 핵심을 익힐 수 있다. 책을 완독하면 오늘날 웹 개발 환경을 숙지하는 것은 물론이고, 확장성 높은 앱 개발에 필요한 최선의 도구와 프레임워크를 선택할 안목도 생길 것이다. 주요 내용 Node.js 개발의 MVC 디자인 패턴 학습 테스트 주도 개발로 견고한 아키텍처 구축RESTful API, 몽고DB, ORM을 활용한 SPA 개발 실제 데이터베이스를 사용하는 온전한 익스프레스 앱 개발Socket.IO를 이용한 실시간 채팅 앱 개발