Librería Portfolio Librería Portfolio

Búsqueda avanzada

TIENE EN SU CESTA DE LA COMPRA

0 productos

en total 0,00 €

LEARNING RATPACK. SIMPLE, LEAN, AND POWERFUL WEB APPLICATIONS
Título:
LEARNING RATPACK. SIMPLE, LEAN, AND POWERFUL WEB APPLICATIONS
Subtítulo:
Autor:
WOODS, DAN
Editorial:
O´REILLY
Año de edición:
2016
Materia
PROGRAMACION INTERNET
ISBN:
978-1-4919-2166-1
Páginas:
368
48,95 €

 

Sinopsis

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



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