Learning Laravel's Eloquent
Francesco Malatesta
- 出版商: Packt Publishing
- 出版日期: 2015-07-30
- 售價: $1,340
- 貴賓價: 9.5 折 $1,273
- 語言: 英文
- 頁數: 148
- 裝訂: Paperback
- ISBN: 1784391581
- ISBN-13: 9781784391584
-
相關分類:
Laravel
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$860$774 -
$1,400$1,330 -
$600$468 -
$360$284 -
$403Laravel 框架關鍵技術解析
-
$400$316 -
$740Laravel: Up and Running: A Framework for Building Modern PHP Apps (Paperback)
-
$2,750$2,613 -
$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.
商品描述(中文翻譯)
使用Laravel框架的ORM Eloquent開發令人驚艷的基於數據的應用程式
關於本書
- 使用表達性語法使用Eloquent ORM構建高效應用程式
- 瞭解關係的強大功能以及Eloquent如何處理它們
- 通過多個逐步代碼示例深入理解
適合閱讀對象
本書適合具備一些PHP開發基礎知識但對Eloquent ORM尚不熟悉的開發人員。然而,具有先前Laravel和Eloquent經驗的開發人員也可以從本書中深入分析特定類別和方法謀取益處。
你將學到什麼
- 在幾分鐘內配置新的Laravel項目並建立數據庫連接
- 使用表達性語法構建和處理模型以處理數據
- 定義模型之間的關係以創建複雜功能
- 簡單地使用關係查詢數據庫
- 使用集合收集結果並對其執行多個操作
- 在沒有Laravel的情況下使用Eloquent ORM
- 通過事件監聽器和觀察者在請求生命週期中控制模型
詳細內容
《學習Laravel的Eloquent》首先帶領你進行第一個項目的設置,並指導你創建完美的Laravel環境。你將學習如何使用遷移系統和Schema Builder類建立正確的數據庫結構。接下來,你將介紹Eloquent的主要元素:模型。在將模型視為單個獨立實體後,你將學習如何在它們之間建立關係。你將通過使用集合來組織、過濾和排序數據。然後,你將學習如何使用事件和創建新的觀察者來增強應用程式的功能。本書的最後,你將發現如何在沒有Laravel的情況下安裝、配置和使用Eloquent ORM。本書以引導你解決複雜問題並構建高級靈活系統的方式結束。