Comments (3)
Here are a few thoughts:
net.gyokuro.view.*
modules are convenient, and allow users to use a templating engine that Just Works™- they are optional dependencies, so they don't clutter up
net.gyokuro.core
- it's pretty easy to add an overrides file to use a different version of the engine than the one automatically pulled by these modules
- it's also easy to not import any of those modules and instead define a custom
(Java)TemplateRenderer
or modify one of those provided by gyokuro
As a result, I think I'll keep existing modules as is, and make them import the latest version of each engine. That should cover most of the use-cases, while leaving users with reasonable alternatives.
from gyokuro.
So what you're saying is that I should only provide the view.api
module, maybe give a few examples of implementations but not actually put them in modules and release them on Herd?
It could also be possible to override the imported module via an overrides.xml
, or any new syntax that might come in the future.
from gyokuro.
It's great that you provide an implementation of the renderer: Some users might not think to wrap the Ceylon collections as Java collections and get into trouble. It's the import of the actually template library jar that, I believe, should be left to the user.
from gyokuro.
Related Issues (17)
- Websockets HOT 4
- (de)serialization HOT 3
- Support MIME types HOT 11
- Generate REST API documentation from the code HOT 8
- Document what's logged HOT 1
- Add support for PATCH method HOT 1
- Allow module to run on Ceylon 1.2.2 HOT 1
- Filters
- Errors when applying a method to a route HOT 1
- Support having default routes without a trailing slash in annotated controllers HOT 3
- object controllers HOT 1
- Ability to provide custom controller instances for DI HOT 2
- Custom error handlers/pages
- Add support for path parameters HOT 4
- Document default args and nullable params
- release version for ceylon 1.3.3 HOT 1
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 gyokuro.