Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Learning Mongoid

Buy
Learning Mongoid, 9781782167501 (1782167501), Packt Publishing, 2013

If you know MongoDB and Ruby, then Mongoid is a very handy tool to have at your disposal. Quickly learn to build Rails applications with the helpful code samples and instructions in this book.

Overview

  • A step-by-step guide that explains how to use Mongoid through lots of examples and code
  • Monitor and fine-tune the performance of your application
  • Work with the MongoDB aggregation framework

In Detail

Mongoid helps you to leverage the power of schema-less and efficient document-based design, dynamic queries, and atomic modifier operations. Mongoid eases the work of Ruby developers while they are working on complex frameworks.

Starting with why and how you should use Mongoid, this book covers the various components of Mongoid. It then delves deeper into the detail of queries and relations, and you will learn some tips and tricks on improving performance. With this book, you will be able to build robust and large-scale web applications with Mongoid and Rails.

Starting with the basics, this book introduces you to components such as moped and origin, and how information is managed, learn about the various datatypes, embedded documents, arrays, and hashes. You will learn how a document is stored and manipulated with callbacks, validations, and even atomic updates. This book will then show you the querying mechanism in detail, right from simple to complex queries, and even explains eager loading, lazy evaluation, and chaining of queries. Finally, this book will explain the importance of performance tuning and how to use the right indexes. It also explains MapReduce and the Aggregation Framework.

What you will learn from this book

  • Learn the syntax of Mongoid 4 with Rails 4
  • Understand moped, the new Ruby driver for MongoDB Learn about document relations in Mongoid
  • Understand origin, the new querying DSL
  • Manage indexes in Mongoid
  • Learn about gems that work with Mongoid
  • Tune and monitor performance

Approach

A step-by-step tutorial with focused examples that will help you build scalable, high performance Rails web applications with Mongoid.

Who this book is written for

If you are an application developer who wants to learn how to use Mongoid in a Rails application, this book will be great for you. You are expected to be familiar with MongoDB and Ruby.

(HTML tags aren't allowed.)

The Complete Idiot's Guide to Getting a Tattoo
The Complete Idiot's Guide to Getting a Tattoo
If you have picked up this book, you are either going to get your first tattoo or getting prepared for another one. Here is your opportunity to learn about tattooing and how to get a good tattoo so you don’t end up with an embarrassing mess. Tattooing is becoming more and more popular with TV shows such as Miami Ink. Many celebrities and...
Never Buy Another Stock Again: The Investing Portfolio that Will Preserve Your Wealth and Your Sanity
Never Buy Another Stock Again: The Investing Portfolio that Will Preserve Your Wealth and Your Sanity

Want to build long-term, sustainable wealth? Then stay out of the stock market!

 

That’s radically different advice from what the "experts" have served up for decades… but look at the miserable results those pundits have...

Sams Teach Yourself Microsoft Dynamics CRM 2011 in 24 Hours
Sams Teach Yourself Microsoft Dynamics CRM 2011 in 24 Hours

In just 24 sessions of one hour or less, you’ll learn how to drive powerful business results with Microsoft Dynamics CRM 2011! Using this book’s straightforward, step-by-step approach, you’ll learn how to orchestrate successful CRM projects, automate processes, create more efficient workflows, optimize...


Hands-On System Programming with Linux: Explore Linux system programming interfaces, theory, and practice
Hands-On System Programming with Linux: Explore Linux system programming interfaces, theory, and practice

Get up and running with system programming concepts in Linux

Key Features

  • Acquire insight on Linux system architecture and its programming interfaces
  • Get to grips with core concepts such as process management, signalling and pthreads
  • Packed with industry...
Advertising to Children on TV: Context, Impact, and Regulation
Advertising to Children on TV: Context, Impact, and Regulation
This book examines research concerned with advertising to children on television. Its purpose is to establish the status of our knowledge about how children respond to advertising on television, how much the research evidence can be taken at face value, and the degree to which research can usefully inform regulation of advertising aimed at young...
FPGA Design: Best Practices for Team-based Design
FPGA Design: Best Practices for Team-based Design

In August of 2006, an engineering VP from one of Altera’s customers approached Misha Burich, VP of Engineering at Altera, asking for help in reliably being able to predict the cost, schedule and quality of system designs reliant on FPGA designs.

At this time, I was responsible for defining the design flow requirements for...

©2021 LearnIT (support@pdfchm.net) - Privacy Policy