Giter VIP home page Giter VIP logo

spring-playground's Introduction

Spring Playground

A collection of libraries that might be helpful when building Spring (Boot) applications. Currently starring:

  • Modelmapper Spring Data integration — enables the lookup of Spring Data repository managed aggregates from DTOs during object mapping. Also contains Spring Boot auto-configuration.

  • spring-web-tools — containing a monadic API to implement controller methods. Also, helpers to serialize Errors instances as JSON easily.

  • Hotwire Spring Boot integration — API to conveniently create Turbo Stream representations from Spring MVC controllers.

More to come.

spring-playground's People

Contributors

jvissers avatar odrotbohm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spring-playground's Issues

Complete coverage of Hotwire capabilities (other than Streams)

I'm doubting whether this is an issue or just something that needs clearing up (in respective README.md).

Hotwire consists of a number of things:

  1. Turbo Drive accelerates links and form submissions by negating the need for full page reloads.
  2. Turbo Frames decompose pages into independent contexts, which scope navigation and can be lazily loaded.
  3. Turbo Streams deliver page changes over WebSocket, SSE or in response to form submissions using just HTML and a set of CRUD-like actions.

Seems like the project only deals with Turbo Streams. Is that the case? If yes, would it be possible to add an example(s) for Drive and Frames (much like what DHH is showing in the Hotwire demo). If no, can you maybe update the README.md to point to the code/example that deals with those other functionalities.

Turbo stream envelope broken for SSE integration

Hi Oliver,

I am testing the snapshot and I have few questions:

<dependencies>
  <dependency>
    <groupId>de.odrotbohm.playground</groupId>
    <artifactId>hotwire-spring-boot</artifactId>
    <version>0.0.1-SNAPSHOT</version>
  <dependency>
</dependencies>
  • stream message
  • websocket support

stream message
I am reviewing in Chrome Dev Tools the following structure:

<turbo-stream action="replace" target="load">
<template>
<span id="load">2.64208984375</span>
</turbo-stream>
</turbo-stream>

Is it possible that the messaage doesn´t close the template tag?

websocket support
why in the first snapshot, you didn´t add websocket support?

Many thanks in advance

Juan Antonio

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.