Get implementation details on using Node.js (server-side JavaScript), rather than Java technology, to develop systems of engagement. In this article, the IBM Extreme Blue team who developed a RESTful backend application using Node.js and MongoDB shares their thought process and recommendations.
In this article, we share lessons we learned in the process of developing a RESTful backend application using Node.js and MongoDB. We highlight our thought process in several high-level design and implementation decisions. We'll cover these topics:
* Leveraging NPM (Node Packaged Modules)
* Understanding asynchronous programming
* Structuring a large Express.js application's routing configuration
* Application-level logging
* Approaching data persistence and modeling
* Solving Passbook-specific challenges including cryptographic functions not supported by Node
* And we address subtle "gotchas" in hopes of expediting the learning process for those interested in Node.js and MongoDB development:
* Don't make assumptions about objects or their properties in a dynamically typed language
* Avoid implicit control flow
* Understand your dependencies' behavior
Your new post is loading...