5 options
Unleashing the Power of Astro / Tamas Piros.
- Format:
- Book
- Author/Creator:
- Piros, Tamas, author.
- Language:
- English
- Subjects (All):
- Web site development.
- Web sites--Design.
- Web sites.
- Physical Description:
- 1 online resource (44 pages)
- Edition:
- First edition.
- Place of Publication:
- Cremorne, VIC : SitePoint Pty. Ltd., [2021]
- Summary:
- Astro is a modern static site generator that allows developers to build fast, optimized websites--a critical requirement in today's rapidly evolving ecosystem, where user demands are high. Astro's story goes back to 2021, when Fred K. Schott released the first version of the framework. At the time of writing this tutorial, Astro is already at version 4 and has seen many amazing features added to it. Astro has gained popularity over its brief existence, due to: its innovative approach to creating websites, which emphasizes performance its smooth developer experience its ability to blend various other frameworks seamlessly Astro truly is a force to be reckoned with. In this book, we cover: Getting Started with the Basics of Astro , where we'll go over the key concepts, discover what an Astro file looks like, and introduce the demo we'll be using throughout Rendering Options in Astro: Building a Layout , which focused on layouts and the various rendering options available at our disposal with Astro. Fetching and Using Data with Astro , in which we'll explore how to retrieve data in Astro. Getting Started with Content Collections and View Transitions in Astro , where we'll firstly look at content collections, which empower us to effectively manage our content while also enabling data validation and TypeScript type safety for all the content within an Astro project. We'll also look at View Transitions, available in Astro since version 3. Image Optimization and Deploying Our First Astro Site , where we'll look at the image optimization options offered by Astro, and we'll learn how to deploy a production-ready site built with Astro.
- Contents:
- Unleashing the Power of Astro
- Notice of Rights
- Notice of Liability
- Trademark Notice
- About SitePoint
- About the Author
- Preface
- Who Should Read This Book?
- Conventions Used
- Supplementary Materials
- Chapter 1: Getting Started with the Basics of Astro
- Key Concepts of Astro
- Getting Started with Astro
- Project Structure
- Anatomy of an Astro File
- Client-side JavaScript vs Build-time JavaScript
- Styling an Astro Component
- Demo
- Conclusion
- Chapter 2: Rendering Options in Astro: Building a Layout
- Layouts in Astro
- Components
- Routing
- Server-side Rendering
- Server-side Rendering Routes
- Hydration of Interactive Components
- Chapter 3: Fetching and Using Data with Astro
- Working with GraphQL
- Data Retrieval from a Server Endpoint
- Forms
- Headless CMS
- Chapter 4: Getting Started with Content Collections and View Transitions in Astro
- Getting Started with Content Collections
- View Transitions
- Chapter 5: Image Optimization and Deploying Our First Astro Site
- The Image component
- Performance
- Deployment
- Conclusion.
- Notes:
- Description based on publisher supplied metadata and other sources.
- Description based upon print version of record.
- Description based on print version record.
- ISBN:
- 9781925836608
- 1925836606
- OCLC:
- 1420635248
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.