Drupal 8 Theming with Twig(Paperback)

Chaz Chumley

  • 出版商: Packt Publishing
  • 出版日期: 2016-03-28
  • 售價: $1,980
  • 貴賓價: 9.5$1,881
  • 語言: 英文
  • 頁數: 376
  • 裝訂: Paperback
  • ISBN: 1782168737
  • ISBN-13: 9781782168737
  • 相關分類: Drupal
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

Master Drupal 8's new Twig templating engine to create fun and fast websites with simple steps to help you move from concept to completion

About This Book

  • Create beautiful responsive Drupal 8 websites using Twig
  • Quickly master theme administration, custom block layouts, views, and the Twig template structure
  • A step-by-step guide to the most common approaches in web design

Who This Book Is For

This book is intended for front-end developers, designers, and anyone who is generally interested in learning all the new features of Drupal 8 theming. Discover what has changed from Drupal 7 to Drupal 8 and immerse yourself in the new Twig PHP templating engine. Familiarity with HTML5, CSS3, JavaScript, and the Drupal Admin interface would be helpful. Prior experience with setting up and configuring a standalone development environment is required as we will be working with PHP and MySQL.

What You Will Learn

  • Navigate the Drupal 8 Admin interface
  • Build custom block layouts with reusable and fieldable blocks
  • Create subthemes based on the Bartik and Classy base themes
  • Construct a responsive theme with Twitter Bootstrap
  • Work with the new Twig PHP templating engine
  • Configure Drupal for Twig debugging
  • Enable preprocessing of Twig variables
  • Develop a theme from scratch following a step-by-step project outline

In Detail

Drupal 8 is an open source content management system and powerful framework that helps deliver great websites to individuals and organizations, including non-profits, commercial, and government around the globe. This new release has been built on top of object-oriented PHP and includes more than a handful of improvements such as a better user experience, cleaner HTML5 markup, a new templating engine called Twig, multilingual capabilities, new configuration management, and effortless content authoring. Drupal 8 will quickly become the new standard for deploying content to both the web and mobile applications. However, with so many new changes, it can quickly become overwhelming knowing where to start and how to quickly.

Starting from the bottom up, we will install, set up, and configure Drupal 8. We'll navigate the Admin interface so you can learn how to work with core themes and create new custom block layouts. Walk through a real-world project to create a Twig theme from concept to completion while adopting best practices to implement CSS frameworks and JavaScript libraries. We will see just how quick and easy it is to create beautiful, responsive Drupal 8 websites while avoiding the common mistakes that many front-end developers make.

Style and approach

Drupal 8 Theming with Twig is intended for front-end developers, designers, and anyone who is generally interested in learning all the new features of Drupal 8 theming. Discover what has changed from Drupal 7 to Drupal 8 and immerse yourself in the new Twig PHP templating engine. Familiarity with HTML5, CSS3, JavaScript, and the Drupal Admin interface would be helpful. Prior experience with setting up and configuring a standalone development environment is required as we will be working with PHP and MySQL.

商品描述(中文翻譯)

使用Drupal 8的新Twig模板引擎,以簡單的步驟從概念到完成,創建有趣且快速的網站。

關於本書:
- 使用Twig創建美觀響應式的Drupal 8網站
- 快速掌握主題管理、自定義區塊佈局、視圖和Twig模板結構
- 逐步指南,介紹網頁設計中最常見的方法

本書適合對Drupal 8主題設計的前端開發人員、設計師和對學習所有新功能感興趣的人。了解從Drupal 7到Drupal 8的變化,並深入研究新的Twig PHP模板引擎。熟悉HTML5、CSS3、JavaScript和Drupal管理界面將有所幫助。需要有設置和配置獨立開發環境的先前經驗,因為我們將使用PHP和MySQL。

你將學到什麼:
- 瀏覽Drupal 8管理界面
- 使用可重用和可字段化的區塊構建自定義區塊佈局
- 基於Bartik和Classy基礎主題創建子主題
- 使用Twitter Bootstrap構建響應式主題
- 使用新的Twig PHP模板引擎
- 配置Drupal進行Twig調試
- 啟用Twig變量的預處理
- 根據逐步項目大綱從頭開始開發主題

詳細內容:
Drupal 8是一個開源的內容管理系統和強大的框架,可幫助個人和組織(包括非營利組織、商業和政府)在全球範圍內提供出色的網站。這個新版本是建立在面向對象的PHP之上的,包括許多改進,如更好的用戶體驗、更乾淨的HTML5標記、一個名為Twig的新模板引擎、多語言能力、新的配置管理和輕鬆的內容創作。Drupal 8將迅速成為將內容部署到Web和移動應用程序的新標準。然而,由於有這麼多的新變化,很容易讓人感到不知從何處開始和如何快速上手。

從頭開始,我們將安裝、設置和配置Drupal 8。我們將瀏覽管理界面,以便您學習如何使用核心主題並創建新的自定義區塊佈局。通過一個真實的項目,從概念到完成創建一個Twig主題,同時採用最佳實踐來實現CSS框架和JavaScript庫。我們將看到創建美麗、響應式的Drupal 8網站有多快且容易,同時避免許多前端開發人員常犯的錯誤。

風格和方法:
《Drupal 8 Theming with Twig》適用於前端開發人員、設計師和對學習Drupal 8主題設計的所有新功能感興趣的人。了解從Drupal 7到Drupal 8的變化,並深入研究新的Twig PHP模板引擎。熟悉HTML5、CSS3、JavaScript和Drupal管理界面將有所幫助。需要有設置和配置獨立開發環境的先前經驗,因為我們將使用PHP和MySQL。