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.

Robin Komiwes

April 06, 2012
Tweet

More Decks by Robin Komiwes

Other Decks in Technology

Transcript

  1. ‘‘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
  2. ['toast', 'cheese', 'wine'].each { |food| print food.capitalize } With ‘toast’,

    ‘cheese’ and ‘wine’ for each food print it capitalized 7 mercredi 27 mai 2009
  3. ‘‘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
  4. 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
  5. 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
  6. Issue.find(:all, :conditions => [‘name = ?´, ‘first issue´], :order =>

    ‘name ASC´] User.find_by_first_and_last(‘salama’) 24 mercredi 27 mai 2009
  7. 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