Hack and HHVM: Programming Productivity Without Breaking Things (Paperback)

Owen Yamauchi

  • 出版商: O'Reilly
  • 出版日期: 2015-10-20
  • 定價: $1,398
  • 售價: 9.5$1,328
  • 貴賓價: 9.0$1,258
  • 語言: 英文
  • 頁數: 284
  • 裝訂: Paperback
  • ISBN: 1491920874
  • ISBN-13: 9781491920879
  • 相關分類: PHP
  • 相關翻譯: Hack與HHVM權威指南 (簡中版)
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

How can you take advantage of the HipHop Virtual Machine (HHVM) and the Hack programming language, two new technologies that Facebook developed to run their web servers? With this practical guide, Owen Yamauchi—a member of Facebook’s core Hack and HHVM teams—shows you how to get started with these battle-tested open-source tools.

You’ll explore static typechecking and several other features that separate Hack from its PHP origins, and learn how to set up, configure, deploy, and monitor HHVM. Ideal for developers with basic PHP knowledge or experience with other languages, this book also demonstrates how these tools can be used with existing PHP codebases and new projects alike.

  • Learn how Hack provides static typechecking while retaining PHP’s flexible, rapid development capability
  • Write typesafe code with Hack’s generics feature
  • Explore HHVM, a just-in-time compilation runtime engine with full PHP compatibility
  • Dive into Hack collections, asynchronous functions, and the XHP extension for PHP
  • Understand Hack’s design rationale, including why it omits some PHP features
  • Use Hack for multitasking, and for generating HTML securely
  • Learn tools for working with Hack code, including PHP-to-Hack migration

商品描述(中文翻譯)

如何利用HipHop虛擬機器(HHVM)和Hack程式語言這兩個Facebook開發的新技術來運行網頁伺服器?在這本實用指南中,Facebook核心Hack和HHVM團隊成員Owen Yamauchi向您展示如何使用這些經過實戰驗證的開源工具。

您將探索靜態類型檢查和其他幾個區分Hack和其PHP起源的功能,並學習如何設置、配置、部署和監控HHVM。這本書非常適合具有基本PHP知識或其他語言經驗的開發人員,並展示了這些工具如何與現有的PHP代碼庫和新項目一起使用。

- 學習Hack提供靜態類型檢查,同時保留PHP的靈活、快速開發能力
- 使用Hack的泛型功能編寫類型安全的代碼
- 探索HHVM,一個具有完全PHP兼容性的即時編譯運行時引擎
- 深入研究Hack集合、異步函數和用於PHP的XHP擴展
- 了解Hack的設計原理,包括為什麼省略了一些PHP功能
- 使用Hack進行多任務處理,以及安全生成HTML
- 學習處理Hack代碼的工具,包括從PHP遷移至Hack