Comments (5)
👍
from ping-play.
Hello,
First thank you for this nice project.
I'm trying to mix html and stream template. e.g. I have a tag that insert google analytics code. I want to use the same tag on pages with html format and pages with stream format.
I'm wondering if this issue is about composing pagelet with classical html format ?
from ping-play.
@Driox: This GitHub issue is about finishing up a few utilities that would make it easier to build pages by composing together multiple simple standalone endpoints (i.e., each with its own controller, action, templates, etc) into one larger, more complicated endpoint. I discuss an example of this with the LinkedIn homepage in my Composable and Streamable Play Apps talk (slides are here). The Compose.scala class has some of these basic utilities, but it needs tests, a Java API, and documentation, which is why I opened this bug.
Could you open a separate issue for the problems you're having mixing html and streaming formats and provide a concrete example?
from ping-play.
Thanks for the explanation, I open a new issue
from ping-play.
Note, there is now a new library out that focuses specifically on creating and composing reusable pagelets with Play: splink/pagelets. Perhaps there is a way to get these two projects to work together?
from ping-play.
Related Issues (20)
- Invalid chunked response (play 2.3) HOT 3
- Update to Play 2.4.x with InjectedRoutesGenerator HOT 1
- Java examples no longer work HOT 3
- Docker image fails to build HOT 1
- Extension with HTMLCompressorFilter and GzipFilter HOT 3
- Killing open, not yet retuned Promises at the end of Controller. HOT 2
- Publish artifacts automatically as part of the build instead of manually
- Add support for pagelet priorities
- Add support for only rendering content that is visible
- Add support for specifying pagelet dependencies
- Add monitoring hooks
- Turn the sample apps into Typesafe Activator templates HOT 2
- Escaping not working HOT 9
- Use html tag / content in a stream template HOT 9
- install ping-play HOT 5
- get /sample-app-common/src/main/scala/data in Java ? HOT 18
- upgrade to play 2.5 HOT 4
- Library is not compatible with Play 2.3-RC1 HOT 1
- Throwing runtime exceptions in case of chunked mode doesn't work HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ping-play.