Learning Phalcon PHP

Calin Rada

  • 出版商: Packt Publishing
  • 出版日期: 2015-08-31
  • 售價: $2,180
  • 貴賓價: 9.5$2,071
  • 語言: 英文
  • 頁數: 328
  • 裝訂: Paperback
  • ISBN: 1783555092
  • ISBN-13: 9781783555093
  • 相關分類: PHP
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Learn Phalcon interactively and build high performance web applications

About This Book

  • Learn how to install and configure Phalcon PHP on your server
  • Develop a fully functional multi-module application with Phalcon PHP
  • A step-by-step guide with in-depth coverage of Phalcon and best practices

Who This Book Is For

If you are a web developer and want to build effective web applications with Phalcon PHP, then this book is ideal for you. The book does not assume detailed knowledge of PHP frameworks.

What You Will Learn

  • Compile and install Phalcon from source code
  • Set up an MVC project and learn how to use the Dependency Injection (DI), configuration, and routing
  • Get to grips with Phalcon's ORM, ODM, validation and caching, and generate models using Phalcon Developer Tools
  • Create a command-line application from scratch
  • Write a fully functional REST module with Phalcon PHP
  • Use Volt as template engine to create your first views
  • Understand how session works and learn how to implement an authentication system

In Detail

Phalcon is a full-stack PHP framework implemented as a C extension. Building applications with Phalcon will offer you lower resource consumption and high performance whether your application runs on a Linux machine or a Windows one. Phalcon is loosely coupled, allowing you to use its objects as glue components based on the needs of your application. Phalcon PHP's mission is to give you an advanced tool to develop faster websites and applications.

This book covers the most common and useful parts of PhalconPHP, which will guide you to make the right decisions while developing a Phalcon-driven application.

You will begin the journey by installing and setting up Phalcon for your environment followed by the development of each module. You will be introduced to Phalcon's ORM and ODM. Furthermore, you will also be able to create the first models and database architecture for your project. You will then cover command-line applications, API module, volt syntax, and hierarchical views. Installing and working with Node and Bower for assets management will also be covered. Finally, you will gain insights into creating the backoffice and frontend module along with best practices and resources for development with Phalcon PHP.

By the end of this book, you will be able to confidently develop any kind of application using the Phalcon PHP framework in a short time.

Style and approach

This step-by-step guide will walk you through the fundamentals of Phalcon PHP. It will then help you to create a simple but fully functional news website and gain advanced knowledge of how Phalcon PHP works.

商品描述(中文翻譯)

學習Phalcon並以互動方式建立高效能的網路應用程式

關於本書
- 學習如何在伺服器上安裝和配置Phalcon PHP
- 使用Phalcon PHP開發完整功能的多模組應用程式
- 提供深入涵蓋Phalcon和最佳實踐的逐步指南

本書適合對象
- 如果您是網路開發人員,並且想要使用Phalcon PHP建立有效的網路應用程式,那麼本書非常適合您。本書不需要對PHP框架有詳細的了解。

您將學到什麼
- 從原始碼編譯和安裝Phalcon
- 設置MVC專案,並學習如何使用依賴注入(DI)、配置和路由
- 熟悉Phalcon的ORM、ODM、驗證和快取,並使用Phalcon開發工具生成模型
- 從頭開始創建命令行應用程式
- 使用Phalcon PHP撰寫完整功能的REST模組
- 使用Volt作為模板引擎來創建您的第一個視圖
- 了解會話的運作方式,並學習如何實現身份驗證系統

詳細內容
- Phalcon是一個以C擴展實現的全棧PHP框架。使用Phalcon構建應用程式將為您提供更低的資源消耗和高性能,無論您的應用程式運行在Linux機器還是Windows機器上。Phalcon鬆散耦合,允許您根據應用程式的需求使用其物件作為黏合組件。Phalcon PHP的使命是為您提供一個先進的工具,以開發更快速的網站和應用程式。

本書涵蓋了PhalconPHP的最常見和有用的部分,將引導您在開發Phalcon驅動的應用程式時做出正確的決策。

您將從安裝和設置Phalcon開始,然後進行每個模組的開發。您將介紹Phalcon的ORM和ODM。此外,您還將能夠為專案創建第一個模型和資料庫架構。然後,您將涵蓋命令行應用程式、API模組、Volt語法和階層式視圖。還將涵蓋安裝和使用Node和Bower進行資源管理。最後,您將獲得有關使用Phalcon PHP進行開發的最佳實踐和資源的見解。

通過閱讀本書,您將能夠自信地在短時間內使用Phalcon PHP框架開發任何類型的應用程式。

風格和方法
- 這本逐步指南將引導您了解Phalcon PHP的基礎知識。然後,它將幫助您創建一個簡單但功能完整的新聞網站,並獲得有關Phalcon PHP運作方式的高級知識。