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

はてなと技術研修

shibayu36
December 06, 2015

 はてなと技術研修

shibayu36

December 06, 2015
Tweet

More Decks by shibayu36

Other Decks in Programming

Transcript

  1. # ೔هͷ࡞੒ my $diary = Diary->new('Johnͷ೔ه'); # هࣄͷ࡞੒ my $entry1

    = $diary->add_entry( title => '೔هͩΑ', body => '͜Ε͕೔هͷຊจͩΑ', ); my $entry2 = $diary->add_entry( title => '͜Ε΋೔هͩΑ', body => '΍ͬͺΓ೔هͷຊจͩΑ', ); # ग़ྗ $diary->print;
  2. $ object_diary.pl # Johnͷ೔ه # [1] ೔هͩΑ : ͜Ε͕೔هͷຊจͩΑ #

    [2] ͜Ε΋೔هͩΑ : ΍ͬͺΓ೔هͷຊจͩΑ
  3. $ db_diary.pl add_entry λΠτϧ1 ຊจ1 $ db_diary.pl add_entry λΠτϧ2 ຊจ2

    $ db_diary.pl list_entry # [1] λΠτϧ1 : ຊจ1 # [2] λΠτϧ2 : ຊจ2
  4. ϓϩάϥϛϯάجૅ σʔλϕʔε WebΞϓϦέʔγϣϯ JS (εϚϗΞϓϦ։ൃ) • MySQL • SQL •

    ݴޠ͔ΒDBΞΫηε • DBηΩϡϦςΟ • CLI DBͷ֓೦͚ͩΛֶ΂Δ