• Complain

Francia - MongoDB and PHP

Here you can read online Francia - MongoDB and PHP full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. City: Sebastopol, year: 2012, publisher: OReilly Media, Inc., genre: Computer. 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.

Francia MongoDB and PHP
  • Book:
    MongoDB and PHP
  • Author:
  • Publisher:
    OReilly Media, Inc.
  • Genre:
  • Year:
    2012
  • City:
    Sebastopol
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

MongoDB and PHP: summary, description and annotation

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

What would happen if you optimized a data store for the operations application developers actually use? Youd arrive at MongoDB, the reliable document-oriented database. With this concise guide, youll learn how to build elegant database applications with MongoDB and PHP. Written by the Chief Solutions Architect at 10gen--the company that develops and supports this open source database--this book takes you through MongoDB basics such as queries, read-write operations, and administration, and then dives into MapReduce, sharding, and other advanced topics. Get out of the relational database rut, and take advantage of a high-performing system optimized for operations and scale--Publisher. Read more...
Abstract: Author Steve Francia provides readers with a guide to using MongoDB with PHP. He briefly introduces the reader to MongoDB and why its a good match for PHP. Once the foundation is laid, learn how to connect to the database, perform CRUD operations, and perform queries. More advanced topics are covered next, such as mapreduce, gridfs and sharding. Read more...

Francia: author's other books


Who wrote MongoDB and PHP? Find out the surname, the name of the author of the book and a list of all author's works by series.

MongoDB and PHP — 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 and PHP" 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
MongoDB and PHP
Steve Francia
Published by OReilly Media

Beijing Cambridge Farnham Kln Sebastopol Tokyo SPECIAL OFFER Upgrade this - photo 1

Beijing Cambridge Farnham Kln Sebastopol Tokyo

SPECIAL OFFER: Upgrade this ebook with OReilly

for more information on this offer!

Please note that upgrade offers are not available from sample content.

Preface

Once every decade or so, a technology comes along that is so revolutionary that it fundamentally alters the way we approach everything we do. The world itself has changed. As I think back to 1995 when I first started developing Internet applications, our data needs were relatively simple. For the next 10 years, little changed; more and more people were using the Internet, and consequently data stores needed to scale to larger workloads, but caching largely took care of that, as all users were accessing the same set of data. As social media came to fruition, it was clear that the approach that had worked for the prior 30 years was not longer sufficient. In the future, all data and experience would need to be personalizedon a large scale. It was out of this need that MongoDB was created. A database for todays applications, a database for todays challenges, a database for todays scale: MongoDB has that disruptive potential that will fundamentally change the way you approach developing applications.

Id like to publicly thank my wife and four children for being patient with me as I spent most of my free time over the past few months writing this book.

Conventions Used in This Book

The following typographical conventions are used in this book:

Italic

Indicates new terms, URLs, email addresses, filenames, and file extensions.

Constant width

Used for program listings, as well as within paragraphs to refer to program elements such as variable or function names, databases, data types, environment variables, statements, and keywords.

Constant width bold

Shows commands or other text that should be typed literally by the user.

Constant width italic

Shows text that should be replaced with user-supplied values or by values determined by context.

Tip

This icon signifies a tip, suggestion, or general note.

Caution

This icon indicates a warning or caution.

Using Code Examples

This book is here to help you get your job done. In general, you may use the code in this book in your programs and documentation. You do not need to contact us for permission unless youre reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distributing a CD-ROM of examples from OReilly books does require permission. Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your products documentation does require permission.

We appreciate, but do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN. For example: MongoDB and PHP by Steve Francia (OReilly). Copyright 2011 Steve Francia, 978-1-4493-1436-1.

If you feel your use of code examples falls outside fair use or the permission given above, feel free to contact us at .

Safari Books Online
Note

Safari Books Online is an on-demand digital library that lets you easily search over 7,500 technology and creative reference books and videos to find the answers you need quickly.

With a subscription, you can read any page and watch any video from our library online. Read books on your cell phone and mobile devices. Access new titles before they are available for print, and get exclusive access to manuscripts in development and post feedback for the authors. Copy and paste code samples, organize your favorites, download chapters, bookmark key sections, create notes, print out pages, and benefit from tons of other time-saving features.

OReilly Media has uploaded this book to the Safari Books Online service. To have full digital access to this book and others on similar topics from OReilly and other publishers, sign up for free at http://my.safaribooksonline.com.

How to Contact Us

Please address comments and questions concerning this book to the publisher:

OReilly Media, Inc.
1005 Gravenstein Highway North
Sebastopol, CA 95472
800-998-9938 (in the United States or Canada)
707-829-0515 (international or local)
707-829-0104 (fax)

We have a web page for this book, where we list errata, examples, and any additional information. You can access this page at:

http://shop.oreilly.com/product/0636920022381.do

To comment or ask technical questions about this book, send email to:

For more information about our books, courses, conferences, and news, see our website at http://www.oreilly.com.

Find us on Facebook: http://facebook.com/oreilly

Follow us on Twitter: http://twitter.com/oreillymedia

Watch us on YouTube: http://www.youtube.com/oreillymedia

Chapter 1. Why Mongo?

One of the problems that led to the first dot-com crash was the huge expense of development, especially server software. A new and viable set of open source tools emerged from the ashes of the first dot-com and became the foundation for the next generation of the Internet. In the summer of 2001, a new acronym emerged; LAMPLinux, Apache, MySQL and PHPbecame the platform of choice for an entire generation of developers. And like that, PHP and MySQL were married (they were right next to each other, after all). The two seemed destined to go together forever.

The Problem of Objects and Relational Data Structures

There was only one problem. PHPwhich started as a templating languagematured and gradually embraced objects. PHP was being used in more complex applications and the language consistently changed to meet these ever-increasing demands. The practice of writing raw SQL queries in template files quickly became unacceptable (some say it was never acceptable). As the problems became more and more complex, tools were written to solve the constantly growing trouble of PHP using objects (or arrays) and MySQL (and the other relational databases) using tables, rows, and columns.

This isnt a problem specific to PHP. For decades, people have built tools and libraries to automate the process of translating objects to relational data structures. The most popular set is called Object Relational Mappers (ORMs). ORMs were built to solve the problem of SQL. Their sales pitch is: use an ORM because it masks all the nasty details of the datastore, so all you ever need to touch is your friendly PHP objects. Although tools emerged that did a reasonable job of making good on that promise, they never really worked perfectly. First, you always needed to remember that there was a relational database behind these objects that spoke in terms of tables, rows, and columns. Second, these ORMs came at a high cost. They added a lot of complexity and overhead to applications and persisted only a subset of SQLs features. As they developed, it quickly became the case that learning an ORM was far more time-consuming than learning SQL in the first place. It is sufficient to say that although the ORMs largely fixed the problems of SQL, they brought with them the problems of ORMs.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «MongoDB and PHP»

Look at similar books to MongoDB and PHP. 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 and PHP»

Discussion, reviews of the book MongoDB and PHP 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.