
MongoDB is a NoSQL, open-source document database. It stores data in a type of JSON format called BSON.
A record in MongoDB is a document: a data structure composed of key-value pairs similar to the structure of JSON objects. A table in MongoDB is a collection (of documents).
If you are unfamiliar with JSON, check out the W3schools JSON tutorial.
“Hello World!” with “PHP & MongoDB
References:
- W3Schools Online Web Tutorials, W3Schools.com (no date) MongoDB Tutorial. Available at: https://www.w3schools.com/mongodb/ (Accessed: 23 June 2024).
- W3Schools Online Web Tutorials, W3Schools.com (no date) JavaScript JSON. Available at: https://www.w3schools.com/js/js_json.asp (Accessed: 27 September 2024).