Mastering Symfony(Paperback)
暫譯: 精通 Symfony(平裝本)
Sohail Salehi
- 出版商: Packt Publishing
- 出版日期: 2016-04-27
- 售價: $1,840
- 貴賓價: 9.5 折 $1,748
- 語言: 英文
- 頁數: 290
- 裝訂: Paperback
- ISBN: 1784390313
- ISBN-13: 9781784390310
海外代購書籍(需單獨結帳)
相關主題
商品描述
Orchestrate the designing, development, testing, and deployment of web applications with Symfony
About This Book
- Create a robust and reliable Symfony development pipeline using Amazon's cloud platform
- Cut development and maintenance costs by defining crystal clear features and possible scenarios for each feature before implementation
- Follow detailed examples provided in each chapter to create a task management application
Who This Book Is For
If you are a PHP developer with some experience in Symfony and are looking to master the framework and use it to its full potential, then this book is for you. Though experience with PHP, object-oriented techniques, and Symfony basics is assumed, this book will give you a crash course on the basics and then proceed to more advanced topics.
What You Will Learn
- Install and configure Symfony and required third-party bundles to develop a task management application
- Set up a continuous integration server to orchestrate automatic builds every time you add a new feature to your project
- Reduce maintenance costs dramatically using Behaviour Driven Development (BDD)
- Create a slick user interface using the Bootstrap framework
- Design robust business logic using Doctrine
- Build a comprehensive dashboard and secure your project using the Sonata project
- Improve performance using Redis, Memcache, and Varnish
- Create customized Symfony commands and add them to your console
In Detail
In this book, you will learn some lesser known aspects of development with Symfony, and you will see how to use Symfony as a framework to create reliable and effective applications. You might have developed some impressive PHP libraries in other projects, but what is the point when your library is tied to one particular project? With Symfony, you can turn your code into a service and reuse it in other projects.
This book starts with Symfony concepts such as bundles, routing, twig, doctrine, and more, taking you through the request/response life cycle. You will then proceed to set up development, test, and deployment environments in AWS. Then you will create reliable projects using Behat and Mink, and design business logic, cover authentication, and authorization steps in a security checking process. You will be walked through concepts such as DependencyInjection, service containers, and services, and go through steps to create customized commands for Symfony's console. Finally, the book covers performance optimization and the use of Varnish and Memcached in our project, and you are treated with the creation of database agnostic bundles and best practices.
商品描述(中文翻譯)
**協調設計、開發、測試和部署使用 Symfony 的網頁應用程式**
## 本書介紹
- 使用亞馬遜的雲端平台創建一個穩健且可靠的 Symfony 開發管道
- 通過在實施之前定義清晰明確的功能和可能的場景來降低開發和維護成本
- 按照每章提供的詳細範例創建一個任務管理應用程式
## 本書適合誰
如果您是一位具有一定 Symfony 經驗的 PHP 開發者,並希望精通該框架並充分利用其潛力,那麼這本書適合您。雖然假設您對 PHP、物件導向技術和 Symfony 基礎知識有一定了解,但本書將為您提供基礎知識的速成課程,然後進入更高級的主題。
## 您將學到什麼
- 安裝和配置 Symfony 及所需的第三方套件以開發任務管理應用程式
- 設置持續集成伺服器,以協調每次添加新功能時的自動構建
- 使用行為驅動開發(BDD)顯著降低維護成本
- 使用 Bootstrap 框架創建流暢的用戶界面
- 使用 Doctrine 設計穩健的業務邏輯
- 使用 Sonata 專案構建全面的儀表板並保護您的專案
- 使用 Redis、Memcache 和 Varnish 改善性能
- 創建自定義的 Symfony 命令並將其添加到您的控制台
## 詳細內容
在本書中,您將學習一些使用 Symfony 開發的較少為人知的方面,並將看到如何使用 Symfony 作為框架來創建可靠且有效的應用程式。您可能在其他專案中開發了一些令人印象深刻的 PHP 函式庫,但當您的函式庫與特定專案綁定時,這有什麼意義呢?使用 Symfony,您可以將代碼轉換為服務,並在其他專案中重用它。
本書從 Symfony 的概念開始,例如套件、路由、Twig、Doctrine 等,帶您了解請求/回應的生命週期。然後,您將在 AWS 中設置開發、測試和部署環境。接著,您將使用 Behat 和 Mink 創建可靠的專案,設計業務邏輯,涵蓋安全檢查過程中的身份驗證和授權步驟。您將學習依賴注入(Dependency Injection)、服務容器和服務等概念,並了解如何為 Symfony 的控制台創建自定義命令。最後,本書涵蓋性能優化以及在我們的專案中使用 Varnish 和 Memcached,並介紹創建與資料庫無關的套件和最佳實踐。