Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Learning Ratpack - Dan Woods

Learning Ratpack

Simple, Lean, and Powerful Web Applications

(Autor)

Buch | Softcover
368 Seiten
2016
O'Reilly Media (Verlag)
978-1-4919-2166-1 (ISBN)
CHF 62,80 inkl. MwSt
Build robust, highly scalable reactive web applications with Ratpack, the lightweight JVM framework. With this practical guide, you’ll discover how asynchronous applications differ from more traditional thread-per-request systems—and how you can reap the benefits of complex non-blocking through an API that makes the effort easy to understand and adopt.

Author Dan Woods—a member of the Ratpack core team—provides a progressively in-depth tour of Ratpack and its capabilities, from basic concepts to tools and strategies to help you construct fast, test-driven applications in a semantic and expressive way. Ideal for Java web developers familiar with Grails or Spring, this book is applicable to all versions of Ratpack 1.x.
  • Configure your applications and servers to accommodate the cloud
  • Use Ratpack testing structures on both new and legacy applications
  • Add advanced capabilities, such as component binding, with modules
  • Explore Ratpack’s static content generation and serving mechanisms
  • Provide a guaranteed execution order to asynchronous processing
  • Model data and the data access layer to build high-performance, data-driven applications
  • Work with reactive and functional programming strategies
  • Use distribution techniques that support continuous delivery and other deployment tactics

Dan Woods is an open source advocate and member of the Ratpack framework core team. Dan focuses on building high throughput, distributed systems and works in Netflix's Operations Engineering department where he develops continuous delivery tooling.

Chapter 1Welcome to Ratpack
Hello, World!
Handler Chain
Chapter Summary
Chapter 2Getting Started
Library Structure
Project Structure
Ratpack Gradle Plugin
Lazybones
Building from a Main Class
Working with Handlers
Chapter Summary
Chapter 3Testing Ratpack Applications
Spock Test Structure
Functional Testing
Integration Testing
Unit Testing
Unit Testing Standalone Handlers
Other Testing Scenarios
Chapter Summary
Chapter 4Application Configuration
Configuring with Environment Variables and System Properties
Nested Configuration Models
Custom Configuration Source
Setting Server Configuration
Chapter Summary
Chapter 5Ratpack Modules
Extending Ratpack with Registries
Google Guice
Framework Modules
Modular Object Rendering in Ratpack
Chapter Summary
Chapter 6Serving Web Assets
Serving Static Content
Serving Dynamic Content
Conditionally Serving Content
Sending Files from Handlers
Customizing 404 Behavior
Cache Control
Asset Pipeline
Chapter Summary
Chapter 7Asynchronous Programming, Promises, and Executions
Promises: A Better Approach to Async Programming
Execution Model
Scheduling Execution Segments for Computation or I/O
Leveraging Executions on Unmanaged Threads
Error Handling
Creating Promises on Your Own
Chapter Summary
Chapter 8Data-Driven Web Applications
Groovy SQL Support
Connection Pooling with HikariCP Support
Ratpack and Grails GORM
Designing Data-Driven Service APIs in Ratpack
Chapter Summary
Chapter 9Ratpack and Spring Boot
Adding Spring Boot to Your Ratpack Project
Creating a Spring Boot–Backed Registry
API Design with Ratpack and Spring
Known Limitations
Chapter Summary
Chapter 10Reactive Programming in Ratpack
Overview of Reactive Programming
Promise as a Reactive Data Structure
Reactive Streams
RxJava
Chapter Summary
Chapter 11Sessions and Security
Integrating Session Support
Client-Side Sessions
Distributed Sessions
Working with Cookies
Chapter Summary
Chapter 12Application Security
SSL Support
Basic Authentication
Form-Based Authentication
Additional Authentication Means
Chapter Summary
Chapter 13Going to Production
Publishing Metrics
Application Health Checks
Building Distributions
Production Checklist
Chapter Summary

Erscheint lt. Verlag 12.7.2016
Zusatzinfo black & white illustrations
Verlagsort Sebastopol
Sprache englisch
Maße 150 x 250 mm
Gewicht 666 g
Einbandart kartoniert
Themenwelt Informatik Programmiersprachen / -werkzeuge Java
Mathematik / Informatik Informatik Web / Internet
Schlagworte Grails (Framework) • JAVA (Programmiersprache) • Lean Development • Spring (Framework) • Web Application Development • Webentwicklung
ISBN-10 1-4919-2166-8 / 1491921668
ISBN-13 978-1-4919-2166-1 / 9781491921661
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
mit über 150 Workouts in Java und Python

von Luigi Lo Iacono; Stephan Wiefling; Michael Schneider

Buch (2023)
Carl Hanser (Verlag)
CHF 41,95
Einführung, Ausbildung, Praxis

von Christian Ullenboom

Buch | Hardcover (2023)
Rheinwerk (Verlag)
CHF 69,85