Eleventy by Example: Create powerful, performant websites with a static-first strategy
暫譯: 透過範例學習Eleventy:使用靜態優先策略創建強大且高效的網站
Robinson, Bryan
- 出版商: Packt Publishing
- 出版日期: 2023-05-05
- 售價: $1,260
- 貴賓價: 9.5 折 $1,197
- 語言: 英文
- 頁數: 198
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1804610496
- ISBN-13: 9781804610497
-
相關分類:
Node.js、網頁設計
海外代購書籍(需單獨結帳)
商品描述
Build faster static sites by leveraging CDN and creating custom tools and workflows with 5 real-world projects
Purchase of the print or Kindle book includes a free PDF eBook
Key Features
- Learn how to use and extend 11ty, one of the most flexible static site generators in the industry.
- Optimize your experience by customizing 11ty to suit various projects' needs
- Create request-time experiences without recreating templates with 11ty Serverless
Book Description
11ty is the dark horse of the Jamstack world, offering unparalleled flexibility and performance that gives it an edge against other static site generators such as Jekyll and Hugo. With it, developers can leverage the complete Node ecosystem and create blazing-fast, static-first websites that can be deployed from a content delivery network or a simple server. This book will teach you how to set up, customize, and make the most of 11ty in no time.
Eleventy by Example helps you uncover everything you need to create your first 11ty website before diving into making more complex sites and extending 11ty's base functionality with custom short codes, plugins, and content types. Over the course of 5 interactive projects, you'll learn how to build basic websites, blogs, media sites, and static sites that will respond to user input without the need for a server. With these, you'll learn basic 11ty skills such as templates, collections, and data use, along with advanced skills such as plugin creation, image manipulation, working with a headless CMS, and the use of the powerful 11ty Serverless plugin.
By the end of this book, you'll be well-equipped to leverage the capabilities of 11ty by implementing best practices and reusable techniques that can be applied across multiple projects, reducing the website launch time.
What you will learn
- Create a basic website with reusable templates and globally available data
- Build a blog using 11ty's collections
- Set up a photography site that uses the 11ty Image plugin to deploy properly sized images
- Connect a content management system to provide an enhanced editor and developer experience
- Model an enhanced search experience with no dedicated server through serverless functions and 11ty Serverless
- Boost productivity by creating custom 11ty tools and plugins
Who this book is for
This book is for anyone looking to build efficient websites while shipping less JavaScript to the client. Strong knowledge of HTML and CSS and beginner-level knowledge of JavaScript and the Node.js ecosystem, including querying APIs is a must.
商品描述(中文翻譯)
建構更快速的靜態網站,利用CDN並透過5個實際專案創建自訂工具和工作流程
購買印刷版或Kindle書籍包括免費的PDF電子書
主要特色
- 學習如何使用和擴展11ty,業界最靈活的靜態網站生成器之一。
- 通過自訂11ty以滿足各種專案的需求來優化您的體驗。
- 使用11ty Serverless創建請求時的體驗,而無需重新創建模板。
書籍描述
11ty是Jamstack世界中的黑馬,提供無與倫比的靈活性和性能,使其在其他靜態網站生成器如Jekyll和Hugo中佔有優勢。開發人員可以利用完整的Node生態系統,創建快速的靜態優先網站,這些網站可以從內容傳遞網路或簡單的伺服器部署。本書將教您如何快速設置、定制並充分利用11ty。
《Eleventy by Example》幫助您發現創建第一個11ty網站所需的一切,然後再深入製作更複雜的網站並通過自訂短代碼、插件和內容類型擴展11ty的基本功能。在5個互動專案中,您將學習如何構建基本網站、部落格、媒體網站和靜態網站,這些網站能夠根據用戶輸入做出反應,而無需伺服器。通過這些專案,您將學習基本的11ty技能,如模板、集合和數據使用,以及進階技能,如插件創建、圖像處理、使用無頭CMS和強大的11ty Serverless插件。
在本書結束時,您將能夠利用11ty的功能,實施最佳實踐和可重用技術,這些技術可以應用於多個專案,從而縮短網站上線時間。
您將學習的內容
- 使用可重用模板和全局可用數據創建基本網站
- 使用11ty的集合構建部落格
- 設置一個使用11ty Image插件來部署適當大小圖像的攝影網站
- 連接內容管理系統以提供增強的編輯和開發者體驗
- 通過無伺服器功能和11ty Serverless建模增強的搜索體驗,而無需專用伺服器
- 通過創建自訂的11ty工具和插件來提高生產力
本書適合誰
本書適合任何希望構建高效網站的人,同時減少發送到客戶端的JavaScript。必須具備HTML和CSS的強大知識,以及JavaScript和Node.js生態系統的初級知識,包括查詢API。
目錄大綱
1. Setting up Your Website
2. Adding Data to Your 11ty Website
3. Deploying to a Static Site Host
4. Building a Blog with Collections
5. Creating Custom Shortcodes to Add Mixed Media to Markdown
6. Building a Photography Site with the 11ty Image Plugin
7. Building a Podcast Website with 11ty Plugins and Custom Outputs
8. Creating a Static-Site Search with 11ty Serverless and Algolia
9. Integrating 11ty with a Headless CMS
10. Creating Custom 11ty Plugins
目錄大綱(中文翻譯)
1. Setting up Your Website
2. Adding Data to Your 11ty Website
3. Deploying to a Static Site Host
4. Building a Blog with Collections
5. Creating Custom Shortcodes to Add Mixed Media to Markdown
6. Building a Photography Site with the 11ty Image Plugin
7. Building a Podcast Website with 11ty Plugins and Custom Outputs
8. Creating a Static-Site Search with 11ty Serverless and Algolia
9. Integrating 11ty with a Headless CMS
10. Creating Custom 11ty Plugins