Book Image

SvelteKit Up and Running

By : Dylan Hildenbrand
Book Image

SvelteKit Up and Running

By: Dylan Hildenbrand

Overview of this book

The JavaScript ecosystem has grown vast, complex, and daunting for newcomers. Fortunately, SvelteKit has emerged, simplifying the process of building JavaScript-based web applications. This book aims to demystify SvelteKit, making it as approachable as it makes web app development. With SvelteKit Up and Running you’ll be introduced to the philosophy and technologies underlying SvelteKit. First, you’ll follow a standard educational programming approach, progressing to a 'Hello World' application. Next, you’ll explore the fundamental routing techniques, data loading management, and user submission, all through real-world scenarios commonly encountered in day-to-day development, before discovering various adapters employed by SvelteKit to seamlessly integrate with diverse environments. You’ll also delve into advanced concepts like dynamic route management, error handling, and leveraging SvelteKit to optimize SEO and accessibility. By the end of this book, you’ll have mastered SvelteKit and will be well-equipped to navigate the complexities of web app development.
Table of Contents (19 chapters)
1
Part 1 – Getting Started with SvelteKit
5
Part 2 – Core Concepts
10
Part 3 – Supplemental Concepts

Index

As this ebook edition doesn't have fixed pagination, the page numbers below are hyperlinked for reference only, based on the printed edition of this book.

A

accessibility enhancements 128, 129

actions

analyzing 60

database setup 61

login action 63-65

passwords 62, 63

security 62, 63

working 38-40

adapters 88

adapter-cloudflare 90-93

adapter-node 88-90

adapter-static 93, 94

advanced layouts 79-81

API endpoints 40, 41

app

adapting 88

assets

importing 112-114

B

bcrypt 62

Bootstrap 112

C

Cascading Style Sheet (CSS) 112

Chrome

cookie, creating for 55

client

data loading 46, 47

client-side rendering (CSR) 38

Compile-Time Checks 126, 127

Content Delivery Network (CDN) 15, 115

Content Security Policy (CSP) 14

cookie

creating, for Chrome 55

creating, for Firefox 55

cross-site request forgery (CSRF) attacks 15, 89

cross-site scripting (XSS) attacks...