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.)

Web Services Essentials (O'Reilly XML)
Web Services Essentials (O'Reilly XML)

Web services offer a new and evolving paradigm for building distributed web applications. This book focuses on the essentials of web services and covers four main technologies: XML-RPC, SOAP, WSDL, and UDDI. The book offers a high-level overview of each technology. It also describes the relevant API and...

Protecting Games: A Security Handbook for Game Developers and Publishers
Protecting Games: A Security Handbook for Game Developers and Publishers

This book is intended to infect its readers with an interest and concern for game protection. My goal is not to preach to the ”security converted,” but to convince game designers, developers, programmers, managers, marketeers, and artists that they should care about the security of their games and give them confidence that there are...

The Art of Photography: An Approach to Personal Expression
The Art of Photography: An Approach to Personal Expression

This is an updated and newly revised edition of the classic book The Art of Photography (originally published in 1994), which has often been described as the most readable, understandable, and complete textbook on photography. With well over 100 beautiful photographic illustrations in both black-and-white and color, as well as...


Sensorimotor Control of Grasping: Physiology and Pathophysiology
Sensorimotor Control of Grasping: Physiology and Pathophysiology
The human hand can take on a huge variety of shapes and functions, providing its owner with a powerful hammer at one time or a delicate pair of forceps at another. The universal utility of the hand is even more enhanced by the ability to amplify the function of the hand by using tools. To understand and appreciate how the human brain controls...
CT and MRI of the Abdomen and Pelvis: A Teaching File (LWW Teaching File Series), 2e
CT and MRI of the Abdomen and Pelvis: A Teaching File (LWW Teaching File Series), 2e

Featuring 1,785 CT and MRI images and 470 cases from leading medical centers, this Second Edition is a comprehensive teaching-file atlas covering virtually all abdominal and pelvic diseases. Cases are presented as unknowns in a consistent format—a brief clinical history, several images, relevant findings, differential...

Building Telegram Bots: Develop Bots in 12 Programming Languages using the Telegram Bot API
Building Telegram Bots: Develop Bots in 12 Programming Languages using the Telegram Bot API
Learn about bot programming, using all the latest and greatest programming languages, including Python, Go, and Clojure, so you can feel at ease writing your Telegram bot in a way that suits you.

This book shows how you can use bots for just about everything: they connect, they respond,
...
©2019 LearnIT (support@pdfchm.net) - Privacy Policy