ruby monstas
play

Ruby Monstas Session 19 Agenda Recap Networking: The Internet - PowerPoint PPT Presentation

Ruby Monstas Session 19 Agenda Recap Networking: The Internet HTTP: The foundation of the web Sinatra: Simple way to create web apps Exercises Recap RubyGems & Bundler What is RubyGems? What is Bundler? Rubygems & Bundler


  1. Ruby Monstas Session 19

  2. Agenda Recap Networking: The Internet HTTP: The foundation of the web Sinatra: Simple way to create web apps Exercises

  3. Recap

  4. RubyGems & Bundler What is RubyGems? What is Bundler?

  5. Rubygems & Bundler RubyGems: Ruby’s package manager Bundler: Ruby’s dependency manager

  6. Networking The Internet

  7. Networking

  8. Networking

  9. Networking Ethernet Wireless Fiber

  10. Networking: Benefits?

  11. Networking: Benefits - Simple and convenient way to transfer data - It’s cost efficient - Always available

  12. Networking: Tradeoff?

  13. Networking: Tradeoff - Unrestricted & unauthorised access WASN’T ME WASN’T ME

  14. Networking: The Internet

  15. Networking: The Internet Protocol (IP)

  16. Networking: The Internet Protocol (IP)

  17. Networking: The Internet Protocol (IP) HEADER Source: 192.168.1.1 Target: 192.168.1.31 Metadata DATA

  18. Networking: The Internet Protocol (IP)

  19. IP: Facts - Consistent way of communicating - Decoupled from manufactures - Regardless technology (cable, wireless, optical) - The standard for communication in networks

  20. HTTP: Evolution of the Internet

  21. HTTP: Evolution of the Internet Client Server

  22. HTTP: Computing model evolution Client Server Request Response

  23. HTTP: How it works Uniform Resource Locator Request Method Media Type

  24. HTTP: How it works

  25. HTTP: Uniform Resource Locator (URL) DOMAIN NAME RESOURCE rubymonstas.ch /curriculum

  26. HTTP: Method & Format REQUEST METHOD FORMAT GET .HTML

  27. HTTP: How it works

  28. HTTP Example

  29. Sinatra A quick way to create web applications in Ruby.

  30. Sinatra: Map routes to code Sinatra Request get '/' do 'Hello World' Response end

  31. Time to practice

  32. Resources https://en.wikipedia. org/wiki/Internet_Protocol https://en.wikipedia. org/wiki/Hypertext_Transfer_Protocol http://www.sinatrarb.com/intro.html

Recommend


More recommend