SlideShare a Scribd company logo
1 of 30
Download to read offline
Pengenalan MongoDB dan
  Penggunaanya Dalam Aplikasi PHP.

  Perjumpaan I : Kumpulan Minat Khusus Pangkalan Data Sektor Awam (DB SIG)
  Khamis 14 Jun 2012, Bilik Mesyuarat , Aras 6, MAMPU, MKN-Embassy Techzone, Jalan Teknokrat 2, 63000 , Cyberjaya




  Disampaikan Oleh : Syahman bin Mohamad (Wakil PESIMA)

Sabtu, 16 Jun 2012
?

Sabtu, 16 Jun 2012
MongoDB (dari kata “humongous”).

         “Scallable, high-performance, open
         source, schema-free, document-
         oriented database” mongodb.org


Sabtu, 16 Jun 2012
Cabang Pangkalan Data NoSQL.

                        NoSQL ?
      ● Not Only SQL
      ● Berbeza dengan RDBMS

      ● Tidak perlu skema

      ● Tidak menggunakan SQL untuk kuiri

      ● Simpan data guna konsep dokumen


Sabtu, 16 Jun 2012
Pangkalan Data Menggunakan Konsep/Teknologi NoSQL




                           sumber : nosql.findthebest.com



Sabtu, 16 Jun 2012
# Falsafah 1


   “One size fits all” approach no longer applies !




Sabtu, 16 Jun 2012
# Falsafah 2


   Non-relational DBs scale more easily, especially
   horizontally




Sabtu, 16 Jun 2012
# Falsafah 3


   Focus on speed, performance, flexibility and
   scalability (adapt to increased demands)




Sabtu, 16 Jun 2012
# Falsafah 4


   Not concerned with transactional stuff and
   relational semantics




Sabtu, 16 Jun 2012
# Falsafah 5


   DB should be an on-demand commodity, in a cloud
   like fashion




Sabtu, 16 Jun 2012
# Falsafah 6
  MongoDB tries to
  achieve
  the performance of
  traditional key-value
  stores while
  maintaining
  functionality of
  traditional RDBMS

Sabtu, 16 Jun 2012
Ciri-Ciri Penting MongoDB
●    Indexing

●    Schema-less + very flexible

●    Durability, solved with replication / failover
     support, or use journaling

●    Document Storage ( Using BSON Format-
     JSON Like Object ) - eg :
    ({“nama” : “Razali Bin Alias”, “umur” : 30, “jawatan” : “PPTM”})
Sabtu, 16 Jun 2012
Contoh : Format JSON




Sabtu, 16 Jun 2012
Kuiri Data ?


Sabtu, 16 Jun 2012
Kuiri Pangkalan Data MongoDB
+ berasaskan javascript


                      Sql -->   select * from pengguna;




   MongoDB noSql --> db.penguna.find()



 Sabtu, 16 Jun 2012
Pemahaman Konsep MongoDB




Sabtu, 16 Jun 2012
# Konsep : Data Berorientasi Dokumen
 ●   Dokumen-dokumen adalah objek/rekod
     pangkalan data

 ●   Menggunakan format JSON (dalam
     bentuk binari)

 ●   Boleh simpan pelbagai jenis maklumat bersama.


Sabtu, 16 Jun 2012
# Konsep : Contoh Dokumen MongoDB




Sabtu, 16 Jun 2012
# Pemetaan Konsep : RDBMS vs Mongo
           oracle,mysql         mongoDB
           tables,views        collections
          records, rows     json documents,
                                objects
                     join      embedded
                               document
         queries return     queries return a
          records (s)            cursor
             index               index
Sabtu, 16 Jun 2012
# Konsep : Kursor

●   Queries returns 'cursor' instead of collections

●   Allows to iterate through result set

●   Performance – Big reason to use cursor

●   Find() function returns a cursor object

Sabtu, 16 Jun 2012
Demo ?
      Aplikasi PHP : Pendaftaran Kehadiran Peserta DB-SIG




Sabtu, 16 Jun 2012
# Demo : Collection Design



                      Dokumen 1

                      Dokumen 2

                      Dokumen 3



                     Dokumen ..n..




