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

Pの歴史 我々はなぜWordPress専門メディアを作るに至ったか

Pの歴史 我々はなぜWordPress専門メディアを作るに至ったか

WordCamp Kyoto 2017で発表したスライドです。 Capital P https://capitalp.jp がどのようにして始まったかについて、発表させていただきました。

Takahashi Fumiki

June 29, 2017
Tweet

More Decks by Takahashi Fumiki

Other Decks in Technology

Transcript

  1. 1ͷྺ࢙
    զʑ͸ͳͥ8PSE1SFTTઐ໳ϝσΟΞΛ࡞Δʹࢸ͔ͬͨ
    $
    5BLBIBTIJ'VNJLJ
    !8PSE$BNQ,ZPUP

    View full-size slide

  2. DBQJUBMQKQ
    $BQJUBM1ͱ͍͏αΠτ໊͸
    ʠ8PSEQSFTTͱॻ͍ͯ͠·ͬͨͱ͖ʹ
    ৄ͍͠ਓ͔Βʮ1͸େจࣈʂʯͱ
    ποίϛ͕ೖͬͯ͘Δݱ৅͔Β
    ໊෇͚ΒΕ·ͨ͠ɻ
    4

    View full-size slide

  3. /**
    * Forever eliminate "Wordpress" from the planet (or at least the little bit we can influence).
    *
    * Violating our coding standards for a good function name.
    *
    * @since 3.0.0
    *
    * @staticvar string|false $dblq
    *
    * @param string $text The text to be modified.
    * @return string The modified text.
    */
    function capital_P_dangit( $text ) {
    // Simple replacement for titles
    $current_filter = current_filter();
    if ( 'the_title' === $current_filter || 'wp_title' === $current_filter )
    return str_replace( 'Wordpress', 'WordPress', $text );
    // Still here? Use the more judicious replacement
    static $dblq = false;
    if ( false === $dblq ) {
    $dblq = _x( '“', 'opening curly double quote' );
    }
    return str_replace(
    array( ' Wordpress', '‘Wordpress', $dblq . 'Wordpress', '>Wordpress', '(Wordpress' ),
    array( ' WordPress', '‘WordPress', $dblq . 'WordPress', '>WordPress', '(WordPress' ),
    $text );
    }
    5

    View full-size slide

  4. WJB3ZBO.DDVF

    View full-size slide

  5. ͸͡·Γ͸
    ϑΟϥσϧϑΟΞ
    9

    View full-size slide

  6. ܹ࿦ͷ໷
    w 8PSE1SFTT͸ΦʔϓϯιʔεͳΜ͔ͩΒɺ΋ͬͱ
    ߩݙͯ͠Δਓʢίʔυॻ͍ͯΔਓʣʹεϙοτ͕͋
    ͨΔ΂͖͡ΌΜʁ
    w Ͱ΋8PSE1SFTT͸ͨ͘͞Μར༻ऀ͕͍Δ͠ɺͦΕ
    Λ޿ΊͨΓ͢Δਓ΋ඞཁ͡ΌΜʁ
    10

    View full-size slide

  7. ͦͷ࣍ͷ೔ͷ໷ʜʜ
    11

    View full-size slide

  8. ͔Βͷʜʜ
    12

    View full-size slide

  9. w 8PSE1SFTT͸ίʔυͰͰ͖͍ͯΔ͕ɺͦΕΛ࢖͏
    ͷ͸ਓؒɻϚαΧϦΛৼΔ͍ଓ͚ΔϞώΧϯ଒͚ͩ
    ͕ਓྨͰ͸ͳ͍ɻ
    w ͱ ͸ ͍ ͑ ɺ ί ʔ υ Λ ॻ ͘ ਓ ͕ ͍ ͳ ͚ Ε ͹ ɺ
    8PSE1SFTT͸ଘࡏͰ͖ͳ͍ɻ
    w ͦ΋ͦ΋Ϣʔβʔͬͯ୭ʁɹίϛϡχςΟͬͯ୭ͷ
    ͜ͱʁ
    13

    View full-size slide

  10. #FZPOEUIFDPEF
    14

    View full-size slide

  11. ͜Ε஌ͬͯͨʁ
    w 8PSE1SFTTͷίΞͰԿ͔৽͍͜͠ͱ͕ܾఆ͢Δͱ͖ɺඞͣ
    ͦͷલʹٞ࿦͕ଘࡏ͍ͯ͠ΔͯɺͦΕ͸୭Ͱ΋ࢀՃͰ͖Δɻ
    w ίϛϡχςΟʹ͸໌Β͔ʹʮύϫʔϢʔβʔʯ͕͍ͯɺͦͷ
    ਓͨͪͷҙ޲͕8PSE1SFTTͷํ޲ੑΛܾΊ͍ͯΔ͜ͱ͸൱
    Ίͳ͍ɻ
    w ଐਓੑɺ૬ੑͳͲͷඇৗʹਓؒष͍෦෼͕ͨ͘͞Μ͋ͬͯɺ
    ͦΕΛ఻͑ΔϝσΟΞ͸೔ຊʹଘࡏ͠ͳ͍ɻ
    17

    View full-size slide

  12. ϒϩάʹॻ͍ͯͨ
    18

    View full-size slide

  13. ͳΜ͔ϝοη͖ͨ
    19

    View full-size slide

  14. ΫϨυʢߦಈࢦ਑ʣ
    w #SPBE BOE .VMUJMBUFSBM ࠃ಺֎Λ໰Θͣ෯޿͍ࣄྫΛɺ
    ୯ͳΔ5JQT΍ࣄྫूʹͱͲ·Βͣɺ၆ᛌతʹ঺հ͠·͢ɻ
    w #FZPOEUIFDPEF8PSE1SFTTͷιʔείʔυΛऔΓר͘
    ؀ڥʹ͍ͭͯৄ͘͠۷ΓԼ͛·͢ɻ
    w .BLFJUPVSCVTJOFTTϏδωεΛ޿ٛͷʮ࢓ࣄʯͱͱΒ
    ͑ɺ8PSE1SFTTʹؔΘΔࢲͨͪͷൃల΍ܧଓՄೳੑʹ໾ཱ
    ͭ৘ใΛूΊ·͢ɻ
    21

    View full-size slide

  15. ૝ఆ͢Δಡऀ
    Φʔϓϯιʔεʹڵຯͷ͋Δ8FC։ൃऀ
    8PSE1SFTTʹؔ࿈͢ΔϏδωεʹڵຯ͕͋Δਓ
    ೔ຊࠃ಺ɺւ֎Λ໰Θͣ8PSE1SFTTʹؔ࿈ͨ͠ا
    ۀ
    22

    View full-size slide

  16. ϑοΫΞοϓ΋͍ͨ͠
    w ϓϥάΠϯ΍ςʔϚͷ࡞ऀɺ
    ਓ஌ΕͣίΞʹίϛοτͯ͠
    ͍ΔਓɺυΩϡϝϯτؤுͬ
    ͯΔਓ
    w 8PSE1SFTTͰϏδωεΛߦ
    ͳ͍ͬͯΔاۀ
    w ͋ͷਓ͸͍·
    23

    View full-size slide

  17. ͱ͜ΖͰɺͳΜͰ
    8PSE1SFTTΛ࢖͏ΜͰ͔͢ʁ
    24

    View full-size slide

  18. ๻ͷ৔߹
    w ΦʔϓϯιʔεͰ͋Γɺ͢΂͕ͯ։͔Ε͍ͯΔ
    w ࣗ෼ͷυϝΠϯͰࣗ෼͕͢΂ͯΛ؅ཧͰ͖Δ
    w Πϯλʔωοτ্Ͱͳʹ͔Λൃ৴͢Δͱ͖ɺͦΕ͸
    ؒҧ͍ͬͯͨͱͯ͠΋Կ͔ͷ໾ʹཱͭ
    25

    View full-size slide

  19. rεϥϰΥΠɾδδΣΫ
    ʠ͏Μͦ͋͛͜͜ͳ͖Όʡ
    26

    View full-size slide

  20. ͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠
    27

    View full-size slide