- 謝辞
- 誤記
- フィードバック
- 前書き
-
1 さあ、始めましょう
- 1.1 方法1 仮想ホストを作成する
- 1.2 方法2 パブリックフォルダーのシンボリックリンク
- 1.3 話の本線に戻りまして……
-
2 プロジェクト構成
- 2.1 ルートディレクトリーの構成
- 2.2 Applicationディレクトリー構造
-
3 コントローラーの使用
- 3.1 コントローラーのルーティング
- 3.2 パラメーターを渡す
- 3.3 ビューを使用する
- 3.4 RESTコントローラー
- 3.5 Baseコントローラー
- 3.6 高度なルーティング
-
4 クロージャーによるルーティング
- 4.1 クロージャー
- 4.2 リダイレクトと名前付きルート
- 4.3 フィルター
- 4.4 ルートグループ
-
5 リンクとURL
- 5.1 URLの取得
- 5.2 リンクの生成
-
6 フォーム
- 6.1 フォームを作成する
- 6.2 ラベルを付ける
- 6.3 Inputの生成
- 6.4 ボタンを生成する
- 6.5 セキュアな入力
- 6.6 CSRFトークン
- 6.7 フォームマクロ
-
7 入力を扱う
- 7.1 データーの要求
- 7.2 ファイル
- 7.3 フラッシュデーター
-
8 バリデーション
- 8.1 バリデーションの準備
- 8.2 エラー
- 8.3 バリデーションルール
- 8.4 カスタムエラーメッセージ
- 8.5 カスタムバリデーションルール
- 8.6 バリデーションクラス
-
9 マイグレーション
- 9.1 データベースの準備
- 9.2 マイグレーション
-
10 Fluentクエリービルダー
- 10.1 クエリー結果の取得
- 10.2 Where節
- 10.3 テーブル接続
- 10.4 並び替え
- 10.5 Limit…何もいらない
- 10.6 結果を飛ばす
- 10.7 集計
- 10.8 式
- 10.9 ++(またはデクリメント)
- 10.10 レコード挿入
- 10.11 レコード更新
- 10.12 レコード削除
-
11 Eloquent ORM
- 11.1 Eloquentモデルを作成し使用する
- 11.2 リレーションシップ
- 11.3 リレーションモデルの挿入
- 11.4 ピボットテーブル
- 11.5 Eagerローディング
- 11.6 SetterとGetter
-
12 イベント
- 12.1 イベントを起こす
- 12.2 イベントをリッスンする
- 12.3 イベントにパラメーターを渡す
- 12.4 Laravelのイベント
- 12.5 使用例
-
13 Bladeテンプレート
- 13.1 基本
- 13.2 ロジック
- 13.3 Bladeレイアウト
-
14 認証
- 14.1 準備
- 14.2 フォームを用意する
- 14.3 ログインの処理
- 14.4 ルートの保護
- 14.5 カスタマイズ
-
15 ブログチュートリアル
- 15.1 デザイン
- 15.2 基本的な準備
- 15.3 Eloquentモデル
- 15.4 ルート
- 15.5 ビュー
- 15.6 コーディング
- 15.7 機能
-
16 ユニットテスト
- 16.1 インストール
- 16.2 テストの作成
- 16.3 テストの実行
- 16.4 コアをテストする
-
17 キャッシュ
- 17.1 準備
- 17.2 値をセットする
- 17.3 値を取得する
- 17.4 もっと良い方法
-
18 クラスのオートローダー
- 18.1 マッピング
- 18.2 ディレクトリーマッピング
- 18.3 名前空間マッピング
- 18.4 アンダースコア・マッピング
-
19 設定
- 19.1 新しい設定ファイルを作成する
- 19.2 設定の読み込み
- 19.3 設定をセットする
-
20 IoCコンテナ
- 20.1 オブジェクトを登録する
- 20.2 オブジェクトを解決する
- 20.3 シングルトン
-
21 暗号化
- 21.1 復元不可能暗号化
- 21.2 復元可能暗号化
-
22 AJAXコンテンツ
- 22.1 テンプレートページ
- 22.2 Javascritp
- 22.3 データーのポスト
- 22.4 JSONレスポンス
- 22.5 AJAXリクエストを見分ける
-
23 アプリケーションのデバッグ
- 23.1 エラーハンドリング
- 23.2 エラー設定
- 23.3 ログ
- 24 これからも
Laravel: Code Happy (JP)
初心者のための、Laravelフレームワークによる、Webアプリケーション開発
The authors are letting you choose the price you pay for this book!
About
About the Book
この本はPHPに多少の経験をお持ちの、Laravel3フレームワーク初心者のためのガイドブックです。基本的な機能のガイドとなり、各章で独立したチュートリアルとして構成されています。Laravel3フレームワーク創始者の援助を受け、コア開発者の一人により書かれました。
この本は発展中であることに注目ください。後日Laravel 3.xのために新しい章が追加されます。サポートのための、この新しいバージョン版は無料です。
値段は少々特殊です。基本的な値段は9ドル99セントに設定しています。希望価格は19ドル99セントです。これは本当の希望価格でなく、サイトユーザーへの目安に過ぎません。
もし、あなたがこの本の増筆に支援しても良いとお考えなら、最低価格以上でご購入ください。
興味をお持ちいただき、ありがとうございます。
Price
Pick Your Price...
Minimum price
$9.99
$19.99
You pay
$19.99Authors earn
$15.99Author
About the Authors
Dayle Rees
Dayle is a thirty-one-year-old software developer from Wales, UK. He was one of the first users of the Laravel framework. Deciding to share the joy of Laravel with the rest of the world, he wrote a series of technical books about the Laravel framework that are read by tens of thousands of developers worldwide.
Dayle has contributed to the Laravel framework, spoken at a number of conferences and meetups, and acted as an ambassador for Laravel since its inception.
Dayle writes books in a friendly, approachable language that is easily understood by newcomers to technology, foreign language speakers, and anyone who enjoys a little humour!
Contents
Table of Contents
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.