Books & Videos

Table of Contents

  1. Chapter 1 Welcome to Ratpack

    1. Hello, World!

    2. Handler Chain

    3. Chapter Summary

  2. Chapter 2 Getting Started

    1. Library Structure

    2. Project Structure

    3. Ratpack Gradle Plugin

    4. Lazybones

    5. Building from a Main Class

    6. Working with Handlers

    7. Chapter Summary

  3. Chapter 3 Testing Ratpack Applications

    1. Spock Test Structure

    2. Functional Testing

    3. Integration Testing

    4. Unit Testing

    5. Unit Testing Standalone Handlers

    6. Other Testing Scenarios

    7. Chapter Summary

  4. Chapter 4 Application Configuration

    1. Configuring with Environment Variables and System Properties

    2. Nested Configuration Models

    3. Custom Configuration Source

    4. Setting Server Configuration

    5. Chapter Summary

  5. Chapter 5 Ratpack Modules

    1. Extending Ratpack with Registries

    2. Google Guice

    3. Framework Modules

    4. Modular Object Rendering in Ratpack

    5. Chapter Summary

  6. Chapter 6 Serving Web Assets

    1. Serving Static Content

    2. Serving Dynamic Content

    3. Conditionally Serving Content

    4. Sending Files from Handlers

    5. Customizing 404 Behavior

    6. Cache Control

    7. Asset Pipeline

    8. Chapter Summary

  7. Chapter 7 Asynchronous Programming, Promises, and Executions

    1. Promises: A Better Approach to Async Programming

    2. Execution Model

    3. Scheduling Execution Segments for Computation or I/O

    4. Leveraging Executions on Unmanaged Threads

    5. Error Handling

    6. Creating Promises on Your Own

    7. Chapter Summary

  8. Chapter 8 Data-Driven Web Applications

    1. Groovy SQL Support

    2. Connection Pooling with HikariCP Support

    3. Ratpack and Grails GORM

    4. Designing Data-Driven Service APIs in Ratpack

    5. Chapter Summary

  9. Chapter 9 Ratpack and Spring Boot

    1. Adding Spring Boot to Your Ratpack Project

    2. Creating a Spring Boot–Backed Registry

    3. API Design with Ratpack and Spring

    4. Known Limitations

    5. Chapter Summary

  10. Chapter 10 Reactive Programming in Ratpack

    1. Overview of Reactive Programming

    2. Promise as a Reactive Data Structure

    3. Reactive Streams

    4. RxJava

    5. Chapter Summary

  11. Chapter 11 Sessions and Security

    1. Integrating Session Support

    2. Client-Side Sessions

    3. Distributed Sessions

    4. Working with Cookies

    5. Chapter Summary

  12. Chapter 12 Application Security

    1. SSL Support

    2. Basic Authentication

    3. Form-Based Authentication

    4. Additional Authentication Means

    5. Chapter Summary

  13. Chapter 13 Going to Production

    1. Publishing Metrics

    2. Application Health Checks

    3. Building Distributions

    4. Production Checklist

    5. Chapter Summary