document
play

Document Markup Document Markup - Reveal Codes Wikipedia Uses - PowerPoint PPT Presentation

Document Markup Document Markup - Reveal Codes Wikipedia Uses Wikitext markup Example HTML HSRC Website markup HSRC Website markup XML One root element that is the parent of all other elements All elements must have open


  1. Document Markup

  2. Document Markup - Reveal Codes

  3. Wikipedia Uses Wikitext markup

  4. Example

  5. HTML

  6. HSRC Website markup

  7. HSRC Website markup

  8. XML • One root element that is the parent of all other elements • All elements must have open and close tag • Nesting represents parent child relationship

  9. Mobile Researcher (Mobenzi)

  10. JSON Format • Name/value pairs • Separated by commas • Curly braces hold objects • Square brackets hold arrays

  11. Relational Databases • Normalised • Tables • Joins • Access/MySQL/SQL Server, Postgres, …. • SELECT * from LineItem WHERE OrderID – 1234

  12. NoSQL (Document) Databases • DeNormalised • Not strongly typed • No joins • Sharding • Map-Reduce for queries • MongoDB

  13. Real Time Database • Cross Device Sync • Push not Pull • Offline Cache

  14. Key HTTP Methods

  15. APIs

  16. APIs

  17. APIs

  18. and more…. github.com/toddmotto/public-apis

  19. ARC https://chrome.google.com/webstore

  20. Practical Example S u n r i s e & S u n s e t a t y o u r h o m e

  21. GET Step 1. Use Google Maps API to reverse geocode your location

  22. http://sunrise-sunset.org/api Step 2. Use API to get sunrise and sunset from your lat and lon coordinates

  23. http://sunrise-sunset.org/api /json?lat=30.9989843&lng=-29.8371669 Step 2. Use API to get sunrise and sunset from your lat and lon coordinates

  24. Step 2. Use API to get sunrise and sunset from your lat and lon coordinates

Recommend


More recommend