-
- 謝辞
-
イントロダクション
-
誰のための本?
- どんな人に一番役立つのですか?
- 何を理解しておけば良いですか?
- 意見について
- 堅牢(SOLID)
-
誰のための本?
-
Laravelコアのコンセプト
-
コンテナ
- 基本的な使い方
- より高度な例
- 制御の逆転
- 使用の実例
-
依存注入
- 依存注入とは何か?
- コントローラーへ依存を追加する
- 依存としてのインターフェイス
- なぜ、依存注入?
- まとめ
-
コンテナ
-
Laravelを準備する
-
サンプルアプリケーション
- データベース
- モデル
- 関連付け
- テスタビリティーと保守性
- 構造上の注意
-
インストール
- Composerのインストール
- 新プロジェクトを作成する
- 設定
- まとめ
-
アプリケーションの準備
- アプリケーションライブラリーの準備
- 自動ローディング
- まとめ
-
サンプルアプリケーション
-
便利なパターン
-
リポジトリーパターン
- どんなパターンなんでしょう?
- どうして使用するのでしょう?
- サンプル
-
リポジトリーパターンでキャッシュを利用する
- 何のことですか?
- なぜ、使用するの?
- サンプル
-
サービスとしてのバリデーション
- 何のことでしょう?
- どうして使用するの?
- サンプルコード
- 再構築
- 何が得られたのでしょう?
-
フォーム処理
- 何のことですか?
- どこで使用するのですか?
- サンプルコード
- 再構築
- 重い処理
- まとめ上げる
- 最終結果
- 何が得られたのでしょう?
- エラー処理
-
リポジトリーパターン
-
パッケージを使用する
-
Notificationパッケージを使用する
- 準備
- 実装
- まとめてみましょう
- 実践
- 何を得たのでしょうか?
-
Notificationパッケージを使用する
-
終章
-
レビュー
- インストール
- アプリケーションの準備
- リポジトリーパターン
- リポジトリーの中でキャッシュする
- バリデーション
- フォーム処理
- エラー処理
- サードパーティーライブラリー
-
何が得られたのでしょう?
- 将来へ
-
レビュー
Implementing Laravel 日本語版
堅牢原則を応用し、十分な機能を持つアプリケーション構築の基礎となる実装方法
The authors are letting you choose the price you pay for this book!
About
About the Book
ええ、皆さんLaravelの基礎はご存知ですよね。ユニットテストについても、読んだことはあるでしょう。たぶん、Taylor Otwellの本も読み、依存注入やIoCコンテナ、堅牢なアプリケーション構築のための原則についても学んでいるでしょう。では、必要なアプリケーションを構築するため、プロジェクトを開始しましょう!
しかし、実装についてはまだぼんやりとした疑問を抱えていませんか。実際、どうやって原則を使用すれば良いのでしょう?どのように、アプリケーションコードを組織立てれば良いのでしょう?なぜ、コントローラーに多くのコードが残ったままなんでしょう?
この本は、良い構造のための原則と、あなたのアプリケーションの実装との、架け橋になります。
何を学べますか?:
- テスト可能で保守性の良い、構造化され、実際に動作する具体的なサンプルコード
- LaravelのIoCコンテナと、サービスプロバイダー
- コードの組織化と、その背景の考え方
- サードパーティライブラリーの使用と実装
- GitHubにある、実際に使用可能なコード
各章の内容(抜粋)
- インストールと環境の準備
- リポジトリーパターンの使用
- リポジトリーの中で、キャッシュを使用する
- エラー処理と通知
- サービスとしてのバリデーション
- テスト可能なフォーム処理
(この書籍はLaravel4.0をベースに書かれています。その後、Laravelの仕様も変更され、例えばキャッシュに対してタグを付けることがデフォルトで行えるようになりました。2014年11月に予定されている、Laravel5.0ではディレクトリー構造が大幅に変更されます。そのため、特にファイル/ディレクトリーパスが書籍の内容と一致しない部分が出ます。ご了承ください。)
Feedback
Price
Pick Your Price...
Minimum price
$19.99
$24.99
You pay
$24.99Authors earn
$19.99Author
About the Authors
Chris Fidao
Coding in the PHP world for 10 years, Chris has much experience in architecting and structuring applications large and small.
Chris immediately jumped on board with Laravel 4 when he discovered it's rare mixture of ease-of-use and ingrained support for enterprise-grade code architecture.
You can find Chris blogging about Laravel and coding at fideloper.com and writing about servers at serversforhackers.com. He loves digging into the code to find the perfectly crafted solution.
Chris works at UserScape, supporting and developing HelpSpot.

Episode 107
An Interview with Chris Fidao
Contents
Table of Contents
Get the free sample chapters
Click the buttons to get the free sample in PDF or EPUB, or read the sample online here
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Write and Publish on Leanpub
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.