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

Laravel勉強会 2016

Avatar for hihats hihats
December 19, 2016

Laravel勉強会 2016

Avatar for hihats

hihats

December 19, 2016
Tweet

More Decks by hihats

Other Decks in Technology

Transcript

  1. 原則 First of all • DIコンテナ(Laravelそのものなの で) • (原則というより)設計ありきで処 理フローはお好きに

    • あえて言うならオブジェクト指向 設計の原則(と呼ばれるもの)に は従おう
  2. 状況に依るもの On a case by case basis • Service Containerに登録する

    ルール 抽象に依存しているケース Repositoryパターンや Service クラスやRequestクラスをまとめ るとか?) • ServiceProviderを作る基準 (分け方など) • Facadeを使うルール