Amazon cover image
Image from Amazon.com

Ruby and MongoDB web development beginner's guide : create dynamic web applications by combining the power of Ruby and MongoDB / Gautam Rege.

By: Material type: TextTextSeries: Community experience distilledPublication details: Birmingham : Packt Pub., 2012.Description: 1 online resource (ix, 310 pages) : illustrationsContent type:
  • text
Media type:
  • computer
Carrier type:
  • online resource
ISBN:
  • 9781849515030
  • 1849515034
  • 9781849515030
  • 1849515026
  • 9781849515023
  • 1283519593
  • 9781283519595
  • 9786613832047
  • 6613832049
Subject(s): Genre/Form: Additional physical formats: No titleDDC classification:
  • 005.75/7 23
LOC classification:
  • QA76.73.R83 R44 2012eb
Online resources:
Contents:
Cover; Copyright; Credits; About the Author; Acknowledgement; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Installing MongoDB and Ruby; Installing Ruby; Using RVM on Linux or Mac OS; The RVM games; The Windows saga; Using rbenv for installing Ruby; Installing MongoDB; Configuring the MongoDB server; Starting MongoDB; Stopping MongoDB; The MongoDB CLI; Understanding JavaScript Object Notation (JSON); Connecting to MongoDB using Mongo; Saving information; Retrieving information; Deleting information; Exporting information using mongoexport
Importing data using mongoimportManaging backup and restore using mongodump and mongorestore; Saving large files using mongofiles; bsondump; Installing Rails/Sinatra; Summary; Chapter 2: Diving Deep into MongoDB; Creating documents; Time for action -- creating our first document; NoSQL scores over SQL databases; Using MongoDB embedded documents; Time for action -- embedding reviews and votes; Fetching embedded objects; Using MongoDB document relationships; Time for action -- creating document relations; Comparing MongoDB versus SQL syntax; Using Map/Reduce instead of join
Understanding functional programmingBuilding the map function; Time for action -- writing the map function for calculating vote statistics; Building the reduce function; Time for action -- writing the reduce function to process emitted information; Understanding the Ruby perspective; Setting up Rails and MongoDB; Time for action -- creating the project; Understanding the Rails basics; Using Bundler; Why do we need the Bundler; Setting up Sodibee; Time for action -- start your engines; Setting up Mongoid; Time for action -- configuring Mongoid; Building the models
Time for action -- planning the object schemaTesting from the Rails console; Time for action -- putting it all together; Understanding many-to-many relationships in MongoDB; Using embedded documents; Time for action -- adding reviews to books; Choosing whether to embed or not to embed; Time for action -- embedding Lease and Purchase models; Working with Map/Reduce; Time for action -- writing the map function to calculate ratings; Time for action -- writing the reduce function to process the emitted results; Using Map/Reduce together; Time for action -- working with Map/Reduce using Ruby; Summary
Chapter 3: MongoDB InternalsUnderstanding Binary JSON; Fetching and traversing data; Manipulating data; What is ObjectId?; Documents and collections; Capped collections; Dates in MongoDB; JavaScript and MongoDB; Time for action -- writing our own custom functions in MongoDB; Ensuring write consistency or ""read your writes""; How does MongoDB use its memory-mapped storage engine?; Advantages of write-ahead journaling; Global write lock; Transactional support in MongoDB; Understanding embedded documents and atomic updates; Implementing optimistic locking in MongoDB
Time for action -- implementing optimistic locking
Summary: Create dynamic web applications by combining the power of Ruby and MongoDB with this book and ebook.
Item type:
Tags from this library: No tags from this library for this title. Log in to add tags.
Star ratings
    Average rating: 0.0 (0 votes)
Holdings
Item type Home library Collection Call number Materials specified Status Date due Barcode
Electronic-Books Electronic-Books OPJGU Sonepat- Campus E-Books EBSCO Available

"Learn by doing : less theory, more results."

Includes index.

Cover; Copyright; Credits; About the Author; Acknowledgement; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Installing MongoDB and Ruby; Installing Ruby; Using RVM on Linux or Mac OS; The RVM games; The Windows saga; Using rbenv for installing Ruby; Installing MongoDB; Configuring the MongoDB server; Starting MongoDB; Stopping MongoDB; The MongoDB CLI; Understanding JavaScript Object Notation (JSON); Connecting to MongoDB using Mongo; Saving information; Retrieving information; Deleting information; Exporting information using mongoexport

Importing data using mongoimportManaging backup and restore using mongodump and mongorestore; Saving large files using mongofiles; bsondump; Installing Rails/Sinatra; Summary; Chapter 2: Diving Deep into MongoDB; Creating documents; Time for action -- creating our first document; NoSQL scores over SQL databases; Using MongoDB embedded documents; Time for action -- embedding reviews and votes; Fetching embedded objects; Using MongoDB document relationships; Time for action -- creating document relations; Comparing MongoDB versus SQL syntax; Using Map/Reduce instead of join

Understanding functional programmingBuilding the map function; Time for action -- writing the map function for calculating vote statistics; Building the reduce function; Time for action -- writing the reduce function to process emitted information; Understanding the Ruby perspective; Setting up Rails and MongoDB; Time for action -- creating the project; Understanding the Rails basics; Using Bundler; Why do we need the Bundler; Setting up Sodibee; Time for action -- start your engines; Setting up Mongoid; Time for action -- configuring Mongoid; Building the models

Time for action -- planning the object schemaTesting from the Rails console; Time for action -- putting it all together; Understanding many-to-many relationships in MongoDB; Using embedded documents; Time for action -- adding reviews to books; Choosing whether to embed or not to embed; Time for action -- embedding Lease and Purchase models; Working with Map/Reduce; Time for action -- writing the map function to calculate ratings; Time for action -- writing the reduce function to process the emitted results; Using Map/Reduce together; Time for action -- working with Map/Reduce using Ruby; Summary

Chapter 3: MongoDB InternalsUnderstanding Binary JSON; Fetching and traversing data; Manipulating data; What is ObjectId?; Documents and collections; Capped collections; Dates in MongoDB; JavaScript and MongoDB; Time for action -- writing our own custom functions in MongoDB; Ensuring write consistency or ""read your writes""; How does MongoDB use its memory-mapped storage engine?; Advantages of write-ahead journaling; Global write lock; Transactional support in MongoDB; Understanding embedded documents and atomic updates; Implementing optimistic locking in MongoDB

Time for action -- implementing optimistic locking

Create dynamic web applications by combining the power of Ruby and MongoDB with this book and ebook.

Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK). WlAbNL

Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force. WlAbNL

English.

eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - Worldwide

There are no comments on this title.

to post a comment.

O.P. Jindal Global University, Sonepat-Narela Road, Sonepat, Haryana (India) - 131001

Send your feedback to glus@jgu.edu.in

Hosted, Implemented & Customized by: BestBookBuddies   |   Maintained by: Global Library