Share
Embed
Transcript
196 slides
-
PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY LEARN ENGLISH ▸
There is no excuses -
PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY LEARN ENGLISH ▸
There is no excuses ▸ Read, write and listen at least -
PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY LEARN ENGLISH ▸
There is no excuses ▸ Read, write and listen at least ▸ If it is possible learn how to speak -
PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY HISTORY ▸ Ruby
was created by a Japanese, named Yukihiro Matsumoto -
PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY HISTORY ▸ Ruby
was created by a Japanese, named Yukihiro Matsumoto ▸ AKA: "Matz" -
PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY HISTORY ▸ Ruby
was created by a Japanese, named Yukihiro Matsumoto ▸ AKA: "Matz" ▸ First release in 1995 -
PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY HISTORY ▸ Ruby
was created by a Japanese, named Yukihiro Matsumoto ▸ AKA: "Matz" ▸ First release in 1995 ▸ Ruby is relatively old, officially it is 20 years old -
PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY HISTORY ▸ Ruby
was created by a Japanese, named Yukihiro Matsumoto ▸ AKA: "Matz" ▸ First release in 1995 ▸ Ruby is relatively old, officially it is 20 years old ▸ The main reason, was that Matz always wanted to work with a truly object oriented language -
PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY HISTORY ▸ Ruby
was an underground programming language until mid 2000’s -
PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY HISTORY ▸ Ruby
was an underground programming language until mid 2000’s ▸ The milestone for Ruby popularity was the web framework Ruby on Rails -
PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY HISTORY ▸ Ruby
was an underground programming language until mid 2000’s ▸ The milestone for Ruby popularity was the web framework Ruby on Rails ▸ So, until 2005 almost nobody was coding in Ruby -
TOPICS - WHAT A GOOD RUBY PROGRAMMER SHOULD KNOW PASSOS
PARA SE TORNAR UM PROGRAMADOR RUBY -
TOPICS - WHAT A GOOD RUBY PROGRAMMER SHOULD KNOW ▸
Methodologies PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
TOPICS - WHAT A GOOD RUBY PROGRAMMER SHOULD KNOW ▸
Methodologies ▸ The Environment PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
TOPICS - WHAT A GOOD RUBY PROGRAMMER SHOULD KNOW ▸
Methodologies ▸ The Environment ▸ Best Practices PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
TOPICS - WHAT A GOOD RUBY PROGRAMMER SHOULD KNOW ▸
Methodologies ▸ The Environment ▸ Best Practices ▸ Tools PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
TOPICS - WHAT A GOOD RUBY PROGRAMMER SHOULD KNOW ▸
Methodologies ▸ The Environment ▸ Best Practices ▸ Tools ▸ Testing PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
TOPICS - WHAT A GOOD RUBY PROGRAMMER SHOULD KNOW ▸
Methodologies ▸ The Environment ▸ Best Practices ▸ Tools ▸ Testing ▸ Databases, who cares? PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
TOPICS - WHAT A GOOD RUBY PROGRAMMER SHOULD KNOW ▸
Methodologies ▸ The Environment ▸ Best Practices ▸ Tools ▸ Testing ▸ Databases, who cares? ▸ The Web PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
METHODOLOGIES ▸ AGILE MANIFESTO ▸ Individuals and interactions over processes
and tools PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
METHODOLOGIES ▸ AGILE MANIFESTO ▸ Individuals and interactions over processes
and tools ▸ Working software over comprehensive documentation PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
METHODOLOGIES ▸ AGILE MANIFESTO ▸ Individuals and interactions over processes
and tools ▸ Working software over comprehensive documentation ▸ Customer collaboration over contract negotiation PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
METHODOLOGIES ▸ AGILE MANIFESTO ▸ Individuals and interactions over processes
and tools ▸ Working software over comprehensive documentation ▸ Customer collaboration over contract negotiation ▸ Responding to change over following a plan PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
METHODOLOGIES ▸ It is important PASSOS PARA SE TORNAR UM
PROGRAMADOR RUBY -
METHODOLOGIES ▸ It is important ▸ Learn at least a
bit of all of them PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
METHODOLOGIES ▸ It is important ▸ Learn at least a
bit of all of them ▸ XP (Extreme Programming) PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
METHODOLOGIES ▸ It is important ▸ Learn at least a
bit of all of them ▸ XP (Extreme Programming) ▸ SCRUM PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
METHODOLOGIES ▸ It is important ▸ Learn at least a
bit of all of them ▸ XP (Extreme Programming) ▸ SCRUM ▸ LEAN Software Development PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
METHODOLOGIES ▸ It is important ▸ Learn at least a
bit of all of them ▸ XP (Extreme Programming) ▸ SCRUM ▸ LEAN Software Development ▸ Kanban PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
METHODOLOGIES ▸ It is important ▸ Learn at least a
bit of all of them ▸ XP (Extreme Programming) ▸ SCRUM ▸ LEAN Software Development ▸ Kanban ▸ Waterfall (just skip it, you probably know it) PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
METHODOLOGIES ▸ AGILE MANIFESTO ▸ Individuals and interactions over processes
and tools PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
METHODOLOGIES ▸ AGILE MANIFESTO ▸ Individuals and interactions over processes
and tools ▸ Working software over comprehensive documentation PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
METHODOLOGIES ▸ AGILE MANIFESTO ▸ Individuals and interactions over processes
and tools ▸ Working software over comprehensive documentation ▸ Customer collaboration over contract negotiation PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
METHODOLOGIES ▸ AGILE MANIFESTO ▸ Individuals and interactions over processes
and tools ▸ Working software over comprehensive documentation ▸ Customer collaboration over contract negotiation ▸ Responding to change over following a plan PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
ENVIRONMENT ▸ IDEs ▸ Rubymine - https://www.jetbrains.com/ruby/ PASSOS PARA SE
TORNAR UM PROGRAMADOR RUBY -
ENVIRONMENT ▸ IDEs ▸ Rubymine - https://www.jetbrains.com/ruby/ ▸ Aptana -
http://www.aptana.com/ PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
ENVIRONMENT ▸ IDEs ▸ Rubymine - https://www.jetbrains.com/ruby/ ▸ Aptana -
http://www.aptana.com/ ▸ UNIX + Text Editor PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
ENVIRONMENT ▸ Terminal is important PASSOS PARA SE TORNAR UM
PROGRAMADOR RUBY -
ENVIRONMENT ▸ Terminal is important ▸ Learn shell commands, preferably
beyond the basics PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
ENVIRONMENT ▸ Terminal is important ▸ Learn shell commands, preferably
beyond the basics ▸ Ruby systems, and Rails apps integrate with UNIX tools such as: PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
ENVIRONMENT ▸ Terminal is important ▸ Learn shell commands, preferably
beyond the basics ▸ Ruby systems, and Rails apps integrate with UNIX tools such as: ▸ ImageMagick PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
ENVIRONMENT ▸ Terminal is important ▸ Learn shell commands, preferably
beyond the basics ▸ Ruby systems, and Rails apps integrate with UNIX tools such as: ▸ ImageMagick ▸ PDFtk PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
ENVIRONMENT ▸ Terminal is important ▸ Learn shell commands, preferably
beyond the basics ▸ Ruby systems, and Rails apps integrate with UNIX tools such as: ▸ ImageMagick ▸ PDFtk ▸ Or anything you can run on your shell PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
ENVIRONMENT ▸ Keep with your Windows, if you really want,
but learn about those guys PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
ENVIRONMENT ▸ Keep with your Windows, if you really want,
but learn about those guys ▸ Vagrant - https://www.vagrantup.com/ PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
ENVIRONMENT ▸ Keep with your Windows, if you really want,
but learn about those guys ▸ Vagrant - https://www.vagrantup.com/ ▸ Docker - https://www.docker.com/ PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
ENVIRONMENT ▸ Keep with your Windows, if you really want,
but learn about those guys ▸ Vagrant - https://www.vagrantup.com/ ▸ Docker - https://www.docker.com/ ▸ On Linux and OSX PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
ENVIRONMENT ▸ Keep with your Windows, if you really want,
but learn about those guys ▸ Vagrant - https://www.vagrantup.com/ ▸ Docker - https://www.docker.com/ ▸ On Linux and OSX ▸ Check it out azk (azuki) - http://www.azk.io/ PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
ENVIRONMENT ▸ Keep with your Windows, if you really want,
but learn about those guys ▸ Vagrant - https://www.vagrantup.com/ ▸ Docker - https://www.docker.com/ ▸ On Linux and OSX ▸ Check it out azk (azuki) - http://www.azk.io/ PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY ! -
BEST PRACTICES ▸ Ruby community is very opinionated about code
style PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES ▸ Ruby community is very opinionated about code
style ▸ Tests are mandatory, but why? PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES ▸ Ruby community is very opinionated about code
style ▸ Tests are mandatory, but why? ▸ For the sake of documentation PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES ▸ Ruby community is very opinionated about code
style ▸ Tests are mandatory, but why? ▸ For the sake of documentation ▸ Ruby versions are not backward compatible PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES ▸ Ruby community is very opinionated about code
style ▸ Tests are mandatory, but why? ▸ For the sake of documentation ▸ Ruby versions are not backward compatible ▸ It helps you and other understand classes and methods PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES ▸ Ruby community is very opinionated about code
style ▸ Tests are mandatory, but why? ▸ For the sake of documentation ▸ Ruby versions are not backward compatible ▸ It helps you and other understand classes and methods ▸ Bundler PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES ▸ Ruby community is very opinionated about code
style ▸ Tests are mandatory, but why? ▸ For the sake of documentation ▸ Ruby versions are not backward compatible ▸ It helps you and other understand classes and methods ▸ Bundler ▸ Gemfile and his .lock PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
“PROGRAMS ARE MEANT TO BE READ BY HUMANS AND ONLY
INCIDENTALLY FOR COMPUTERS TO EXECUTE.” — H. Abelson and G. Sussman PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - CODE STYLE PASSOS PARA SE TORNAR UM
PROGRAMADOR RUBY -
BEST PRACTICES - CODE STYLE ▸ Spaces VS Tabs PASSOS
PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - CODE STYLE ▸ Spaces VS Tabs ▸
Soft Tabs with 2 spaces - No Hard Tabs PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - CODE STYLE ▸ Spaces VS Tabs ▸
Soft Tabs with 2 spaces - No Hard Tabs ▸ Classes use CamelCase PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - CODE STYLE ▸ Spaces VS Tabs ▸
Soft Tabs with 2 spaces - No Hard Tabs ▸ Classes use CamelCase ▸ Methods and variables snake_case PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - CODE STYLE ▸ Spaces VS Tabs ▸
Soft Tabs with 2 spaces - No Hard Tabs ▸ Classes use CamelCase ▸ Methods and variables snake_case ▸ Constants SCREAMING_SNAKE_CASE PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - CODE STYLE ▸ Spaces VS Tabs ▸
Soft Tabs with 2 spaces - No Hard Tabs ▸ Classes use CamelCase ▸ Methods and variables snake_case ▸ Constants SCREAMING_SNAKE_CASE ▸ boolean_methods? PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - CODE STYLE ▸ Spaces VS Tabs ▸
Soft Tabs with 2 spaces - No Hard Tabs ▸ Classes use CamelCase ▸ Methods and variables snake_case ▸ Constants SCREAMING_SNAKE_CASE ▸ boolean_methods? ▸ bang_methods! PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
∴ one = 1 ~/awesome-ruby-project ∴ ∴ irb ∴ irb(main):001:0>
∴ => 1 irb(main):002:0> -
∴ one = 1 ~/awesome-ruby-project ∴ ∴ irb ∴ irb(main):001:0>
∴ => 1 irb(main):002:0> ∴ one.odd? -
∴ one = 1 ~/awesome-ruby-project ∴ ∴ irb ∴ irb(main):001:0>
∴ => 1 irb(main):002:0> ∴ one.odd? ∴ => true irb(main):003:0> -
∴ one = 1 ~/awesome-ruby-project ∴ ∴ irb ∴ irb(main):001:0>
∴ => 1 irb(main):002:0> ∴ one.odd? ∴ => true irb(main):003:0> ∴ one.even? -
∴ one = 1 ~/awesome-ruby-project ∴ ∴ irb ∴ irb(main):001:0>
∴ => 1 irb(main):002:0> ∴ one.odd? ∴ => true irb(main):003:0> ∴ one.even? ∴ => false irb(main):004:0> -
∴ one = 1 ~/awesome-ruby-project ∴ ∴ irb ∴ irb(main):001:0>
∴ => 1 irb(main):002:0> ∴ one.odd? ∴ => true irb(main):003:0> ∴ one.even? ∴ => false irb(main):004:0> ∴ rails = 'is omakase' -
∴ one = 1 ~/awesome-ruby-project ∴ ∴ irb ∴ irb(main):001:0>
∴ => 1 irb(main):002:0> ∴ one.odd? ∴ => true irb(main):003:0> ∴ one.even? ∴ => false irb(main):004:0> ∴ rails = 'is omakase' ∴ => "is omakase" irb(main):005:0> -
∴ one = 1 ~/awesome-ruby-project ∴ ∴ irb ∴ irb(main):001:0>
∴ => 1 irb(main):002:0> ∴ one.odd? ∴ => true irb(main):003:0> ∴ one.even? ∴ => false irb(main):004:0> ∴ rails = 'is omakase' ∴ => "is omakase" irb(main):005:0> ∴ rails.chop -
∴ one = 1 ~/awesome-ruby-project ∴ ∴ irb ∴ irb(main):001:0>
∴ => 1 irb(main):002:0> ∴ one.odd? ∴ => true irb(main):003:0> ∴ one.even? ∴ => false irb(main):004:0> ∴ rails = 'is omakase' ∴ => "is omakase" irb(main):005:0> ∴ rails.chop ∴ => "is omakas" irb(main):006:0> -
∴ one = 1 ~/awesome-ruby-project ∴ ∴ irb ∴ irb(main):001:0>
∴ => 1 irb(main):002:0> ∴ one.odd? ∴ => true irb(main):003:0> ∴ one.even? ∴ => false irb(main):004:0> ∴ rails = 'is omakase' ∴ => "is omakase" irb(main):005:0> ∴ rails.chop ∴ => "is omakas" irb(main):006:0> ∴ rails -
∴ one = 1 ~/awesome-ruby-project ∴ ∴ irb ∴ irb(main):001:0>
∴ => 1 irb(main):002:0> ∴ one.odd? ∴ => true irb(main):003:0> ∴ one.even? ∴ => false irb(main):004:0> ∴ rails = 'is omakase' ∴ => "is omakase" irb(main):005:0> ∴ rails.chop ∴ => "is omakas" irb(main):006:0> ∴ rails ∴ => "is omakase" irb(main):007:0> -
∴ one = 1 ~/awesome-ruby-project ∴ ∴ irb ∴ irb(main):001:0>
∴ => 1 irb(main):002:0> ∴ one.odd? ∴ => true irb(main):003:0> ∴ one.even? ∴ => false irb(main):004:0> ∴ rails = 'is omakase' ∴ => "is omakase" irb(main):005:0> ∴ rails.chop ∴ => "is omakas" irb(main):006:0> ∴ rails ∴ => "is omakase" irb(main):007:0> ∴ rails.chop! -
∴ one = 1 ~/awesome-ruby-project ∴ ∴ irb ∴ irb(main):001:0>
∴ => 1 irb(main):002:0> ∴ one.odd? ∴ => true irb(main):003:0> ∴ one.even? ∴ => false irb(main):004:0> ∴ rails = 'is omakase' ∴ => "is omakase" irb(main):005:0> ∴ rails.chop ∴ => "is omakas" irb(main):006:0> ∴ rails ∴ => "is omakase" irb(main):007:0> ∴ rails.chop! ∴ => "is omakas" irb(main):008:0> -
∴ one = 1 ~/awesome-ruby-project ∴ ∴ irb ∴ irb(main):001:0>
∴ => 1 irb(main):002:0> ∴ one.odd? ∴ => true irb(main):003:0> ∴ one.even? ∴ => false irb(main):004:0> ∴ rails = 'is omakase' ∴ => "is omakase" irb(main):005:0> ∴ rails.chop ∴ => "is omakas" irb(main):006:0> ∴ rails ∴ => "is omakase" irb(main):007:0> ∴ rails.chop! ∴ => "is omakas" irb(main):008:0> ∴ rails -
∴ one = 1 ~/awesome-ruby-project ∴ ∴ irb ∴ irb(main):001:0>
∴ => 1 irb(main):002:0> ∴ one.odd? ∴ => true irb(main):003:0> ∴ one.even? ∴ => false irb(main):004:0> ∴ rails = 'is omakase' ∴ => "is omakase" irb(main):005:0> ∴ rails.chop ∴ => "is omakas" irb(main):006:0> ∴ rails ∴ => "is omakase" irb(main):007:0> ∴ rails.chop! ∴ => "is omakas" irb(main):008:0> ∴ rails ∴ => "is omakas" irb(main):009:0> -
BEST PRACTICES - CODE STYLE PASSOS PARA SE TORNAR UM
PROGRAMADOR RUBY -
BEST PRACTICES - CODE STYLE ▸ Learn how to configure
your IDE or Text Editor PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - CODE STYLE ▸ Learn how to configure
your IDE or Text Editor ▸ http://editorconfig.org/ PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - CODE STYLE ▸ Learn how to configure
your IDE or Text Editor ▸ http://editorconfig.org/ ▸ Create a set rules for code style PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - CODE STYLE ▸ Learn how to configure
your IDE or Text Editor ▸ http://editorconfig.org/ ▸ Create a set rules for code style ▸ Follow the rules PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - CODE STYLE ▸ Learn how to configure
your IDE or Text Editor ▸ http://editorconfig.org/ ▸ Create a set rules for code style ▸ Follow the rules ▸ Good base examples for ruby apps: PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - CODE STYLE ▸ Learn how to configure
your IDE or Text Editor ▸ http://editorconfig.org/ ▸ Create a set rules for code style ▸ Follow the rules ▸ Good base examples for ruby apps: ▸ https://github.com/styleguide/ruby PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - TEST TOOLS PASSOS PARA SE TORNAR UM
PROGRAMADOR RUBY -
BEST PRACTICES - TEST TOOLS ▸ Unit tests PASSOS PARA
SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - TEST TOOLS ▸ Unit tests ▸ RSpec
PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - TEST TOOLS ▸ Unit tests ▸ RSpec
▸ Minitest PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - TEST TOOLS ▸ Unit tests ▸ RSpec
▸ Minitest ▸ Feature tests PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - TEST TOOLS ▸ Unit tests ▸ RSpec
▸ Minitest ▸ Feature tests ▸ Capybara + RSpec PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - TEST TOOLS ▸ Unit tests ▸ RSpec
▸ Minitest ▸ Feature tests ▸ Capybara + RSpec ▸ Capybara + Cucumber PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - TEST TOOLS PASSOS PARA SE TORNAR UM
PROGRAMADOR RUBY -
BEST PRACTICES - TEST TOOLS ▸ FactoryGirl PASSOS PARA SE
TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - TEST TOOLS ▸ FactoryGirl ▸ Stubbing PASSOS
PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - TEST TOOLS ▸ FactoryGirl ▸ Stubbing ▸
Creating PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - TEST TOOLS ▸ FactoryGirl ▸ Stubbing ▸
Creating ▸ VCR PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - TEST TOOLS ▸ FactoryGirl ▸ Stubbing ▸
Creating ▸ VCR ▸ Mocks HTTP requests PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - BUNDLER ▸ What is it? PASSOS PARA
SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - BUNDLER ▸ What is it? ▸ Rubygems
source PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - BUNDLER ▸ What is it? ▸ Rubygems
source ▸ Dependencies PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - BUNDLER ▸ What is it? ▸ Rubygems
source ▸ Dependencies ▸ Gemfile PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - BUNDLER ▸ What is it? ▸ Rubygems
source ▸ Dependencies ▸ Gemfile ▸ Gemfile.lock PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
∴ gem install bundler ~/awesome-ruby-project ∴ ∴ Successfully installed bundler-1.10.6
1 gem installed ~/awesome-ruby-project ∴ -
~/awesome-ruby-project ∴ gem install bundler Successfully installed bundler-1.10.6 1 gem
installed ~/awesome-ruby-project ∴ -
~/awesome-ruby-project ∴ gem install bundler Successfully installed bundler-1.10.6 1 gem
installed ~/awesome-ruby-project ∴ ∴ g ∴ bundle init -
~/awesome-ruby-project ∴ gem install bundler Successfully installed bundler-1.10.6 1 gem
installed ~/awesome-ruby-project ∴ ∴ g ∴ bundle init ~/awesome-ruby-project ∴ gem install bundler Successfully installed bundler-1.10.6 1 gem installed ~/awesome-ruby-project ∴ bundle init Writing new Gemfile to ~/awesome-ruby-project/Gemfile ~/awesome-ruby-project ∴ -
~/awesome-ruby-project ∴ gem install bundler Successfully installed bundler-1.10.6 1 gem
installed ~/awesome-ruby-project ∴ bundle init Writing new Gemfile to ~/awesome-ruby-project/Gemfile ~/awesome-ruby-project ∴ -
∴ g ∴ b ∴ cat Gemfile ~/awesome-ruby-project ∴ gem
install bundler Successfully installed bundler-1.10.6 1 gem installed ~/awesome-ruby-project ∴ bundle init Writing new Gemfile to ~/awesome-ruby-project/Gemfile ~/awesome-ruby-project ∴ -
∴ g ∴ b ∴ cat Gemfile ~/awesome-ruby-project ∴ gem
install bundler Successfully installed bundler-1.10.6 1 gem installed ~/awesome-ruby-project ∴ bundle init Writing new Gemfile to ~/awesome-ruby-project/Gemfile ~/awesome-ruby-project ∴ ∴ g ∴ b ∴ c # A sample Gemfile source "https://rubygems.org" # gem "rails" ~/awesome-ruby-project ∴ -
~/awesome-ruby-project ∴ gem install bundler Successfully installed bundler-1.10.6 1 gem
installed ~/awesome-ruby-project ∴ bundle init Writing new Gemfile to ~/awesome-ruby-project/Gemfile ~/awesome-ruby-project ∴ cat Gemfile # A sample Gemfile source "https://rubygems.org" # gem "rails" ~/awesome-ruby-project ∴ -
~/awesome-ruby-project ∴ gem install bundler Successfully installed bundler-1.10.6 1 gem
installed ~/awesome-ruby-project ∴ bundle init Writing new Gemfile to ~/awesome-ruby-project/Gemfile ~/awesome-ruby-project ∴ cat Gemfile # A sample Gemfile source "https://rubygems.org" # gem "rails" ~/awesome-ruby-project ∴ ∴ g ∴ b ∴ c ∴ vim Gemfile -
BEST PRACTICES - CI ▸ Continuos Integration PASSOS PARA SE
TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - CI ▸ Continuos Integration ▸ https://jenkins-ci.org/ -
DIY PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - CI ▸ Continuos Integration ▸ https://jenkins-ci.org/ -
DIY ▸ https://circleci.com/ PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - CI ▸ Continuos Integration ▸ https://jenkins-ci.org/ -
DIY ▸ https://circleci.com/ ▸ https://travis-ci.org/ PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
BEST PRACTICES - CI ▸ Continuos Integration ▸ https://jenkins-ci.org/ -
DIY ▸ https://circleci.com/ ▸ https://travis-ci.org/ ▸ https://semaphoreci.com/ PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
DON’T CARE ABOUT DATABASES - NOT AT ALL PASSOS PARA
SE TORNAR UM PROGRAMADOR RUBY -
DON’T CARE ABOUT DATABASES - NOT AT ALL ▸ What
is a database? PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
DON’T CARE ABOUT DATABASES - NOT AT ALL ▸ What
is a database? ▸ A detail PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
DON’T CARE ABOUT DATABASES - NOT AT ALL ▸ What
is a database? ▸ A detail ▸ A good application should not rely on database PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
DON’T CARE ABOUT DATABASES - NOT AT ALL ▸ What
is a database? ▸ A detail ▸ A good application should not rely on database ▸ A simple layer that I don’t care, should be bring me the data PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY -
THE WEB ▸ Understand how it work ▸ The flow
between client and server ▸ HTTP verbs ▸ HTTP headers ▸ Authentication ▸ Understand how it works, and them use devise ▸ Learn how to deploy your application PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY