Laravel: Code Bright (JP)
Laravel: Code Bright (JP)
初心者のためのLaravel4を使ったWebアプリケーションの開発
本書について
注目!! この書籍の内容は、バージョン4が対象です。公式ドキュメントを読んでも実際のアプリケーションの作成方法がよくわからない、初心者の方むきです。一番最後の章でまだ続くように書かれていますが、原文の更新は止まったままです。
おひさしぶりです!
簡単に言いますと、この本は去年3千部以上売れ、Laravelフレームワークを学ぶには最高の情報源と言われたLaravel Code Happyの次回作です。29ドルは美味しいピザより安いです。現在のところ全てを網羅していませんが、将来書く章も、更新修正版も無料です。この説明を書いている最初のリリースの時点で、Code Brightは130ページあります。これがどういうことかと言えば、Code Happyは完成形で127ページでした。もっと知りたくなりました?続きを読んでください。
おかえりなさい。昨年、私はLaravel PHPフレームワークについての本を書きました。それは私のブログのチュートリアルを集めたものから始まり、最終的に完全な書籍となりました。私は全然人気を得られるとは思っていませんでした。Code Happyは約三千コピー売れ、Laraveフレームワークを学ぶためには一番価値のある情報源であると考えられました。
Code BrightはCode Happyの精神的な後継者です。このフレームワークは一年で輝かしい発展を遂げ、新しいタイトルを付ける価値があるほど十分に更新されました。Code Brightでは、Cody Happyの全ての点を向上させました。私のゴールは、もう一度、このフレームワークに対する分かりやすい学習経験を構築することです。ああ、それと面白いことも。これも私には重要なのです。
Laravel Code Brightはフレームワークの全機能の完全な学習経験から構成されています。ライティングスタイルは初心者に親しみやすく、また経験を積んだ開発者の方にとっても素晴らしいリファレンスになるでしょう。
人々が私にCode Happyを楽しんで読んだと言っているのをご存知でしょう。学習的なコンテンツだけでなく、ユーモアと、私のそばで話しているようなライティングスタイルもです。これは私にとってとても重要なんです。私はバーにいて会話しているかのように、本を書いているんです。
去年、Code Happyを書いた時、私はただの熱狂的支持者でした。フレームワークの情報を共有した、最初のフレームワークでした。しかしそれから、コード開発コアチームに招かれ、 Laravelが世界中の開発者にとって素晴らしい経験となるように、直接フレームワークの作者と働きました。
両方の本で重要なのは、出版はしていますが、同時にまだ進行中であることです。つまり、この本はまだ完成した状態ではありませんが、時間が立つにつれ完全な本に向け成長していくことです。これから提供される改訂は全部無料です。
つまり、私は終了期日、修正の締め切りに追われることがありません。これはストレスを減じてくれ、より良い物が書けます。別のより良い表現を思いついたら、後に戻り変更できます。ある意味、決して完成しないでしょう。完全なリソースになるまで、私は継続的に情報を追加することができます。
今、使える余暇の時間のほとんどはこの本を書くために使っています。(もちろん、フルタイムの仕事もありますからね!)使った時間の文だけ、少し値段を上げました。前作の多くの読者と話しましたが、彼らが前作は成長し続けるリソースとしてはとても安すぎると心配していることに気が付きました。ですから、もし新しい値段について心配されているのでしたら、あなたの29ドルから何を手にすることができるのかを思い出してください。
- Laravel PHP フレームワークの#1学習リソースであると思われている、Code Happyの次回作。
- 果てない情報源。この本をフレームワークにたいする膨大な価値の知識とすべく、新しい章を持続的に追加します。
- 少々安っぽいコメディーみたいですが、とてもフレンドリーな文章。
- 生涯無料のアップデート! これにはフレームワークバージョン4の内容に合わせるための全部の更新が含まれます。何かが追加されると、いつでもメールで知ることができます。
- Laravelコア開発者から、早めに情報を受け取れる。
- 将来の私の作品へのサポート。私は書くことが大好きですし、将来もっと別の本を書くことを決めています!Laravel以外のトピックも含まれています。
- 注意を払っていること。この本の好きでないところを見つけてください。私に教えてください。改善できるか確認します!
- 表紙を飾るレッサーパンダの写真。本当にカワイイでしょ?
これら全部は(美味しい)ピザより安い?私は損をしているようです!
まだ確信できませんか?Laravelの作者と何人かの読者が、私の作品をどう言っているかをシェアしましょう。
"Dayle Rees has been a central figure in the Laravel community for a long time. He's well known not only for his knowledge of the framework, but also his friendly attitude and keen ability to explain Laravel concepts to beginners. There are few people as qualified as Dayle to write a thorough introduction to the Laravel framework. With Code Bright, he continues the same accessible style that made Code Happy such a great introduction to Laravel 3." - Taylor Otwell, Framework Author.
"Reading Dayle's 'Code Happy' made it super easy to get up and going with Laravel. Even with the more advanced topics, his was of explaining things without complicating things is a talent in itself." - Chris Duell
"The holy grail for anyone wanting to learn Laravel." - Rujaun
"Code Happy allowed me to get up to speed super quick! Very entertaining read that keeps you engaged and wanting more! Thanks!" - Mike Rogne
"I bought Code Happy at the behest of Jeffrey Way's Laravel's Essentials course, and the wealth of knowledge available in this book is phenomenal. It is nice to purchase books from professionals who know what they're writing about, but as a Laravel Core Development team member Dayle gives you insight few others can. Dayle goes into every detail of the Laravel Framework, from Laravels amazing schema system to eloquent and beyond this book offers a wealth of knowledge worth having. I create Laravel tutorials on Youtube and Code Happy has been an invaluable tool. I couldn't have done any of it without this book." - Kristopher Rapier
“I used other frameworks in the past and then Laravel started to showed up in my twitter timeline. I was a happy coder with my framework of choice but I was seeing a lot of people moving out to Laravel. The website was nice, the documentation was clear and helpful but then I bought Code Happy just to have a big view on how Laravel worked. I end up loving the Laravel syntax, expressiveness and having a real idea how a Laravel app worked in no-time. I finally switched.” - Isern Palaus
”Code Happy was my launching pad into the PHP world. I had tried for quite some time to wrap my head around using a framework, it just never did quite stick. Once I got hold of code happy it all started to make sense. I completed my first Laravel application in a couple of weeks time and haven't looked back..” - Zane Conkle
”At the beginning of 2013, I decided to have a look at PHP Frameworks with the aim of finding something I could use both for my day job and personal projects. I asked Jeffrey Way for advice and he pointed me in Laravel's direction. To be honest, I had never heard of Laravel but a quick search on Google for tutorials revealed very good reviews for Dayle Rees' Laravel tutorials. I bought Dayle's Code Happy book and up to date, remains the best thing I've bought in the near past. The casual way with which he explains the concepts was very useful to my learning. The book covers everything you need to know to create a full Laravel web application. In fact, I am in the process of creating an in-house CMS (for my place of work) based on Laravel, two months after writing my first Laravel 'Hello World'. But the first tab on my browser window is always codehappy.daylerees.com, which remains my main point of reference. Thanks for the great job!” - James K. Ilaki
”Dayle's conversational style writing makes it feel like you have a more experienced developer buddy peering over your shoulder, helping you along. If I just wanted to know how something works, I would read the documentation, but the book also explains why it's useful, and when and where to use it!” - Rob Meijer
目次
- 謝辞
- フィードバック
- 翻訳
- 前書き
-
入門書
- 名前空間
- JSON
- Composer
-
構造
- コンテナ
- ファサード
- 柔軟性
- 堅牢性
-
初めましょう
- 動作環境
- インストール
- Webサーバー設定
- プロジェクト構造
-
基本的なルーティング
- 基本的なルーティング
- ルート引数
-
レスポンス
- ビュー
- Viewデータ
- リダイレクト
- カスタムレスポンス
- レスポンスのショートカット
-
フィルター
- 基本的なフィルター
- 複数のフィルター
- フィルター引数
- フィルタークラス
- グローバルフィルター
- デフォルトフィルター
- パターンフィルター
-
コントローラー
- コントローラーの作成
- コントローラールーティング
- RESTフルコントローラー
-
Blade
- テンプレート作成
- PHP出力
- 制御構文
- テンプレート
- テンプレートの継承
- コメント
-
高度なルーティング
- 名前付きルート
- 安全なルート
- 引数の制限
- ルートグループ
- ルートプリフィックス
- ドメインルーティング
-
URL生成
- 現在のURL
- フレームワークのURLを生成する
- アセットURL
- 短縮形による生成
-
リクエストのデータ
- 取得
- 直前の入力
- ファイルのアップロード
- クッキー
-
フォーム
- フォームを開く
- フォームフィールド
- フォームボタン
- フォームマクロ
- フォームの安全性
-
バリデーション
- 簡単なバリデーション
- バリデーションルール
- エラーメッセージ
- カスタムバリデーションルール
- カスタムバリデーションメッセージ
-
データベース
- 抽象化
- 設定
- 準備
-
スキーマビルダー
- テーブルの生成
- カラムタイプ
- 特殊カラムタイプ
- カラムの属性指示
- テーブルの更新
- テーブルの削除
- スキーマテクニック
-
マイグレーション
- 基本的な概念
- マイグレーションの作成
- マイグレーションの実行
- ロールバック
- マイグレーショントリック
-
Eloquent ORM
- 新しいモデルの作成
- 存在するモデルを読み込む
- 存在するモデルの更新
- 存在するモデルの削除
-
Eloquentのクエリー
- 準備
- Eloquentを文字列にする
- クエリー構造
- 取得メソッド
- クエリーの条件付け
- クエリーのマジック
- クエリースコープ
-
Eloquentコレクション
- コレクションクラス
- コレクションのメソッド
- ベストプラクティス
-
Eloquent関連付け
- 関連付けの紹介
- 関連付けの実装
- 関連付けとクエリー
-
アプリケーションの構築1:プレステゲームコレクション
- よく考えて見ましょう
- ハッキング開始!
- データベース
- コントローラー
- ルート定義
- ビュー
- アプリケーションロジック
- リラックス
- 宿題
- 認証
-
どこでするのでしょう?
- 手順的なコード
- オブジェクト指向コード
-
イベント
- コンセプト
- イベントの発行
- イベントをリッスンする
- イベント購入クラス
- グローバルイベント
- 使用例
-
コンテナ
- 制御の逆転(IoC)
- 依存注入
- 近日公開
Leanpubは無条件かつノーリスクで100%の満足を保証します
Leanpubでお買い上げいただいた書籍は、ご購入後60日以内であれば全額返金いたします。払い戻しはわずか2クリックで完了します。払い戻し処理は手作業で行うため、完了まで数日かかる場合があります。詳しくは利用規約をご覧ください。
Do Well. Do Good.
著者はLeanpubで執筆、出版、販売を利用して$11,721,492稼ぎ、80% royalties儲けました。最大2500万ポンドのCO2を節約し、最大46,000本の木を助ける事が出来ました。
Leanpubでの執筆についてもっと知る
無料更新。無料アップデート。 DRMフリー。
Leanpubの本を購入すると、著者が本を更新している限り、無料で更新されます!多くの著者は、Leanpubを使用して、執筆中の書籍を出版しています。いつ本を購入したか、いくら支払ったかに関係なく、すべての読者は無料のアップデートを入手できます(無料も含む)。
Leanpubの本はPDF(コンピューター用)、EPUB(iPad用)、MOBI(Kindle用)のフォーマットに対応してます。本に含まれるフォーマットは、このページの右上隅に表示されます。
Leanpubの本には、DRMコピー防止のナンセンスがないため、サポートされているデバイスで簡単に読むことができます
Top Books
Recipes for Decoupling
Matthias NobackWrite software that survives
CQRS by Example
Carlos Buenosvinos, Christian Soronellas, and Keyvan Akbary- Leverage your Software Architecture skills by learning everything about CQRS in detail with lots of examples
- Develop faster applications by applying CQRS and fostering Read Models and Projections
- Learn how to apply CQRS into a brownfield project from a pragmatic approach
OpenIntro Statistics
David Diez, Christopher Barr, Mine Cetinkaya-Rundel, and OpenIntroA complete foundation for Statistics, also serving as a foundation for Data Science.
Leanpub revenue supports OpenIntro (US-based nonprofit) so we can provide free desk copies to teachers interested in using OpenIntro Statistics in the classroom and expand the project to support free textbooks in other subjects.
More resources: openintro.org.
Maîtriser Apache JMeter
Philippe Mouawad, Bruno Demion (Milamber), and Antonio Gomes RodriguesToute la puissance d'Apache JMeter expliquée par ses commiteurs et utilisateurs experts. De l'intégration continue en passant par le Cloud, vous découvrirez comment intégrer JMeter à vos processus "Agile" et Devops.
If you're looking for the newer english version of this book, go to Master JMeter : From load testing to DevOps
C++20 - The Complete Guide
Nicolai M. JosuttisAll new language and library features of C++20 (for those who know previous C++ versions).
The book presents all new language and library features of C++20. Learn how this impacts day-to-day programming, to benefit in practice, to combine new features, and to avoid all new traps.
Buy early, pay less, free updates.
Other books:
Ansible for DevOps
Jeff GeerlingAnsible is a simple, but powerful, server and configuration management tool. Learn to use Ansible effectively, whether you manage one server—or thousands.
Jetpack Compose internals
Jorge CastilloJetpack Compose is the future of Android UI. Master how it works internally and become a more efficient developer with it. You'll also find it valuable if you are not an Android dev. This book provides all the details to understand how the Compose compiler & runtime work, and how to create a client library using them.
Mastering STM32 - Second Edition
Carmine NovielloWith more than 1200 microcontrollers, STM32 is probably the most complete ARM Cortex-M platform on the market. This book aims to be the most complete guide around introducing the reader to this exciting MCU portfolio from ST Microelectronics and its official CubeHAL and STM32CubeIDE development environment.
Introduction to Data Science
Rafael A IrizarryThe demand for skilled data science practitioners in industry, academia, and government is rapidly growing. This book introduces concepts from probability, statistical inference, linear regression and machine learning and R programming skills. Throughout the book we demonstrate how these can help you tackle real-world data analysis challenges.
R Programming for Data Science
Roger D. PengThis book brings the fundamentals of R programming to you, using the same material developed as part of the industry-leading Johns Hopkins Data Science Specialization. The skills taught in this book will lay the foundation for you to begin your journey learning data science. Printed copies of this book are available through Lulu.
Top Bundles
- #2
CCIE Service Provider Ultimate Study Bundle
2 Books
Piotr Jablonski, Lukasz Bromirski, and Nick Russo have joined forces to deliver the only CCIE Service Provider training resource you'll ever need. This bundle contains a detailed and challenging collection of workbook labs, plus an extensively detailed technical reference guide. All of us have earned the CCIE Service Provider certification... - #3
Pattern-Oriented Memory Forensics and Malware Detection
2 Books
This training bundle for security engineers and researchers, malware and memory forensics analysts includes two accelerated training courses for Windows memory dump analysis using WinDbg. It is also useful for technical support and escalation engineers who analyze memory dumps from complex software environments and need to check for possible... - #4
Software Architecture
2 Books
"Software Architecture for Developers" is a practical and pragmatic guide to modern, lightweight software architecture, specifically aimed at developers. You'll learn:The essence of software architecture.Why the software architecture role should include coding, coaching and collaboration.The things that you really need to think about before... - #8
All the Books of The Medical Futurist
6 Books
We put together the most popular books from The Medical Futurist to provide a clear picture about the major trends shaping the future of medicine and healthcare. Digital health technologies, artificial intelligence, the future of 20 medical specialties, big pharma, data privacy, digital health investments and how technology giants such as Amazon... - #10
Practical FP in Scala + Functional event-driven architecture
2 Books
Practical FP in Scala (A hands-on approach) & Functional event-driven architecture, aka FEDA, (Powered by Scala 3), together as a bundle! The content of PFP in Scala is a requirement to understand FEDA so why not take advantage of this bundle!?