Sabtu, 16 Jun 2012   PESERTA
# Demo : Application Goals




   (1) – peserta -daftar rekod
   peserta

                                           (2)- admin - papar rekod
                                 PESERTA   peserta




Sabtu, 16 Jun 2012
# Demo : Document Structure

              peserta = {
              nama: 'SYAHMAN BIN MOHAMAD',
              gred : 'F32',
              jabatan : 'JABATAN PENDAFTARAN NEGARA,PUTRAJAYA',
              email : 'syahman@jpn.gov.my',
              peranan : [
              'PENTADBIR/PENGURUS PANGKALAN DATA',
              'TEKNIKAL DAN OPERASI',
              'PEMBANGUNAN SISTEM',
              'PEMBANGUN PANGKALAN DATA'],
              ahli : 'PESIMA',
              alahan : 'MAKANAN LAUT' }


Sabtu, 16 Jun 2012
Aspek Keselamatan ?


Sabtu, 16 Jun 2012
MongoDB Security Features

 ●   Use trusted environment

 ●   Firewall rules

 ●   IP address binding / port binding

 ●   Secure mode ( --auth @ --keyFiles )

Sabtu, 16 Jun 2012
Advanced Topics


Sabtu, 16 Jun 2012
MongoDB Advanced Topic

 ●   Map/Reduce

 ●   Aggregation

 ●   Sharding

 ●   Replica Sets

Sabtu, 16 Jun 2012
Dokumentasi ?
            http://www.mongodb.org/display/DOCS/Home




Sabtu, 16 Jun 2012
Terima Kasih


Sabtu, 16 Jun 2012

More Related Content

Similar to Presentation mongodb public sector dbsig malaysia

Mongodb Training Tutorial in Bangalore
Mongodb Training Tutorial in BangaloreMongodb Training Tutorial in Bangalore
Mongodb Training Tutorial in Bangalorerajkamaltibacademy
 
Certified NoSQL MongoDB (CNA)
Certified NoSQL MongoDB (CNA)Certified NoSQL MongoDB (CNA)
Certified NoSQL MongoDB (CNA)GICTTraining
 
Kickstarting Your Mongo Education with MongoDB University
Kickstarting Your Mongo Education with MongoDB UniversityKickstarting Your Mongo Education with MongoDB University
Kickstarting Your Mongo Education with MongoDB UniversityJuan Carlos Farah
 
MongoDB by Emroz sardar.
MongoDB by Emroz sardar.MongoDB by Emroz sardar.
MongoDB by Emroz sardar.Emroz Sardar
 
mongodb-120401144140-phpapp01 claud camputing
mongodb-120401144140-phpapp01 claud camputingmongodb-120401144140-phpapp01 claud camputing
mongodb-120401144140-phpapp01 claud camputingmoeincanada007
 
Copy of MongoDB .pptx
Copy of MongoDB .pptxCopy of MongoDB .pptx
Copy of MongoDB .pptxnehabsairam
 
Fluentd loves MongoDB, at MongoDB SV User Group, July 17, 2012
Fluentd loves MongoDB, at MongoDB SV User Group, July 17, 2012Fluentd loves MongoDB, at MongoDB SV User Group, July 17, 2012
Fluentd loves MongoDB, at MongoDB SV User Group, July 17, 2012Treasure Data, Inc.
 
A Study on Mongodb Database.pdf
A Study on Mongodb Database.pdfA Study on Mongodb Database.pdf
A Study on Mongodb Database.pdfJessica Navarro
 
A Study on Mongodb Database
A Study on Mongodb DatabaseA Study on Mongodb Database
A Study on Mongodb DatabaseIJSRD
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDBRavi Teja
 
ORCID Outreach Meeting dev breakout session
ORCID Outreach Meeting dev breakout sessionORCID Outreach Meeting dev breakout session
ORCID Outreach Meeting dev breakout sessionGudmundur Thorisson
 
Yieldbot Tech Talk, Sept 20, 2012
Yieldbot Tech Talk, Sept 20, 2012Yieldbot Tech Talk, Sept 20, 2012
Yieldbot Tech Talk, Sept 20, 2012yieldbot
 

Similar to Presentation mongodb public sector dbsig malaysia (20)

