Learning Laravel's Eloquent
暫譯: 學習 Laravel 的 Eloquent
Francesco Malatesta
- 出版商: Packt Publishing
- 出版日期: 2015-07-30
- 售價: $1,350
- 貴賓價: 9.5 折 $1,283
- 語言: 英文
- 頁數: 148
- 裝訂: Paperback
- ISBN: 1784391581
- ISBN-13: 9781784391584
-
相關分類:
Laravel
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$860$731 -
$1,330Business Model Generation: A Handbook for Visionaries, Game Changers, and Challengers (Paperback)
-
$600$468 -
$360$284 -
$474$450 -
$400$316 -
$740Laravel: Up and Running: A Framework for Building Modern PHP Apps (Paperback)
-
$2,780$2,641 -
$352深入理解 SVG
-
$556HTML 5 與 CSS 3 權威指南 (第4版·上冊)
-
$2,205Effective Python: 90 Specific Ways to Write Better Python, 2/e (Paperback)
-
$305Python 游戲設計案例實戰
-
$356從0到1 HTML5+CSS3修煉之道
-
$607HTML5+CSS3+JavaScript案例實戰
-
$403Web 前端開發精品課 : HTML5 Canvas 開發詳解
相關主題
商品描述
Develop amazing data-based applications with Eloquent, the Laravel framework ORM
About This Book
- Build highly efficient applications with the Eloquent ORM using an expressive syntax
- Get to grips with the power of relationships and how Eloquent handles them
- Go beyond simple theory with various step-by-step code examples
Who This Book Is For
This book is perfect for developers with some basic knowledge of PHP development, but are new to the Eloquent ORM. However, developers with previous Laravel and Eloquent experience will also benefit from the in-depth analysis of specific classes and methodologies in the book.
What You Will Learn
- Configure a new Laravel project and set up database connections in minutes
- Build and work with models to handle your data with an expressive syntax
- Define relations between your models to create complex functionalities
- Query your database using relations simply
- Use collections to gather results and perform many operations on them with a powerful data structure
- Use the Eloquent ORM without Laravel
- Control your models during the request lifecycle with event listeners and observers
In Detail
Learning Laravel's Eloquent starts off by taking you through setting up your first project and guiding you in creating a perfect Laravel environment. You will learn how to build the right database structure with the Migrations system and the Schema Builder class. Next, you will be introduced to the main element of Eloquent: the model. After treating the model as a single, isolated entity, you will learn how to create relations between them. You will be taken through organizing, filtering, and sorting your data with collections. You will then learn to enhance an application with new features using events and by creating new observers. Towards the end of the book, you will discover how to install, configure, and use the Eloquent ORM without Laravel. The book concludes by walking you through how to deal with complex problems and build advanced and flexible systems.
商品描述(中文翻譯)
**使用 Eloquent,Laravel 框架的 ORM 開發驚人的數據驅動應用程式**
## 本書介紹
- 使用表達式語法構建高效能的應用程式,搭配 Eloquent ORM
- 理解關係的強大功能以及 Eloquent 如何處理這些關係
- 通過各種逐步的程式碼範例超越簡單理論
## 本書適合誰
本書非常適合對 PHP 開發有基本知識但對 Eloquent ORM 新手的開發者。然而,具有先前 Laravel 和 Eloquent 經驗的開發者也將從本書對特定類別和方法論的深入分析中受益。
## 您將學到什麼
- 在幾分鐘內配置新的 Laravel 專案並設置資料庫連接
- 構建和使用模型以表達式語法處理您的數據
- 定義模型之間的關係以創建複雜的功能
- 簡單地使用關係查詢您的資料庫
- 使用集合來收集結果並對其執行多種操作,利用強大的數據結構
- 在不使用 Laravel 的情況下使用 Eloquent ORM
- 在請求生命週期中通過事件監聽器和觀察者控制您的模型
## 詳細內容
學習 Laravel 的 Eloquent 從設置您的第一個專案開始,並指導您創建完美的 Laravel 環境。您將學習如何使用 Migrations 系統和 Schema Builder 類構建正確的資料庫結構。接下來,您將被介紹 Eloquent 的主要元素:模型。在將模型視為單一、孤立的實體後,您將學習如何在它們之間創建關係。您將學習如何使用集合組織、過濾和排序您的數據。然後,您將學習如何通過事件和創建新的觀察者來增強應用程式的新功能。在書的最後,您將發現如何在不使用 Laravel 的情況下安裝、配置和使用 Eloquent ORM。本書最後將指導您如何處理複雜問題並構建高級且靈活的系統。