• Complain

Kyle Banker - MongoDB in Action: Covers MongoDB version 3.0

Here you can read online Kyle Banker - MongoDB in Action: Covers MongoDB version 3.0 full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2016, publisher: Manning Publications, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Kyle Banker MongoDB in Action: Covers MongoDB version 3.0

MongoDB in Action: Covers MongoDB version 3.0: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "MongoDB in Action: Covers MongoDB version 3.0" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Summary

MongoDB in Action, Second Edition is a completely revised and updated version. It introduces MongoDB 3.0 and the document-oriented database model. This perfectly paced book gives you both the big picture youll need as a developer and enough low-level detail to satisfy system engineers.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

This document-oriented database was built for high availability, supports rich, dynamic schemas, and lets you easily distribute data across multiple servers. MongoDB 3.0 is flexible, scalable, and very fast, even with big data loads.

About the Book

MongoDB in Action, Second Edition is a completely revised and updated version. It introduces MongoDB 3.0 and the document-oriented database model. This perfectly paced book gives you both the big picture youll need as a developer and enough low-level detail to satisfy system engineers. Lots of examples will help you develop confidence in the crucial area of data modeling. Youll also love the deep explanations of each feature, including replication, auto-sharding, and deployment.

Whats Inside

  • Indexes, queries, and standard DB operations
  • Aggregation and text searching
  • Map-reduce for custom aggregations and reporting
  • Deploying for scale and high availability
  • Updated for Mongo 3.0
  • About the Reader

    Written for developers. No previous MongoDB or NoSQL experience is assumed.

    About the Authors

    After working at MongoDB, Kyle Banker is now at a startup. Peter Bakkum is a developer with MongoDB expertise. Shaun Verch has worked on the core server team at MongoDB. A Genentech engineer, Doug Garrett is one of the winners of the MongoDB Innovation Award for Analytics. A software architect, Tim Hawkins has led search engineering at Yahoo Europe. Technical Contributor: Wouter Thielen. Technical Editor: Mihalis Tsoukalos.

    Table of Contents

      PART 1 GETTING STARTED
    1. A database for the modern web
    2. MongoDB through the JavaScript shell
    3. Writing programs using MongoDB
    4. PART 2 APPLICATION DEVELOPMENT IN MONGODB
    5. Document-oriented data
    6. Constructing queries
    7. Aggregation
    8. Updates, atomic operations, and deletes
    9. PART 3 MONGODB MASTERY
    10. Indexing and query optimization
    11. Text search
    12. WiredTiger and pluggable storage
    13. Replication
    14. Scaling your system with sharding
    15. Deployment and administration

    Kyle Banker: author's other books


    Who wrote MongoDB in Action: Covers MongoDB version 3.0? Find out the surname, the name of the author of the book and a list of all author's works by series.

    MongoDB in Action: Covers MongoDB version 3.0 — read online for free the complete book (whole text) full work

    Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "MongoDB in Action: Covers MongoDB version 3.0" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

    Light

    Font size:

    Reset

    Interval:

    Bookmark:

    Make

    MEAP Edition Manning Early Access Program MongoDB in Action Second - photo 1

    MEAP Edition

    Manning Early Access Program

    MongoDB in Action

    Second Edition

    Version 16

    Copyright 2015 Manning Publications

    Manning Publications Co. We welcome reader comments about anything in the manuscript - other than typos and other simple mistakes.

    These will be cleaned up during production of the book by copyeditors and proofreaders.

    https://forums.manning.com/forums/mongodb-in-action-second-edition

    For more information on this and other Manning titles go to

    www.manning.com

    welcome

    Thank you for purchasing the MEAP for MongoDB in Action, 2nd edition . This new edition reflects our commitment to keeping our books up to date and interesting. We have taken a good look at MongoDB technology as it has expanded and improved; this new edition will give a MongoDB beginner a flying start in MongoDB operations and development.

    Although this is a new edition, the book has retained its basic structure. In this MEAP release, we have started out with making chapters 1 to 4 conform to the newest MongoDBversion releases. Chapter 1 introduces the features of MongoDB that are familiar from version 1.0, as well as those that have been introduced in versions 1.8 and 2.0. The aggregation framework and text searching are introduced for the first time as well.

    In Chapter 2 we are asking the reader to interact with the Javascript shellto get to know MongoDBs document data model in detail for the first time. By chapter 3, you will be making a start with writing MongoDB applications. This concludes the introduction to MongoDB.

    At the beginning of part II, chapter 4 dives deeply into the MongoDB document datamodel. Part II will also contain a chapter on the aggregation framework, while part III will handle text searching, replication and sharding.

    Kyle Banker, Peter Bakkum, Tim Hawkins, Doug Garrett, and Tim Hawkins

    Part 1: Getting started

    Part 1 provides a broad, practical introduction to MongoDB. It also introduces the JavaScript shell and the Ruby driver, both of which are used in examples throughout the book.

    Weve written this book with developers in mind, but it should be useful even if youre a casual user of MongoDB. Some programming experience will prove helpful in understanding the examples, though we focus most on MongoDB itself. If youve worked with relational databases in the past, great! We compare these to MongoDB often.

    MongoDB version 3.0.x is the most recent MongoDB version at the time this book was written, but most of the discussion applies to previous versions of MongoDB (and presumably later versions). We usually mention it when a particular feature wasnt available in previous versions.

    Youll use JavaScript for most examples, because MongoDBs JavaScript shell makes it easy for you to experiment with these queries. Ruby is a popular language among MongoDB users, and our examples show how the use of Ruby in real-world applications can take advantage of MongoDB. Rest assured, even if youre not a Ruby developer you can access MongoDB much the same way in other languages.

    In chapter 1, youll look at MongoDBs history, design goals, and application use cases. Youll also see what makes MongoDB unique as you compare it with other databases emerging in the NoSQL space.

    In chapter 2, youll become conversant in the language of MongoDBs shell. Youll learn the basics of MongoDBs query language, and youll practice by creating, querying, updating, and deleting documents. The chapter also features some advanced shell tricks and MongoDB commands.

    Chapter 3 introduces the MongoDB drivers and MongoDBs data format, BSON. Here youll learn how to talk to the database through the Ruby programming language, and youll build a simple application in Ruby demonstrating MongoDBs flexibility and query power.

    To get the most out of this book, follow along and try out the examples. If you dont have MongoDB installed yet, appendix A can help you get it running on your machine.

    1 A database for the modern web

    This chapter covers

    MongoDBs history, design goals, and key features

    A brief introduction to the shell and drivers

    Use cases and limitations

    Recent changes in MongoDB

    If youve built web applications in recent years, youve probably used a relational database as the primary data store. If youre familiar with SQL, you might appreciate the usefulness of a well-normalized data model, the necessity of transactions, and the assurances provided by a durable storage engine. Simply put, the relational database is mature and well known. So when developers start advocating alternative datastores, questions about the viability and utility of these new technologies arose. Are these new datastores replacements for relational database systems? Whos using them in production, and why? What are the trade-offs involved in moving to a nonrelational database? The answers to those questions rest on the answer to this one: why are developers interested in MongoDB?

    MongoDB is a database management system designed for the need to rapidly develop web applications and internet infrastructure. The data model and persistence strategies are built for high read and write throughput and the ability to scale easily with automatic failover. Whether an application requires just one database node or dozens of them, MongoDB can provide surprisingly good performance. If youve experienced difficulties scaling relational databases, this may be great news. But not everyone needs to operate at scale. Maybe all youve ever needed is a single database server. Why then would you use MongoDB?

    Perhaps the biggest reason developers use MongoDB isnt because of its scaling strategy, but rather because of its intuitive data model. MongoDB stores its information in documents rather than rows. Whats a document? Heres an example:

    {_id: 10,username: 'peter',email: 'pbbakkum@gmail.com'}

    This is a pretty simple document; its just storing a few fields of information about a user (he sounds cool). So whats the advantage of this model? Consider the case where youd like to store multiple emails for each user. In the relational world, you might create a separate table of email addresses and the user to which theyre associated. MongoDB gives you another way to store these:

    {_id: 10,username: 'peter',email: ['pbbakkum@gmail.com','pbb7c@virginia.edu']}

    And just like that, youve created an array of email addresses and solved your problem. As a developer, youll find it extremely useful to be able to store a structured document like this in your database without worrying about fitting a schema or adding more tables when your data changes.

    MongoDBs document format is based on JSON, a popular scheme for storing arbitrary data structures. JSON is an acronym for JavaScript Object Notation. As you just saw, JSON structures consist of keys and values, and they can nest arbitrarily deep. Theyre analogous to the dictionaries and hash maps of other programming languages.

    A document-based data model can represent rich, hierarchical data structures. Its often possible to do without the multitable joins common with relational databases. For example, suppose youre modeling products for an e-commerce site. With a fully normalized relational data model, the information for any one product might be divided among dozens of tables. If you want to get a product representation from the database shell, youll need to write a SQL query full of joins.

    Next page
    Light

    Font size:

    Reset

    Interval:

    Bookmark:

    Make

    Similar books «MongoDB in Action: Covers MongoDB version 3.0»

    Look at similar books to MongoDB in Action: Covers MongoDB version 3.0. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


    Reviews about «MongoDB in Action: Covers MongoDB version 3.0»

    Discussion, reviews of the book MongoDB in Action: Covers MongoDB version 3.0 and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.