Mongodb Training Tutorial in Bangalore
Mongodb Training Tutorial in BangaloreMongodb Training Tutorial in Bangalore
Mongodb Training Tutorial in Bangalore
 
MongoDB
MongoDBMongoDB
MongoDB
 
Certified NoSQL MongoDB (CNA)
Certified NoSQL MongoDB (CNA)Certified NoSQL MongoDB (CNA)
Certified NoSQL MongoDB (CNA)
 
Kickstarting Your Mongo Education with MongoDB University
Kickstarting Your Mongo Education with MongoDB UniversityKickstarting Your Mongo Education with MongoDB University
Kickstarting Your Mongo Education with MongoDB University
 
Mongo db operations_v2
Mongo db operations_v2Mongo db operations_v2
Mongo db operations_v2
 
Mongo bbmw
Mongo bbmwMongo bbmw
Mongo bbmw
 
MongoDB Schema Design Tips & Tricks
MongoDB Schema Design Tips & TricksMongoDB Schema Design Tips & Tricks
MongoDB Schema Design Tips & Tricks
 
Mongo db dhruba
Mongo db dhrubaMongo db dhruba
Mongo db dhruba
 
MongoDB by Emroz sardar.
MongoDB by Emroz sardar.MongoDB by Emroz sardar.
MongoDB by Emroz sardar.
 
mongodb-120401144140-phpapp01 claud camputing
mongodb-120401144140-phpapp01 claud camputingmongodb-120401144140-phpapp01 claud camputing
mongodb-120401144140-phpapp01 claud camputing
 
Introduction to mongodb
Introduction to mongodbIntroduction to mongodb
Introduction to mongodb
 
Copy of MongoDB .pptx
Copy of MongoDB .pptxCopy of MongoDB .pptx
Copy of MongoDB .pptx
 
Fluentd loves MongoDB, at MongoDB SV User Group, July 17, 2012
Fluentd loves MongoDB, at MongoDB SV User Group, July 17, 2012Fluentd loves MongoDB, at MongoDB SV User Group, July 17, 2012
Fluentd loves MongoDB, at MongoDB SV User Group, July 17, 2012
 
A Study on Mongodb Database.pdf
A Study on Mongodb Database.pdfA Study on Mongodb Database.pdf
A Study on Mongodb Database.pdf
 
A Study on Mongodb Database
A Study on Mongodb DatabaseA Study on Mongodb Database
A Study on Mongodb Database
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
ORCID Outreach Meeting dev breakout session
ORCID Outreach Meeting dev breakout sessionORCID Outreach Meeting dev breakout session
ORCID Outreach Meeting dev breakout session
 
MongoDB DOC v1.5
MongoDB DOC v1.5MongoDB DOC v1.5
MongoDB DOC v1.5
 
Yieldbot Tech Talk, Sept 20, 2012
Yieldbot Tech Talk, Sept 20, 2012Yieldbot Tech Talk, Sept 20, 2012
Yieldbot Tech Talk, Sept 20, 2012
 
MongoDB.pptx
MongoDB.pptxMongoDB.pptx
MongoDB.pptx
 

Recently uploaded

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 

