Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Rails Girls SG 2014 (Jun)

Winston
June 28, 2014

Rails Girls SG 2014 (Jun)

Slides for Rails Girls Singapore.

Winston

June 28, 2014
Tweet

More Decks by Winston

Other Decks in Technology

Transcript

  1. Singapore
    Rails Girls

    View Slide

  2. What’s Happening?
    0930 Registration + Breakfast
    1000 Welcome!
    1015 What is Ruby? What is Rails?
    1030 Let's tryruby.org
    1100 Introduction to Nitrous.io
    1115 Let's build a Rails app!
    1230 Lunch
    1330 Lightning Talks
    1400 Bento Box
    1430 Let's continue to build the Rails app!
    1600 Closing

    View Slide

  3. Sponsors
    TradeGecko
    ThoughtWorks
    IDA National Design Center
    Evernote General Assembly learn-rails.com
    Lunch
    Breakfast
    Supported By
    Venue

    View Slide

  4. Organisers
    Ruby Group • Geek Girls
    Singapore

    View Slide

  5. Winston
    @winstonyw

    View Slide

  6. Elisha
    @elishatan

    View Slide

  7. Coaches

    View Slide

  8. What’s Rails Girls?

    View Slide

  9. View Slide

  10. Started by
    Linda Liukas
    from Finland

    View Slide

  11. GET
    EXCITED
    AND
    MAKE
    THINGS
    WOMEN ABOUT TECHNOLOGY

    View Slide

  12. FROM CONCEPT TO CODE

    View Slide

  13. railsgirls.com/singapore

    View Slide

  14. Rails Girls Singapore 2011

    View Slide

  15. Rails Girls Singapore 2011

    View Slide

  16. Rails Girls Singapore 2011

    View Slide

  17. Rails Girls Singapore 2011

    View Slide

  18. Rails Girls Singapore 2011

    View Slide

  19. Rails Girls Singapore 2011

    View Slide

  20. Take Aways?

    View Slide

  21. See
    Learn
    Realize
    The Web as a platform for your ideas.
    Web Applications are not magic (but Rails is).
    You can code too!

    View Slide

  22. Guiding Principles
    HANDS ON
    MINDS ON
    SMALL GROUPS
    FOCUSED LEARNING

    View Slide

  23. What’s Happening?
    0930 Registration + Breakfast
    1000 Welcome!
    1015 What is Ruby? What is Rails?
    1030 Let's tryruby.org
    1100 Introduction to Nitrous.io
    1115 Let's build a Rails app!
    1230 Lunch
    1330 Lightning Talks
    1400 Bento Box
    1430 Let's continue to build the Rails app!
    1600 Closing

    View Slide

  24. What’s a Web App?

    View Slide

  25. Internet?
    Client Internet Server
    Browser
    Analogy: https://speakerdeck.com/therod/programming-1

    View Slide

  26. A Restaurant!
    You Waiter Chef
    Menu
    Analogy: https://speakerdeck.com/therod/programming-1

    View Slide

  27. In a Restaurant
    You tell the WAITER what you would like
    to eat (a DISH) by pointing on the MENU.
    !
    The WAITER delivers your request to the CHEF.
    !
    The CHEF prepares your DISH,
    and sends it back through the WAITER again.
    Analogy: https://speakerdeck.com/therod/programming-1

    View Slide

  28. Online
    You tell the INTERNET what you would like
    to see (a PAGE) by pointing in the BROWSER.
    !
    The INTERNET delivers your request to the SERVER.
    !
    The SERVER prepares your PAGE,
    and sends it back through the INTERNET again.
    Analogy: https://speakerdeck.com/therod/programming-1

    View Slide

  29. Internet?
    Client Internet Server
    Browser Web Apps
    Analogy: https://speakerdeck.com/therod/programming-1

    View Slide

  30. Web Apps
    act like…
    Chefs
    - Take requests
    - Do something with the requests
    - Send the results back
    Analogy: https://speakerdeck.com/therod/programming-1

    View Slide

  31. Creating a Web App

    View Slide

  32. Ruby

    View Slide

  33. Ruby Powered
    • Twitter
    • Groupon
    • Airbnb
    • Shopify
    • Hulu
    • Viki
    • Bloomberg
    • Slideshare
    • Basecamp
    • Zendesk
    • Friendster
    • Wego

    View Slide

  34. What’s Ruby?

    View Slide

  35. History of Ruby
    • Creator is Yukihiro “Matz” Matsumoto
    • Created in mid 1990s
    • Influenced by Perl, Smalltalk, Eiffel, Ada and Lisp
    • Coral vs. Ruby
    • Ruby 1.8 (2003), 1.9 (2007), 2.0, 2.1
    • Rails around 2005

    View Slide

  36. View Slide

  37. – Yukihiro “Matz” Matsumoto
    I hope to see Ruby help 

    every programmer in the world

    to be productive,
    to enjoy programming,
    and to be happy. 

    That is the primary purpose of Ruby language.

    View Slide

  38. Why Ruby?
    • Ruby is fun!
    • Ruby is productive!
    • Ruby is beginner friendly!
    • Ruby is elegant!
    • Ruby engineers are in demand!
    • Ruby community is amazing!

    View Slide

  39. What’s Rails?

    View Slide

  40. Ruby on Rails

    View Slide

  41. About Rails
    • Created by David Heinemeier Hansson (DHH)
    • Extracted from basecamp.com
    !
    • Built on Ruby (with more magic!)
    • MVC + Testing First
    • DRY
    • Convention Over Configuration

    View Slide

  42. Model-View-Controller
    HTML / CSS / JavaScript
    Logic
    Ruby / PHP / Python etc
    Database
    PostgreSQL, MySQL, Oracle etc
    Icons: http://www.thenounproject.com/anton.outkine

    View Slide

  43. Model-View-Controller
    View!
    HTML / CSS / JavaScript
    Controller!
    Logic
    Ruby / PHP / Python etc
    Model!
    Database
    PostgreSQL, MySQL, Oracle etc
    Icons: http://www.thenounproject.com/anton.outkine

    View Slide

  44. Questions?

    View Slide

  45. tryruby.org
    30min

    View Slide

  46. nitrous.io
    Lakshan Perera

    View Slide

  47. Let’s Build An App
    guides.railsgirls.com/app/

    View Slide

  48. What’s Happening?
    0930 Registration + Breakfast
    1000 Welcome!
    1015 What is Ruby? What is Rails?
    1030 Let's tryruby.org
    1100 Introduction to Nitrous.io
    1115 Let's build a Rails app!
    1230 Lunch
    1330 Lightning Talks
    1400 Bento Box
    1430 Let's continue to build the Rails app!
    1600 Closing

    View Slide

  49. Lightning Talks

    View Slide

  50. Bento Box

    View Slide

  51. Wrap Up

    View Slide

  52. Feedback

    View Slide

  53. What’s Next?

    View Slide

  54. – Steve Jobs
    I think everyone should learn 

    how to program a computer, 

    because it teaches you how to think. 

    I view computer science as a liberal art,
    something everyone should learn to do.

    View Slide

  55. View Slide

  56. Thank You

    View Slide