Getting Started with Laravel 4
Raphael Saunier
- 出版商: Packt Publishing
- 出版日期: 2014-01-20
- 售價: $1,500
- 貴賓價: 9.5 折 $1,425
- 語言: 英文
- 頁數: 128
- 裝訂: Paperback
- ISBN: 1783287039
- ISBN-13: 9781783287031
-
相關分類:
Laravel
海外代購書籍(需單獨結帳)
相關主題
商品描述
Discover Laravel – one of the most expressive, robust, and flexible PHP web application frameworks around
Overview
- Provides a concise introduction to all the concepts needed to get started with Laravel
- Walks through the different steps involved in creating a complete Laravel application
- Gives an overview of Laravel's advanced features that can be used when applications grow in complexity
- Learn how to build structured, more maintainable, and more secure applications with less code by using Laravel
In Detail
PHP powers many of the largest websites on the planet. Yet, even though it was specifically created for the Web, its shortcomings never cease to frustrate developers. This is where a tool like Laravel comes in. Rather than reinventing the wheel, Laravel reuses tried and tested components and principles and bundles them to form a cohesive whole and makes PHP development enjoyable again.
Getting Started with Laravel 4 is a practical and concise introduction to the Laravel PHP framework. It covers its fundamental concepts and presents the many features that will boost your productivity when developing web applications. After introducing the key concepts and installing Composer, you will build a CRUD application and add more features to it in each successive chapter.
This book introduces you to a different and more enjoyable way of writing PHP applications. You will start by learning about the key principles and the same development practices that Laravel encourages. Then, in subsequent chapters, you will create and successively add more features to a web application.
You will learn how to use the arsenal of tools at your disposal and probably pick up some useful techniques along the way. Indeed, everything you will learn in this book is highly transferrable and applicable to other MVC frameworks. Laravel's routing mechanism, templating language, and object-relational mapper will have no more secrets for you. You will learn how to authenticate users, write tests, and create command line utilities that interact with your application with disconcerting ease. In addition to this, you will probably be surprised by the simplicity and expressiveness of your code.
What you will learn from this book
- Install Laravel and other PHP packages with Composer
- Sketch out and structure your application with routes and controllers
- Create hierarchical templates with Blade
- Define models and how to issue database queries in PHP with Eloquent
- Authenticate users securely with minimal effort
- Avoid security issues and write bulletproof code
- Develop with confidence with the help of tests
- Set up and create powerful command line utilities
Approach
This book follows a practical and easy-to-follow approach and is packed with real-world examples to understand all the fundamentals and concepts in a very concise way.
Who this book is written for
This book is ideal for web developers who want to get up to speed with Laravel quickly. You are expected to have some experience with the PHP programming language - or any C-like languages such as JavaScript , Perl, or Java along with some understanding of basic OOP concepts. Any experience with MVC frameworks such as ASP.NET MVC or Ruby on Rails will certainly be beneficial but not required. Lastly, some familiarity with command line interfaces will also help but is not essential either.
商品描述(中文翻譯)
探索 Laravel - 一個最具表達力、強大和靈活的 PHP 網頁應用程式框架之一。
概述:
- 提供簡明的 Laravel 入門介紹,涵蓋所有必要的概念。
- 逐步介紹建立完整 Laravel 應用程式的不同步驟。
- 概述 Laravel 的高級功能,可在應用程式複雜度增加時使用。
- 透過使用 Laravel,學習如何以更少的程式碼建立結構化、更易維護和更安全的應用程式。
詳細內容:
PHP 是許多全球最大網站的動力來源。然而,儘管它專為網頁而創建,但它的缺點仍然讓開發人員感到沮喪。這就是 Laravel 這樣的工具派上用場的地方。 Laravel 不重新發明輪子,而是重複使用經過驗證的元件和原則,並將它們捆綁在一起形成一個統一的整體,使 PHP 開發再次變得愉快。
《Getting Started with Laravel 4》是 Laravel PHP 框架的實用而簡明的入門指南。它涵蓋了基本概念並介紹了在開發網頁應用程式時提高生產力的許多功能。在介紹關鍵概念並安裝 Composer 後,您將在每個後續章節中建立一個 CRUD 應用程式並添加更多功能。
本書將介紹一種不同且更愉快的撰寫 PHP 應用程式的方式。您將首先學習 Laravel 鼓勵的關鍵原則和相同的開發實踐。然後,在後續章節中,您將創建並逐步添加更多功能到一個網頁應用程式中。
您將學習如何使用您可用的工具集,並可能掌握一些有用的技巧。事實上,您在本書中學到的一切都是高度可轉移和適用於其他 MVC 框架的。 Laravel 的路由機制、模板語言和物件關聯映射器將不再是秘密。您將學習如何驗證使用者、撰寫測試並輕鬆地創建與應用程式互動的命令行工具。此外,您可能會對代碼的簡單性和表達性感到驚訝。
本書將學到的內容:
- 使用 Composer 安裝 Laravel 和其他 PHP 套件
- 使用路由和控制器概念規劃和結構化應用程式
- 使用 Blade 創建階層式模板
- 使用 Eloquent 在 PHP 中定義模型並發出資料庫查詢
- 安全地驗證使用者,並避免安全問題和撰寫堅固的程式碼
- 透過測試自信地開發
- 設置和創建強大的命令行工具
方法:
本書採用實用且易於理解的方法,並提供了許多實際範例,以非常簡潔的方式理解所有基礎概念。
本書適合對 Laravel 想要快速上手的網頁開發人員。您需要具備一些 PHP 程式語言的經驗,或者對基本的物件導向程式設計概念有一定的了解,例如 JavaScript、Perl 或 Java 等類似 C 的語言。對於 MVC 框架(如 ASP.NET MVC 或 Ruby on Rails)的經驗肯定有所幫助,但不是必需的。最後,對命令行介面的一些熟悉也有所幫助,但也不是必要的。