Coder Social home page Coder Social logo

Comments (3)

bjansen avatar bjansen commented on June 25, 2024 1

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.

bjansen avatar bjansen commented on June 25, 2024

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.

fwgreen avatar fwgreen commented on June 25, 2024

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)

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.