Laravel Starter

Shawn McCool

  • 出版商: Packt Publishing
  • 出版日期: 2012-11-11
  • 售價: $940
  • 貴賓價: 9.5$893
  • 語言: 英文
  • 頁數: 64
  • 裝訂: Paperback
  • ISBN: 1782160906
  • ISBN-13: 9781782160908
  • 相關分類: Laravel
  • 下單後立即進貨 (約3~4週)

商品描述

The definitive introduction to the Laravel PHP web development framework.

Overview

  • Create databases and models using Laravel migrations and the powerful Eloquent model
  • Get started with a useful application example that is immediately applicable to real-world applications
  • Learn how to implement powerful relationships with Eloquent

In Detail

Laravel is fundamentally changing the PHP web-development landscape. Laravel is bringing the paradigm-shifts that PHP developers have been craving. We now can take control of our application architecture and advance our craft without needing to fight against our tools. Laravel's philosophy is to provide a highly flexible architecture and an extremely expressive API while emphasizing PHP’s strengths and abstracting out its weaknesses. For these reasons Laravel is ideal for quickly creating high performance, robust applications. By providing developers with tools for automating tasks including database schema modification, CRUD operations, and testing we're able to reduce our workload, application complexity, and human-error.

"Laravel Starter" is the ideal introduction to this game-changing framework. Learn best-practiced approaches to web-application development with Laravel from a seasoned professional.

It starts out by installing and configuring the framework step-by-step. Then you'll use Laravel best-practices to create a private user administration system that is ready for real-world use. The later part deals with digging deep into Eloquent relationships, exploring the different relationship types and how Eloquent is working under-the-hood to simplify your life without forcing you to relinquish control. Exploring Laravel's simple yet flexible authentication system, data validation, and filters allows you to easily run code before and after your controller actions. Finally, it discusses Laravel bundles, the most flexible PHP modular code implementation in its weightclass.

Focused on the how as much as the why, Laravel Starter gives you the tools to immediately begin creating professional web-applications with Laravel.

What you will learn from this book

  • How to install and configure Laravel
  • Creating and using Eloquent models
  • How to understand and utilize Eloquent relationships
  • Routing to controllers and closures
  • Using Laravel's authentication system
  • Utilizing filters to secure your site's private areas
  • Learn how to use bundles to add functionality to your site
  • Use Laravel's validator class to validate your forms or anything else
  • Use form and HTML helpers to abstract and ease working with some HTML elements

Approach

This book is a practical, task-based, step-by-step tutorial that demonstrates topics ranging from MVC code-separation, to code-modularity, to utilizing ActiveRecord for data abstraction which are explained from the ground-up to provide a strong framework of understanding for creating professional web-applications with Laravel.

Who this book is written for

This book is ideal for programmers familiar with PHP who are interested in learning the Laravel way of solving the common problems faced in their day to day work.

商品描述(中文翻譯)

這本書是 Laravel PHP 網頁開發框架的權威介紹。

概述:
- 使用 Laravel 遷移和強大的 Eloquent 模型來建立資料庫和模型
- 以實際應用範例開始,可立即應用於真實世界的應用程式
- 學習如何使用 Eloquent 實現強大的關聯

詳細內容:
Laravel 徹底改變了 PHP 網頁開發的風景。Laravel 帶來了 PHP 開發人員一直渴望的範式轉變。現在,我們可以掌控應用程式架構,提升我們的技藝,而不需要與工具對抗。Laravel 的理念是提供高度靈活的架構和極具表達力的 API,同時強調 PHP 的優勢並抽象出其弱點。因此,Laravel 非常適合快速創建高性能、強大的應用程式。通過為開發人員提供自動化任務工具,包括資料庫架構修改、CRUD 操作和測試,我們能夠減少工作量、應用程式複雜性和人為錯誤。

《Laravel 入門》是這個具有改變遊戲規則的框架的理想入門。從經驗豐富的專業人士那裡學習使用 Laravel 進行網頁應用程式開發的最佳實踐方法。

它首先逐步安裝和配置框架。然後,您將使用 Laravel 的最佳實踐方法創建一個私人用戶管理系統,該系統已經準備好供實際應用使用。後面的部分深入探討 Eloquent 關聯,探索不同的關聯類型以及 Eloquent 如何在幕後工作,簡化您的生活,而不需要放棄控制權。探索 Laravel 的簡單而靈活的身份驗證系統、資料驗證和過濾器,可以讓您在控制器操作之前和之後輕鬆運行代碼。最後,它討論了 Laravel bundles,這是最靈活的 PHP 模塊化代碼實現之一。

《Laravel 入門》不僅關注為什麼,還關注如何,為您提供立即開始使用 Laravel 創建專業網頁應用程式的工具。

從本書中您將學到:
- 如何安裝和配置 Laravel
- 創建和使用 Eloquent 模型
- 如何理解和利用 Eloquent 關聯
- 路由到控制器和閉包
- 使用 Laravel 的身份驗證系統
- 利用過濾器保護網站的私有區域
- 學習如何使用 bundles 為您的網站添加功能
- 使用 Laravel 的驗證器類驗證表單或其他內容
- 使用表單和 HTML 助手來抽象和簡化使用某些 HTML 元素的工作

這本書是一本實用的、基於任務的、逐步教學的教程,從 MVC 代碼分離、代碼模塊化到使用 ActiveRecord 進行數據抽象,從頭開始解釋,為使用 Laravel 創建專業網頁應用程式提供了堅實的理解框架。

這本書適合熟悉 PHP 的程式設計師,他們有興趣學習 Laravel 解決日常工作中遇到的常見問題的方法。