Saturday, March 7, 2015

MongoDB Cookbook by Amal Nayak

MongoDB Cookbook by Amol Nayak is a succinct, yet thorough, cookbook for anyone interested in working with MongoDB.  The code examples (“recipes”) are well explained, although some recipes focus on scenarios that seem, to me, to be unrealistic in their execution.  The book also covers some basic information on using MongoDB and where to get it.  The structure and layout of the book lends itself to legibility of code, especially when being read on smaller devices (Kindle, tablet, etc.).  The book includes recipes for Python, Java, the Mongo Shell, but oddly lacking are recipes focused on JavaScript - especially since MongoDB features so prominently in NodeJS.  That isn’t to say that there are none - simply not as many as I would have expected.


Will this book be useful for you?  It depends on your approach to programming, and whether or not you find cookbooks to be of use to you and your coding style.  If you enjoy code cookbooks, then this is a well-written and well-explained example of such.  If you prefer books of a more traditional sense - focusing on a specific topic and leading you through steps to learn the ins and outs of the system or programming language, then you will not find this here.  Depending also on your specific need for MongoDB (i.e. using it with NodeJS), this book may not offer enough recipes on that topic to suit your needs.  Before purchasing it, I recommend thinking about your exact needs, and skimming the table of contents.


No comments: