sábado, 27 de diciembre de 2014

All books and videos for just 5$ at Packt Publishing

From Thursday 18th to Tuesday January 6th every book and video for just 5$ at Packt Publishing!! Don't let escape this fleeting opportunity to get brand new material clicking here.

MongoDB Cookbook

MongoDB Cookbook - Packt Publishing


MongoDB Cookbook covers many administrative and programming matters. Did you first thought about how will you design a distributed configuration of your server so it can scale up well in terms of good response and in terms of having a huge amount of stored data? If you didn’t or you don’t know how to do it this is the right book for you.

I found a lot of recipes solving common problems I've previously ran into. Depending on where your server will be running in, your database architecture design may vary.


A common strategy for making fast queries is the use of indexes among other considerations. In Mongo there is a particular kind of indexes named covered indexes. It's important to know the difference with the original indexes and how to deal with both so you can achieve better results in terms of performance. There are also some more considerations about indexes to bear in mind when using them that are gathered into the book.


There's a chapter dedicated to administrative tasks. This chapter presents a list of recipes for concrete operations over the server like renaming a collection, operation profiling, configure replicas, etcetera.

When designing RESTful services or even standalone applications, there are common scenarios in which you will want to store huge documents or files, find text, increment a counter… Such kinds of topics are also covered in the book by giving some recipes for GridFS, Elastic search and atomic operations.

Monitoring and backups

The monitoring section explained on the book talks about a cloud-based service called MongoDB Monitoring Service (MMS) that allows you to monitor a MongoDB cluster. You will also see how to use commands like mongodump that is useful to implement your own process to provide automatic backups.

There's more

You will also get some recipes to deploy your Mongo database on cloud-based services like Amazon AWS, Google Cloud Computing…

You can get your copy of MongoDB Cookbook clicking right here.

miércoles, 29 de octubre de 2014

Web Development with MongoDB and Node.js

Writing RESTful services in Nodejs can be as simple as glueing modules. Internet is plenty of Node.js middleware. To achieve so, you first need to learn the basics.

It's better to have some previous knowledge of Javascript before reading this book as Web Development with MongoDB and Node.js has a tiny introduction to Javascript and Node.js.

The book explains how to scaffold web applications through full coded examples. Middleware is the key of being highly productive and the book uses and explains the most well-known modules. You'll find out a big example split into several chapters that is a clone of a popular social image-sharing site that will show you things such as:

Express: handle routing, middleware injection, ...
Connect: a suite of middleware for multiple things. In the book Connect is used to deal with json, cookies, logging, parsing, encoding, HTTP method support, handling errors ...
Handlebars: apart from explaining the basics of this template engine, it also shows how to build html layouts, partial views which prevent code duplication and helpers used for injecting functions at the time of rendering.

And all this is wired up with MongoDB which is a NoSQL database. You'll learn the really basics of CRUD operations over Mongo (Create, Retrieve, Update and Delete). But Mongo is such simple that it really doesn't need further explanation other than seeing the API definition. This makes the book swift and faster to read. As it's already a tradition with Mongo and Javascript, it also involves Mongoose. Mongoose introduces schemas and models, that is to say built-in types, field restrictions and validation.

The book culminates with four miscellaneous chapters. A chapter dedicated to testing using Behavior Driven Development (Mocha, Chai.js, Sinon.js, Proxyquire). Another chapter that gathers some web services (like Heroku, Amazon, Digital Ocean, Nodejitsu and Microsoft Azure) and tells how to deploy your nodejs web-apps. And finally, the last two chapters reviews front-end frameworks like: Backbone.js, Ember.js, Angular.js; and Node.js frameworks like Meteor, Sails, hapi, Koa or Flatiron.

At the end of the book you will be more likely to start developing your own RESTful services as Node.js makes things simple and this book covers really common problems.

You can get your copy of Web Development with MongoDB and Node.js right here!

miércoles, 8 de octubre de 2014

Learning Xamarin Studio book review

Cross platform development is probably a win for mobile developers. A great technology that lets programmers do native apps without loosing performance is Xamarin. 

Packt Publishing has released a really interesting and complete set of books covering Xamarin technology. You can find books focused on programming like "Xamarin Cross-platform Application Development", "Xamarin Essentials", "Learning Xamarin Studio" and some more.

A good starting point to this literature is Learning Xamarin Studio. Even if you are an experienced native developer or simply if you want to start from scratch to mobile development you should get it. The book covers interesting stuff like:

  • Setting up Android ARM and Intel emulators.
  • Integration of XCode with Xamarin IDE.
  • Management of Apple certificates to distribute your apps to the App Store.
  • Publishing to the Google Play Store.

You will learn all the functionality the IDE has as it explains the meaning of every single button, pane or menu. Although this reading is about learning the environment in which you will design and develop apps you will also learn things like how to build forms using XAML design or unit testing integration with Touch.Unit and Andr.Unit.

Go and get Learning Xamarin Studio book.