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

Ruby on Rails - Introduction (05/09 - French)

Ruby on Rails - Introduction (05/09 - French)

French introduction on Ruby on Rails I gave for the company I was working early 2009. Presentation was about 20 minutes long following by 15 minuts of live coding.

Fd6c3e14f1aafe3ce6e9084291096df6?s=128

Robin Komiwes

April 06, 2012
Tweet

Transcript

  1. Ruby on Rails 1 mercredi 27 mai 2009

  2. ‘‘Rails is the most well thought-out web development framework I’ve

    ever used.’’ - James Duncan Davidson, Créateur de Tomcat et Ant 2 mercredi 27 mai 2009
  3. RUBY 3 mercredi 27 mai 2009

  4. ‘‘Ruby est naturel, pas simple’’ - Yukihiro «Matz» Matsumoto 4

    mercredi 27 mai 2009
  5. 5.times { print "Odelay" } 5 mercredi 27 mai 2009

  6. 5.times { print "Odelay" } Five times print ‘‘Odelay’’ 5

    mercredi 27 mai 2009
  7. exit unless "restaurant".include? "aura" 6 mercredi 27 mai 2009

  8. exit unless "restaurant".include? "aura" Exit unless the word ‘‘restaurant’’ includes

    the word ‘‘aura’’ 6 mercredi 27 mai 2009
  9. ['toast', 'cheese', 'wine'].each { |food| print food.capitalize } 7 mercredi

    27 mai 2009
  10. ['toast', 'cheese', 'wine'].each { |food| print food.capitalize } With ‘toast’,

    ‘cheese’ and ‘wine’ for each food print it capitalized 7 mercredi 27 mai 2009
  11. array.length array.size 8 mercredi 27 mai 2009

  12. array.length array.size = 8 mercredi 27 mai 2009

  13. Moindre surprise 9 mercredi 27 mai 2009

  14. Briéveté 10 mercredi 27 mai 2009

  15. Orienté Objet 11 mercredi 27 mai 2009

  16. Conventions 12 mercredi 27 mai 2009

  17. RUBY ON RAILS 13 mercredi 27 mai 2009

  18. ‘‘Powerful web applications that formerly might have taken weeks or

    months to develop can be produced in a matter of ’’ - Tim O’Reilly, Fondateur de O’Reilly Media days 14 mercredi 27 mai 2009
  19. David Heinemeier Hansson 15 mercredi 27 mai 2009

  20. 16 mercredi 27 mai 2009

  21. Agile 17 mercredi 27 mai 2009

  22. Don’t repeat yourself 18 mercredi 27 mai 2009

  23. CONVENTIONS over configuration 19 mercredi 27 mai 2009

  24. 200% MVC 20 mercredi 27 mai 2009

  25. Routing Store ActiveControler ActiveRecord Model Display items View Display items

    View Display items View ActiveRecord Model Model ActiveRecord Store ActiveControler Store ActiveControler Database http://my.url/store/add_to_cart/123 21 mercredi 27 mai 2009
  26. ActiveRecord 22 mercredi 27 mai 2009

  27. class Project < ActiveRecord::Base belongs_to :portfolio has_one :project_manager has_many :milestones

    has_many :deliverables, :through => :milestones validates_presence_of :name, :description validates_acceptance_of :non_disclosure_agreement validates_uniqueness_of :short_name end 23 mercredi 27 mai 2009
  28. Issue.find(:all, :conditions => [‘name = ?´, ‘first issue´], :order =>

    ‘name ASC´] User.find_by_first_and_last(‘salama’) 24 mercredi 27 mai 2009
  29. ActiveControler 25 mercredi 27 mai 2009

  30. Vues 26 mercredi 27 mai 2009

  31. URL personnalisées 27 mercredi 27 mai 2009

  32. Scripts 28 mercredi 27 mai 2009

  33. Cache 29 mercredi 27 mai 2009

  34. Tests 30 mercredi 27 mai 2009

  35. etc. 31 mercredi 27 mai 2009

  36. Communauté 32 mercredi 27 mai 2009

  37. Success Stories 33 mercredi 27 mai 2009

  38. 34 mercredi 27 mai 2009

  39. 35 mercredi 27 mai 2009

  40. Ressources 36 mercredi 27 mai 2009

  41. Crédits Images sous License Creative Commons «naturel, pas simple» http://www.flickr.com/photos/left-hand/2683850212/

    moindre surprise: http://www.flickr.com/photos/billselak/2067139101/ agile: http://www.flickr.com/photos/wwarby/2310137233/ don't repeat yourself: http://www.flickr.com/photos/cplbasilisk/3230235921/ urls personnalisées: http://www.flickr.com/photos/dvs/253452403/ scripts: http://www.flickr.com/photos/henriquev/51021294/ tests: http://www.flickr.com/photos/kaibara/2072160194/ communauté: http://www.flickr.com/photos/foxypar4/2308656406/ 38 mercredi 27 mai 2009