Node.js 6.x Blueprints
Copyright 2016 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author(s), nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: August 2016
Production reference: 1220816
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.
ISBN 978-1-78588-843-4
www.packtpub.com
Credits
Author Fernando Monteiro | Copy Editors Vikrant Phadke Safis Editing |
Reviewer Magesh Kuppan | Project Coordinator Nidhi Joshi |
Commissioning Editor Amarabha Banerjee | Proofreader Safis Editing |
Acquisition Editor Manish Nainani | Indexer Mariammal Chettiyar |
Content Development Editor Mayur Pawanikar | Production Coordinator Nilesh Mohite |
Technical Editor Karan Thakkar |
About the Author
Fernando Monteiro is a full-stack engineer, speaker, and open source contributor. He has built and made some of his personal projects open source, such as Responsive Boilerplate, Frontend Boilerplate, Angm-Generator, and TrelloMetrics, written in AngularJS, Node.js, Less, and SASS.
With around 16 years of experience in information technology, his current focus is on web and mobile JavaScript applications. He has a strong understanding and experience with all phases of the software engineering life cycle, including source control, design, build/release, and automated testing.
He has worked as a manager of e-commerce, and a UX designer for various companies and products, including mobile applications.
When not programming, Fernando enjoys riding Harley Davidson bikes, making his own beer, and watching movies with his family.
You can find him on LinkedIn at https://br.linkedin.com/in/fernando-monteiro-69881b28/en.
The following are his previous books with Packt Publishing:
Instant HTML5 Responsive Table Design How-to in April 2013 :
http://www.amazon.com/Instant-HTML5-Responsive-Table-Design/dp/1849697264/ref=sr_1_3?s=books&ie=UTF8&qid=1454389499&sr=1-3&keywords=Fernando+Monteiro.
Learning Single Page Web Application Development in December 2014:
http://www.amazon.com/Learning-Single-Page-Application-Development/dp/1783552093/ref=sr_1_6?s=books&ie=UTF8&qid=1454389499&sr=1-6&keywords=Fernando+Monteiro.
AngularJS Directives Cookbook in November 2015 :
http://www.amazon.com/AngularJS-Directives-Cookbook-Fernando-Monteiro/dp/1784395897/ref=sr_1_1?s=books&ie=UTF8&qid=1454389499&sr=1-1&keywords=Fernando+Monteiro.
I would like to say thank you to all my family, who supported me in this journeyespecially my mother, Paschoalina Patrizzi for their strength and perseverance in life. And to all of the Packt Publishing crew who helped me with one more book.
About the Reviewer
Magesh Kuppanis a freelance consultant and trainer on web technologies with over 17 years of experience. Everything about technology excites him.
I am grateful to my parents, without whom I would not be what I am today. I am also thankful to my wife for she has been instrumental in all my efforts. Thanks to my little son who brings bliss to my life.
www.PacktPub.com
eBooks, discount offers, and more
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at customercare@packtpub.com for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
https://www2.packtpub.com/books/subscription/packtlib
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can search, access, and read Packt's entire library of books.
Why subscribe?
- Fully searchable across every book published by Packt
- Copy and paste, print, and bookmark content
- On demand and accessible via a web browser
Preface
Web applications with Node.js are increasingly popular and accessible to all developers. Today, with the growing evolution of Node.js, we can see numerous companies using this technology for the development of their applications. Among them, we can mention Netflix, Paypal, and many others who use Node.js in production environments.
The hosting companies also made a breakthrough by supporting Node.js on their platforms. Plus, many building tools, such as task runners, generators and dependence managers, emerged using the Node.js engine, such as Grunt, Gulp, Bower, and more.
Throughout the book, we will show you how to build and deploy Node.js applications from scratch by using all the resources available on the Node.js ecosystem and exploring cloud services for testing, image manipulation, and deployment.
Dealing with all these tools and getting the best out of them all is a very interesting and motivating task.
We will also introduce the concept of Docker containers and continuous integration using different tools and services.
Over the course of our book, we will see how to get the best out of this development method using the latest and greatest technologies to build ten applications from start to end.
Enjoy!
What this book covers
Throughout this book, we'll explore different ways to build Node.js Applications and understand what elements make up a basic blog page using MVC design patterns. We will learn how to deal with different types of view templates such as EJS and SWIG and more complex stuff using command-line tools to deploy and run applications.
We will cover fundamental concepts of the Restful API architecture and client-side communication using jQuery, React.js and Angular.js.
Although some points are advanced, you'll be prepared to understand the core concepts of Node.js applications, and how to deal with different types of database's such as MongoDB, MySQL, and the Express and Loopback frameworks.