You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<div class="well see-also">MongoDB is an implementation of the <a href="/no-sql-datastore.html">NoSQL database</a> concept. Learn more in the <a href="/data.html">data</a> chapter or view the <a href="/table-of-contents.html">table of contents</a> for all topics.</div>
9264
9264
9265
-
<h3>Introduction to MongoDB tutorials</h3>
9266
-
<p>MongoDB is straightforward to use in a Python application when a driver
9267
-
such as PyMongo is installed. The following tutorials show how to install,
9268
-
configure and start using MongoDB with Python.</p>
9265
+
<h3>General MongoDB introductions</h3>
9266
+
<p>It is worth taking some time to learn the ins and outs of MongoDB before
9267
+
connecting it to your Python application. The following tutorials are
9268
+
not specific to Python and will have you work directly with the MongoDB
9269
+
command line and query language.</p>
9269
9270
<ul>
9270
9271
<li>
9271
-
<p><a href="https://realpython.com/blog/python/introduction-to-mongodb-and-python/">Introduction to MongoDB and Python</a>
9272
-
shows how to use Python to interface with MongoDB via PyMongo and MongoEngine.</p>
9272
+
<p><a href="https://code.tutsplus.com/tutorials/getting-started-with-mongodb-part-1--net-22879">Getting Started with MongoDB - Part 1</a>
are programming language agnostic tutorials that show how to interact
9276
+
via querying and various operators such as <code>$in</code>, <code>$lte</code> and <code>$gte</code>.</p>
9277
+
</li>
9278
+
<li>
9279
+
<p><a href="https://scotch.io/tutorials/an-introduction-to-mongodb">An Introduction to MongoDB</a>
9280
+
examines common commands frequently used to perform data operations.</p>
9273
9281
</li>
9274
9282
<li>
9275
9283
<p><a href="https://www.youtube.com/watch?list=PL1Z_7yg6Pa3AhqCOTQKm9X_Sl9xLdMKYo&v=pWbMrx5rVBE">MongoDB In 30 Minutes</a>
9276
9284
goes over the basics for creating, querying, updating and deleting data
9277
9285
in MongoDB.</p>
9278
9286
</li>
9279
9287
<li>
9280
-
<p>A <a href="http://altons.github.io/python/2013/01/21/gentle-introduction-to-mongodb-using-pymongo/">Gentle Introduction to MongoDB using Pymongo</a>
9281
-
reviews a connection configuration file, the basics for data insertion,
9282
-
aggregation and updating records.</p>
9288
+
<p><a href="https://blog.meteor.com/mongodb-queries-dont-always-return-all-matching-documents-654b6594a827">MongoDB queries do not always return all matching documents!</a>
9289
+
walks through discovering that potential pitfalls on how MongoDB queries
9290
+
operate that were non-intuitive to developers who are new to using this
9291
+
database.</p>
9283
9292
</li>
9284
9293
</ul>
9285
9294
<h3>MongoDB security</h3>
9295
+
<p>NoSQL databases can be a weak spot in a production deployment environment,
9296
+
especially when default settings are built for ease of development instead
9297
+
of proper access control. MongoDB is no exception with its loose default
9298
+
security controls so make sure to lock down your instances.</p>
9286
9299
<ul>
9287
9300
<li>
9288
-
<p><a href="https://medium.com/@shahinism/for-gods-sake-secure-your-mongo-redis-etc-4f310cf1bed2">For God’s sake, secure your Mongo/Redis/etc!</a>
9301
+
<p><a href="https://medium.com/@shahinism/for-gods-sake-secure-your-mongo-redis-etc-4f310cf1bed2">For God's sake, secure your Mongo/Redis/etc!</a>
9289
9302
explains the weak default security settings provided by many NoSQL
9290
9303
databases, including MongoDB. Make sure to automate locking down your
9291
9304
NoSQL databases just as you would any other component in your stack.</p>
9292
9305
</li>
9293
9306
<li>
9307
+
<p>Before deploying a MongoDB instance to production, be sure to go through
<p><a href="https://scalegrid.io/blog/10-tips-to-improve-your-mongodb-security/">10 tips to improve your MongoDB security</a>
9313
+
provides concrete steps to take such as disabling the REST interface
9314
+
and other default bits that can be exploited if you are not intentionally
9315
+
using them.</p>
9316
+
</li>
9317
+
<li>
9294
9318
<p><a href="https://www.mongodb.com/blog/post/mongodb-security-basics-for-your-deployments-in">MongoDB Security Basics For Your Deployments in AWS</a>
9295
9319
is primarily a guide on AWS security from the perspective of using
9296
9320
installing and using MongoDB on your own instance. The post covers
9297
9321
authentication, SSL and firewalls.</p>
9298
9322
</li>
9299
9323
</ul>
9300
-
<h3>Specific MongoDB resources</h3>
9324
+
<h3>Python with MongoDB resources</h3>
9325
+
<p>MongoDB is straightforward to use in a Python application when a driver
9326
+
such as PyMongo is installed. The following tutorials show how to install,
9327
+
configure and start using MongoDB with Python.</p>
9301
9328
<ul>
9302
9329
<li>
9330
+
<p><a href="https://realpython.com/blog/python/introduction-to-mongodb-and-python/">Introduction to MongoDB and Python</a>
9331
+
shows how to use Python to interface with MongoDB via PyMongo and
9332
+
MongoEngine.</p>
9333
+
</li>
9334
+
<li>
9335
+
<p>A <a href="http://altons.github.io/python/2013/01/21/gentle-introduction-to-mongodb-using-pymongo/">Gentle Introduction to MongoDB using Pymongo</a>
9336
+
reviews a connection configuration file, the basics for data insertion,
<p><a href="https://blog.meteor.com/mongodb-queries-dont-always-return-all-matching-documents-654b6594a827">MongoDB queries do not always return all matching documents!</a>
9315
-
walks through discovering that potential pitfalls on how MongoDB queries
9316
-
operate that were non-intuitive to some developers.</p>
9317
-
</li>
9318
-
<li>
9319
9351
<p><a href="https://talkpython.fm/episodes/show/2/python-and-mongodb">Python and MongoDB</a>
9320
9352
on the Talk Python to Me podcast has a great interview with the
<divclass="well see-also">MongoDB is an implementation of the <ahref="/no-sql-datastore.html">NoSQL database</a> concept. Learn more in the <ahref="/data.html">data</a> chapter or view the <ahref="/table-of-contents.html">table of contents</a> for all topics.</div>
45
45
46
-
<h3>Introduction to MongoDB tutorials</h3>
47
-
<p>MongoDB is straightforward to use in a Python application when a driver
48
-
such as PyMongo is installed. The following tutorials show how to install,
49
-
configure and start using MongoDB with Python.</p>
46
+
<h3>General MongoDB introductions</h3>
47
+
<p>It is worth taking some time to learn the ins and outs of MongoDB before
48
+
connecting it to your Python application. The following tutorials are
49
+
not specific to Python and will have you work directly with the MongoDB
50
+
command line and query language.</p>
50
51
<ul>
51
52
<li>
52
-
<p><ahref="https://realpython.com/blog/python/introduction-to-mongodb-and-python/">Introduction to MongoDB and Python</a>
53
-
shows how to use Python to interface with MongoDB via PyMongo and MongoEngine.</p>
53
+
<p><ahref="https://code.tutsplus.com/tutorials/getting-started-with-mongodb-part-1--net-22879">Getting Started with MongoDB - Part 1</a>
are programming language agnostic tutorials that show how to interact
57
+
via querying and various operators such as <code>$in</code>, <code>$lte</code> and <code>$gte</code>.</p>
58
+
</li>
59
+
<li>
60
+
<p><ahref="https://scotch.io/tutorials/an-introduction-to-mongodb">An Introduction to MongoDB</a>
61
+
examines common commands frequently used to perform data operations.</p>
54
62
</li>
55
63
<li>
56
64
<p><ahref="https://www.youtube.com/watch?list=PL1Z_7yg6Pa3AhqCOTQKm9X_Sl9xLdMKYo&v=pWbMrx5rVBE">MongoDB In 30 Minutes</a>
57
65
goes over the basics for creating, querying, updating and deleting data
58
66
in MongoDB.</p>
59
67
</li>
60
68
<li>
61
-
<p>A <ahref="http://altons.github.io/python/2013/01/21/gentle-introduction-to-mongodb-using-pymongo/">Gentle Introduction to MongoDB using Pymongo</a>
62
-
reviews a connection configuration file, the basics for data insertion,
63
-
aggregation and updating records.</p>
69
+
<p><ahref="https://blog.meteor.com/mongodb-queries-dont-always-return-all-matching-documents-654b6594a827">MongoDB queries do not always return all matching documents!</a>
70
+
walks through discovering that potential pitfalls on how MongoDB queries
71
+
operate that were non-intuitive to developers who are new to using this
72
+
database.</p>
64
73
</li>
65
74
</ul>
66
75
<h3>MongoDB security</h3>
76
+
<p>NoSQL databases can be a weak spot in a production deployment environment,
77
+
especially when default settings are built for ease of development instead
78
+
of proper access control. MongoDB is no exception with its loose default
79
+
security controls so make sure to lock down your instances.</p>
67
80
<ul>
68
81
<li>
69
-
<p><ahref="https://medium.com/@shahinism/for-gods-sake-secure-your-mongo-redis-etc-4f310cf1bed2">For God’s sake, secure your Mongo/Redis/etc!</a>
82
+
<p><ahref="https://medium.com/@shahinism/for-gods-sake-secure-your-mongo-redis-etc-4f310cf1bed2">For God's sake, secure your Mongo/Redis/etc!</a>
70
83
explains the weak default security settings provided by many NoSQL
71
84
databases, including MongoDB. Make sure to automate locking down your
72
85
NoSQL databases just as you would any other component in your stack.</p>
73
86
</li>
74
87
<li>
88
+
<p>Before deploying a MongoDB instance to production, be sure to go through
<p><ahref="https://blog.meteor.com/mongodb-queries-dont-always-return-all-matching-documents-654b6594a827">MongoDB queries do not always return all matching documents!</a>
96
-
walks through discovering that potential pitfalls on how MongoDB queries
97
-
operate that were non-intuitive to some developers.</p>
98
-
</li>
99
-
<li>
100
132
<p><ahref="https://talkpython.fm/episodes/show/2/python-and-mongodb">Python and MongoDB</a>
101
133
on the Talk Python to Me podcast has a great interview with the
Copy file name to clipboardExpand all lines: source/content/pages/09-data/14-mongodb.markdown
+46-17Lines changed: 46 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,36 +17,70 @@ storing, querying and analyzing persistence data in Python applications.
17
17
<divclass="well see-also">MongoDB is an implementation of the <ahref="/no-sql-datastore.html">NoSQL database</a> concept. Learn more in the <ahref="/data.html">data</a> chapter or view the <ahref="/table-of-contents.html">table of contents</a> for all topics.</div>
18
18
19
19
20
-
### Introduction to MongoDB tutorials
21
-
MongoDB is straightforward to use in a Python application when a driver
22
-
such as PyMongo is installed. The following tutorials show how to install,
23
-
configure and start using MongoDB with Python.
20
+
### General MongoDB introductions
21
+
It is worth taking some time to learn the ins and outs of MongoDB before
22
+
connecting it to your Python application. The following tutorials are
23
+
not specific to Python and will have you work directly with the MongoDB
24
+
command line and query language.
24
25
25
-
*[Introduction to MongoDB and Python](https://realpython.com/blog/python/introduction-to-mongodb-and-python/)
26
-
shows how to use Python to interface with MongoDB via PyMongo and MongoEngine.
26
+
*[Getting Started with MongoDB - Part 1](https://code.tutsplus.com/tutorials/getting-started-with-mongodb-part-1--net-22879)
are programming language agnostic tutorials that show how to interact
30
+
via querying and various operators such as `$in`, `$lte` and `$gte`.
31
+
32
+
*[An Introduction to MongoDB](https://scotch.io/tutorials/an-introduction-to-mongodb)
33
+
examines common commands frequently used to perform data operations.
27
34
28
35
*[MongoDB In 30 Minutes](https://www.youtube.com/watch?list=PL1Z_7yg6Pa3AhqCOTQKm9X_Sl9xLdMKYo&v=pWbMrx5rVBE)
29
36
goes over the basics for creating, querying, updating and deleting data
30
37
in MongoDB.
31
38
32
-
* A [Gentle Introduction to MongoDB using Pymongo](http://altons.github.io/python/2013/01/21/gentle-introduction-to-mongodb-using-pymongo/)
33
-
reviews a connection configuration file, the basics for data insertion,
34
-
aggregation and updating records.
39
+
*[MongoDB queries do not always return all matching documents!](https://blog.meteor.com/mongodb-queries-dont-always-return-all-matching-documents-654b6594a827)
40
+
walks through discovering that potential pitfalls on how MongoDB queries
41
+
operate that were non-intuitive to developers who are new to using this
42
+
database.
35
43
36
44
37
45
### MongoDB security
38
-
*[For God’s sake, secure your Mongo/Redis/etc!](https://medium.com/@shahinism/for-gods-sake-secure-your-mongo-redis-etc-4f310cf1bed2)
46
+
NoSQL databases can be a weak spot in a production deployment environment,
47
+
especially when default settings are built for ease of development instead
48
+
of proper access control. MongoDB is no exception with its loose default
49
+
security controls so make sure to lock down your instances.
50
+
51
+
*[For God's sake, secure your Mongo/Redis/etc!](https://medium.com/@shahinism/for-gods-sake-secure-your-mongo-redis-etc-4f310cf1bed2)
39
52
explains the weak default security settings provided by many NoSQL
40
53
databases, including MongoDB. Make sure to automate locking down your
41
54
NoSQL databases just as you would any other component in your stack.
42
55
56
+
* Before deploying a MongoDB instance to production, be sure to go through
*[MongoDB queries do not always return all matching documents!](https://blog.meteor.com/mongodb-queries-dont-always-return-all-matching-documents-654b6594a827)
60
-
walks through discovering that potential pitfalls on how MongoDB queries
61
-
operate that were non-intuitive to some developers.
62
-
63
93
*[Python and MongoDB](https://talkpython.fm/episodes/show/2/python-and-mongodb)
64
94
on the Talk Python to Me podcast has a great interview with the
0 commit comments