11. @dwursteisen | @karesti | @tgrall#DevoxxMongoDB
Ce que nous allons voir
•Installation
•CRUD
•Recherche Full Text
•Requêtes Geospatiales
•Aggregation Framework
12. @dwursteisen | @karesti | @tgrall#DevoxxMongoDB
Ce que nous ne verrons pas
•Haute Disponibilité / Réplication
•Sharding
•Administration
•Management/Monitoring
•Sauvegarde/Restauration
•Sécurité
15. @dwursteisen | @karesti | @tgrall#DevoxxMongoDB
Etape 1 : Atelier
•Copier le contenu de la clé sur votre disque
•Ouvrir:
•/devoxx-2014/tutorial.html
•Suivre les étapes de l’atelier
!
!
•Note: toutes les sources sont disponibles sur GitHub
•https://github.com/dwursteisen/atelier-mongodb-devoxx
16. @dwursteisen | @karesti | @tgrall#DevoxxMongoDB
Etape 2 : Installation
$ tar -xvf mongodb-osx-x86_64-2.6.0.tgz!
$ cd mongodb-osx-x86_64-2.6.0/bin!
$ mkdir –p /data/db!
$ ./mongod
17. @dwursteisen | @karesti | @tgrall#DevoxxMongoDB
Etape 2 : Tester
:~ $ mongo!
MongoDB shell version: 2.6.0!
connecting to: test!
> db.test.insert({text: 'Welcome to MongoDB'})!
> db.test.find().pretty()!
{!
! "_id" : ObjectId("51c34130fbd5d7261b4cdb55"),!
! "text" : "Welcome to MongoDB"!
}
18. @dwursteisen | @karesti | @tgrall#DevoxxMongoDB
Etape 3: Découvrir et Coder
•Suivre l’atelier
•Créer des Services REST
•Les Consommer dans une application