Web Development with MongoDB and NodeJS: Edition 2

· ·
· Packt Publishing Ltd
Ebook
300
Pages

About this ebook

Build an interactive and full-featured web application from scratch using Node.js and MongoDBAbout This BookConfigure your development environment to use Node.js and MongoDBUse Node.js to connect to a MongoDB database and perform data manipulationsA practical guide with clear instructions to design and develop a complete web application from start to finishWho 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 LearnConfigure your development environment to use Node.js and MongoDBWrite and configure a web server using Node.js powered by the Express.js frameworkBuild dynamic HTML pages using the Handlebars template enginePersist application data using MongoDB and Mongoose ODMTest your code using automated testing tools such as the Mocha frameworkDeploy the development environment to the cloud using services such as Heroku, Amazon Web Services, and Microsoft AzureExplore Single-Page application frameworks to take your web applications to the next levelIn 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.

About the author

Mithun Satheesh is an open source enthusiast and a web developer from India. He has over five years of web development experience and specializes in JavaScript, Ruby, PHP, and other frontend engineering technologies. He is the author of a couple of libraries on Node.js, which are available as opensource via npm. One of these is called node-rules, which is a forward-chaining rule engine implementation written initially to handle transaction risks on bookmyshow.com, one of his former employers. Node rules have a considerable user following both on npm and GitHub. Apart from this, he has also served as an individual contributor to many open source projects on GitHub. He is a regular on programming sites such as Stack Overflow and loves contributing to the open source world. Apart from programming, he is also interested in experimenting with various cloud platform solutions. He has a number of applications listed in the developer spotlight of platform-as-a-service providers such as RedHat's OpenShift. You can follow him on Twitter at @mithunsatheesh.

Bruno Joseph D'mello is a web application engineer currently working at Built.io. He is a JavaScript enthusiast and has a keen interest in different web technologies and the programming paradigms implemented in them.

Jason Krol is a passionate web developer with over 15 years of professional experience creating highly interactive web applications using the latest in both client and server technologies. Over the past few years, Jason has been focusing on developing Single-Page Applications using JavaScript in the full stack with Node.js, MongoDB, and Backbone.js. After co-owning and running a successful web development agency for a number of years, Jason recently joined AWeber Communications, an e-mail marketing service provider in the suburbs of Philadelphia. When he isn't writing code for work or side projects, Jason blogs about his development experiences and opinions at KrolTech.com. Jason loves spending his free time with his wife and 8-year-old son.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.