Recently uploaded (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 

Presentation mongodb public sector dbsig malaysia

  • 1. Pengenalan MongoDB dan Penggunaanya Dalam Aplikasi PHP. Perjumpaan I : Kumpulan Minat Khusus Pangkalan Data Sektor Awam (DB SIG) Khamis 14 Jun 2012, Bilik Mesyuarat , Aras 6, MAMPU, MKN-Embassy Techzone, Jalan Teknokrat 2, 63000 , Cyberjaya Disampaikan Oleh : Syahman bin Mohamad (Wakil PESIMA) Sabtu, 16 Jun 2012
  • 3. MongoDB (dari kata “humongous”). “Scallable, high-performance, open source, schema-free, document- oriented database” mongodb.org Sabtu, 16 Jun 2012
  • 4. Cabang Pangkalan Data NoSQL. NoSQL ? ● Not Only SQL ● Berbeza dengan RDBMS ● Tidak perlu skema ● Tidak menggunakan SQL untuk kuiri ● Simpan data guna konsep dokumen Sabtu, 16 Jun 2012
  • 5. Pangkalan Data Menggunakan Konsep/Teknologi NoSQL sumber : nosql.findthebest.com Sabtu, 16 Jun 2012
  • 6. # Falsafah 1 “One size fits all” approach no longer applies ! Sabtu, 16 Jun 2012
  • 7. # Falsafah 2 Non-relational DBs scale more easily, especially horizontally Sabtu, 16 Jun 2012
  • 8. # Falsafah 3 Focus on speed, performance, flexibility and scalability (adapt to increased demands) Sabtu, 16 Jun 2012
  • 9. # Falsafah 4 Not concerned with transactional stuff and relational semantics Sabtu, 16 Jun 2012
  • 10. # Falsafah 5 DB should be an on-demand commodity, in a cloud like fashion Sabtu, 16 Jun 2012
  • 11. # Falsafah 6 MongoDB tries to achieve the performance of traditional key-value stores while maintaining functionality of traditional RDBMS Sabtu, 16 Jun 2012
  • 12. Ciri-Ciri Penting MongoDB ● Indexing ● Schema-less + very flexible ● Durability, solved with replication / failover support, or use journaling ● Document Storage ( Using BSON Format- JSON Like Object ) - eg : ({“nama” : “Razali Bin Alias”, “umur” : 30, “jawatan” : “PPTM”}) Sabtu, 16 Jun 2012
  • 13. Contoh : Format JSON Sabtu, 16 Jun 2012
  • 14. Kuiri Data ? Sabtu, 16 Jun 2012
  • 15. Kuiri Pangkalan Data MongoDB + berasaskan javascript Sql --> select * from pengguna; MongoDB noSql --> db.penguna.find() Sabtu, 16 Jun 2012
  • 17. # Konsep : Data Berorientasi Dokumen ● Dokumen-dokumen adalah objek/rekod pangkalan data ● Menggunakan format JSON (dalam bentuk binari) ● Boleh simpan pelbagai jenis maklumat bersama. Sabtu, 16 Jun 2012
  • 18. # Konsep : Contoh Dokumen MongoDB Sabtu, 16 Jun 2012
  • 19. # Pemetaan Konsep : RDBMS vs Mongo oracle,mysql mongoDB tables,views collections records, rows json documents, objects join embedded document queries return queries return a records (s) cursor index index Sabtu, 16 Jun 2012
  • 20. # Konsep : Kursor ● Queries returns 'cursor' instead of collections ● Allows to iterate through result set ● Performance – Big reason to use cursor ● Find() function returns a cursor object Sabtu, 16 Jun 2012
  • 21. Demo ? Aplikasi PHP : Pendaftaran Kehadiran Peserta DB-SIG Sabtu, 16 Jun 2012
  • 22. # Demo : Collection Design Dokumen 1 Dokumen 2 Dokumen 3 Dokumen ..n.. Sabtu, 16 Jun 2012 PESERTA
  • 23. # Demo : Application Goals (1) – peserta -daftar rekod peserta (2)- admin - papar rekod PESERTA peserta Sabtu, 16 Jun 2012
  • 24. # Demo : Document Structure peserta = { nama: 'SYAHMAN BIN MOHAMAD', gred : 'F32', jabatan : 'JABATAN PENDAFTARAN NEGARA,PUTRAJAYA', email : 'syahman@jpn.gov.my', peranan : [ 'PENTADBIR/PENGURUS PANGKALAN DATA', 'TEKNIKAL DAN OPERASI', 'PEMBANGUNAN SISTEM', 'PEMBANGUN PANGKALAN DATA'], ahli : 'PESIMA', alahan : 'MAKANAN LAUT' } Sabtu, 16 Jun 2012
  • 26. MongoDB Security Features ● Use trusted environment ● Firewall rules ● IP address binding / port binding ● Secure mode ( --auth @ --keyFiles ) Sabtu, 16 Jun 2012
  • 28. MongoDB Advanced Topic ● Map/Reduce ● Aggregation ● Sharding ● Replica Sets Sabtu, 16 Jun 2012
  • 29. Dokumentasi ? http://www.mongodb.org/display/DOCS/Home Sabtu, 16 Jun 2012