Skip to Content
PHP编程:第4版
book

PHP编程:第4版

by Kevin Tatroe, Peter MacIntyre
January 2021
Intermediate to advanced
505 pages
9h 45m
Chinese
Publishing House of Electronics Industry
Content preview from PHP编程:第4版
238
9
数据库
MongoDB
我们要介绍的最后一种数据库类型是被称为
NoSQL
类型的数据库。
NoSQL
数据库人气
正旺,因为它们在系统资源上非常轻量,更重要的是,它们对外以典型的
SQL
命令结构
工作。正因为上面这两个原因,
NoSQL
数据库在平板电脑、智能手机等移动设备上越来
越流行。
NoSQL
数据库世界中的领跑者之一就是
MongoDB
,它是本章最后一节的焦点。在这里
我们将只触及
MongoDB
产品的表面,只是让你知道使用它能带来什么。本话题的更多
详细介绍,请参考
Steve Francia
编写的
MongoDB and PHP
一书(由
O
Reilly
出版)。
关于
MongoDB
你应该知道的第一件事是,它不是传统的数据库,它有自己的安装配置
和术语。对于传统数据库用户,适应它的工作方式会花费一些时间。表
9-3
给出了它和
标准
SQL
术语的对比。
9-3MongoDBSQL的对比
传统
SQL
术语
MongoDB
术语
数据库(
Database
数据库(
Database
数据表(
Table
集合(
Collection
数据行(
Row
文件。不相关,不像数据库的数据行(
Row
)。相反,被认为是
数组
很难在
MongoDB
范式中找到数据库行的等价物。据说其中一个最好的方法是,认为集
合中的数据像多维数组,很快会在我们的
library
数据库改进示例中发现这一点。
如果你只想在本地主机上尝试使用
MongoDB
(推荐,用来熟悉它),可以使用一体化的
工具,如
Zend Server CE
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

解密金融数据

解密金融数据

Justin Pauley
算法技术手册(原书第2 版)

算法技术手册(原书第2 版)

George T.Heineman, Gary Pollice, Stanley Selkow
Java持续交付

Java持续交付

Daniel Bryant, Abraham Marín-Pérez

Publisher Resources

ISBN: 9787121404634