Ruby and Rails for womens

6,769 views

Published on

Palestra realizada no Rails Girls Belém no dia 10 de Novembro de 2012

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
6,769
On SlideShare
0
From Embeds
0
Number of Embeds
4,548
Actions
Shares
0
Downloads
4
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Ruby and Rails for womens

  1. 1. Ruby and Rails for womens railsgirls.com/belem@luizsanxes
  2. 2. Malala Yusafzai
  3. 3. programming languages
  4. 4. synchronous and asynchronous
  5. 5. think different
  6. 6. Ada Lovelace
  7. 7. Ruby language1995, Japan, Yukihiro "Matz"Matsumoto.Interpreted, object-oriented andpeople.Inspired by: Python, Perl, Smalltalk,Eiffel, Ada and Lisp.
  8. 8. result.rb$ ruby result.rbJullys code is 100% complete
  9. 9. duck_typing.rb$ ruby duck_typing.rb9grapes and apples; grapes and apples;
  10. 10. object
  11. 11. class
  12. 12. fruit.rb$ ruby fruit.rbBenefits of banana: acts on the vision, skin and mucous
  13. 13. Interactive Ruby Shell
  14. 14. Ruby Gemsgem install railsgem listgem uninstall haml
  15. 15. web applications
  16. 16. Ruby on Rails2004, EUA, David HeinemeierHansson.Convention over ConfigurationDont Repeat YourselfModel-View-Controller
  17. 17. meta framework Web Layer ActionController Tests/Specs ORM Test::Unit ActiveRecord HTTP Client Templating Erb railties ActiveResource Web Server Mongrelslideshare.net/adamwiggins/rails-metal-rack-and-sinatra
  18. 18. sites oriented databaseCreateReadUpdateDelete
  19. 19. Model, View and Controller
  20. 20. creating a project$ rails new market$ cd market
  21. 21. creating a crud$ rails generate scaffold productname:string value:decimalunit:string
  22. 22. Model
  23. 23. View
  24. 24. Controller
  25. 25. creating a data structure$ rake db:create$ rake db:migrate
  26. 26. executing the application$ rails server
  27. 27. show me the code
  28. 28. ReferencesPortuguese> aprendaaprogramar.rubyonrails.pro.br> eustaquiorangel.com/tutorial-ruby> why.nomedojogo.com> caelum.com.br/apostila-ruby-on-railsEnglish> sapphiresteel.com/The-Book-Of-Ruby> guides.rubyonrails.org> github.com/bryanbibat/rails-3_0-tutorial
  29. 29. thanks@tasafo@guru_pa

×