Guides
Comprehensive guides to help you master Squirrel web development. From basic concepts to advanced patterns.
Routing
BeginnerLearn how to define routes, handle path parameters, and organize your application's URL structure.
Topics Covered:
Path ParametersRoute GroupsWildcardsHTTP Methods
Middleware
IntermediateUnderstand how to use middleware for cross-cutting concerns like authentication, logging, and CORS.
Topics Covered:
Custom MiddlewareBuilt-in MiddlewareMiddleware ChainError Handling
Request Handling
BeginnerMaster request processing, including parsing forms, handling JSON, and working with headers.
Topics Covered:
Form DataJSON ParsingFile UploadsHeaders
Response Management
BeginnerLearn how to send different types of responses, set headers, and handle content negotiation.
Topics Covered:
JSON ResponsesTemplatesStatus CodesHeaders
Error Handling
IntermediateImplement robust error handling strategies and create user-friendly error pages.
Topics Covered:
Custom ErrorsError MiddlewareRecoveryLogging
Static Files
BeginnerServe static assets like CSS, JavaScript, and images efficiently with Squirrel.
Topics Covered:
File ServerAsset PipelineCachingCompression
Learning Path
Recommended order for learning Squirrel concepts
1
Start with Routing
Learn the basics of defining routes and handling requests
2
Request & Response Handling
Master processing requests and sending responses
3
Add Middleware
Implement cross-cutting concerns like authentication and logging
4
Error Handling & Static Files
Build robust applications with proper error handling and asset serving