Book description
Learn to leverage the power of Svelte to produce web applications that are efficient and fast. This project-oriented book simplifies creating sites using Svelte from start to finish, with little more than a text editor and familiar languages such as HTML, CSS, and JavaScript. It equips you with a starting toolset that you can use to develop future projects, incorporate into your existing workflow, and allow you to take your websites to the next level.Practical Svelte is an excellent resource for getting acquainted with creating and manipulating websites or online applications using a component framework approach. It takes the view that we don’t have to create something complex and unwieldy. We can build something quickly, using less code than some of its competitors, and extend it using the power of the API and plugins over time, without sacrificing speed or features.
You will learn how to use the Svelte framework to rapidly create and deploy websites or online applications that are performant, with the minimum of fuss and using existing tools already available in the browser, get up to speed with individual features of the Svelte framework, and work through a series of small projects that will combine to produce a finished site at the end of the book – this to help consolidate skills from day one and create something that you can use as a basis for future projects.
What You Will Learn
- Understand why Svelte’s popularity makes it the go-to framework for constructing applications
- Learn how to scaffold and implement web sites or online applications using Svelte
- Create reusable components using Svelte that are interoperable with other frameworks and can solve real-world problems
- Perform automated testing and deployment using tools such as CI/CD testing
- Work through some mini projects from start to finish, understanding what we can achieve using Svelte and where we may need to bring other tools into play
Who This Book Is For
Website developers who are already familiar with JavaScript, CSS, and HTML and are keen to learn how to leverage the Svelte component framework to quickly create web sites or online applications with little more than a text editor. It’s perfect for development teams who do not want to follow the mold and use a credible alternative to React or Angular.
Table of contents
- Cover
- Front Matter
- 1. Getting Started
- 2. Creating Components
- 3. Managing State and Data
- 4. Controlling Logic
- 5. Managing Events
- 6. Binding Elements
- 7. Adding Styles
- 8. Unit Testing and Svelte
- 9. Deploying Svelte
- 10. Working with External Libraries
- 11. Animating Svelte
- 12. Adapting for Sapper
- Back Matter
Product information
- Title: Practical Svelte: Create Performant Applications with the Svelte Component Framework
- Author(s):
- Release date: October 2021
- Publisher(s): Apress
- ISBN: 9781484273746
You might also like
book
Svelte 3 Up and Running
Build your first web project using the Svelte framework and deploy it in the cloud with …
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
book
Svelte and Sapper in Action
Imagine web apps with fast browser load times that also offer amazing developer productivity and require …
book
Hands-On JavaScript High Performance
An example-driven guide covering modern web app development techniques and emerging technologies such as WebAssembly, Service …