teach yourself ruby on rails

22
Ruby on Rails: From Zero to Hero Teach yourself how to program in Ruby on Rails. @patrikbona

Upload: patrikbona

Post on 28-Nov-2014

477 views

Category:

Technology


0 download

DESCRIPTION

Some resources for Ruby on Rails beginners, Tips & Tricks and all that mixed with my experience becoming professional programmer in less than a year.

TRANSCRIPT

Page 1: Teach yourself Ruby on Rails

Ruby on Rails: From Zero to HeroTeach yourself how to program in Ruby on Rails.

@patrikbona

Page 2: Teach yourself Ruby on Rails

Me (beginning of 2013)

● Non-programming job● X years of “programming” experience● Git? GitHub? Tdd? Rails? What?

Page 3: Teach yourself Ruby on Rails

About me

● I learned more about programming in last 1 and half year than ever before

● Ruby on Rails developer at Toptal

Page 4: Teach yourself Ruby on Rails

Resources

Page 5: Teach yourself Ruby on Rails

Ruby on Rails Tutorial

● Start here!● Full stack

○ Ruby on Rails○ Git/GitHub○ HTML/CSS○ TDD○ Heroku○ …

● http://www.railstutorial.org/

Page 6: Teach yourself Ruby on Rails

Rails Guides

● Official and up to date documentation● I still use it● http://guides.rubyonrails.org/

Page 7: Teach yourself Ruby on Rails

Agile Web Development with Rails 4

● Build e-commerce site in Rails way● Up to date● https://pragprog.com/book/rails4/agile-web-

development-with-rails-4

Page 8: Teach yourself Ruby on Rails

Upcase by thoughtbot

● Exercises● Forum● Source code access● Workshops, videos● Mentoring● https://upcase.com/

Page 9: Teach yourself Ruby on Rails

Google and Stackoverflow

● Because someone else already had the same problem

● But try to understand it anyway!

Page 10: Teach yourself Ruby on Rails

Railscasts

● Small Rails screencasts● Not up to date, but still useful● http://railscasts.com/

Page 11: Teach yourself Ruby on Rails

Tips & Tricks

Page 12: Teach yourself Ruby on Rails

Practice 1/2

"If you want to pick up a new skill, you must practice. There's no other way. Make the time, and do the work. The only time you can choose to practice is today."

Josh Kaufman (The First 20 Hours)

Page 13: Teach yourself Ruby on Rails

Practice 2/2

● Find yourself some project○ Toy project for yourself○ Something for a friend○ Work for free

Page 14: Teach yourself Ruby on Rails

Improve your typing

● http://type-fu.com/● http://goo.gl/Az3WJc (Google Chrome

extension)

Page 15: Teach yourself Ruby on Rails

Master your editor and environment

● Remove all obstacles● Learn one thing at the time

Page 16: Teach yourself Ruby on Rails

Programming Katas

● Simple programming problems● Do them again and again● FizzBuzz under 6 minutes

Page 17: Teach yourself Ruby on Rails

Spaced repetition

● Scientific approach to learning● http://sivers.org/srs● http://ankisrs.net/

Page 18: Teach yourself Ruby on Rails

Make notes

● Because spaced repetition doesn’t work for complex things

● Be quick● https://github.com/mrhead/notes

Page 19: Teach yourself Ruby on Rails

Pair programming

● Most effective way to share knowledge● Immediate feedback loop● Try it!

Page 20: Teach yourself Ruby on Rails

KISS

● Keep it simple, stupid● Work on small issues

Page 21: Teach yourself Ruby on Rails

Conclusion

● Try to understand things● Don’t try to learn everything at once● Practice (a lot)● Be pragmatic

Page 22: Teach yourself Ruby on Rails

Q&A