Book Image

Ruby and MongoDB Web Development Beginner's Guide

By : Gautam Rege
Book Image

Ruby and MongoDB Web Development Beginner's Guide

By: Gautam Rege

Overview of this book

<p>MongoDB is a high-performance, open source, schema-free document-oriented database. Ruby is an object- oriented scripting language. Ruby and MongoDB are an ideal partnership for building scalable web applications.<br /><br /><em>Ruby and MongoDB Web Development Beginner's Guide</em> is a fast-paced, hands-on guide to get started with web application development using Ruby and MongoDB. The book follows a practical approach, using clear and step-by-step instructions and examples in Ruby to demonstrate application development using MongoDB. <br /><br />The book starts by introducing the concepts of MongoDB. The book teaches everything right from the installation to creating objects, MongoDB internals, queries and Ruby Data Mappers. <br /><br />You will learn how to use various Ruby data mappers like Mongoid and MongoMapper to map Ruby objects to MongoDB documents.<br /><br />You will learn MongoDB features and deal with geo-spatial indexing with MongoDB and Scaling MongoDB. <br /><br />With its coverage of concepts and practical examples, <em>Ruby and MongoDB Web Development Beginner's Guide</em> is the right choice for Ruby developers to get started with developing websites with MongoDB as the database.</p>
Table of Contents (18 chapters)
Ruby and MongoDB Web Development Beginner's Guide
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface

Summary


W00t! This has been a chapter where we actually built a fully functional web application using Rails and Sinatra. We have seen how to model a web application in the previous chapters. Now, we used them. We saw what Rails routes are and how they are processed. We were introduced to Twitter Bootstrap, Haml and Sass. We also looked at some very useful gems such as, simple_form and nested_form. We briefly looked at how to test an application and even document it!

You're all set to explore the wonderful world of MongoDB and Ruby now. The more you experiment the more you will learn. The next couple of chapters would deal with leveraging MongoDB specific features. In the next chapter, we shall leverage MongoDB geospatial indexing to make our applications location aware. The last chapter deals with scaling MongoDB and some more Map/Reduce!