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
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
and tools ▸ Working software over comprehensive documentation ▸ Customer collaboration over contract negotiation PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY
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
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
and tools ▸ Working software over comprehensive documentation ▸ Customer collaboration over contract negotiation PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY
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
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
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
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
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 !
style ▸ Tests are mandatory, but why? ▸ For the sake of documentation ▸ Ruby versions are not backward compatible PASSOS PARA SE TORNAR UM PROGRAMADOR RUBY
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
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
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
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
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
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
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
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
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
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
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