Giter VIP home page Giter VIP logo

graal-templating's Introduction

Graal Javascript Renderer

Maven Central javadoc npm (scoped) npm (scoped)

Library providing a full pipeline for extracting, caching and executing Javascript source code on Graal for markup generation purposes.

Documentation

Complete description of the library together with tutorials and how to articles can be found in the link below.

Reference documentation

Modules

  • templating - main part of the library. Depends mainly on Graal JS SDK. Independent of any framework.
  • templating/src/main/js/bridge - JS module establishing a standard entrypoint to JS logic.
  • templating/src/main/js/bridge-react - JS module establishing a standard entrypoint to React logic.
  • spring-boot-starter - integration with Spring Boot including ScriptProvider for extracting JS source file from external server using WebClient.

Example projects

There are several example projects in the /examples subfolder showing how to integrate Graal templating into your application.

  • hello-world-js - processing templates located on the classpath
  • hello-world-react - processing templates hosted on an external HTTP server
  • hello-world-ts - rendering component markup with JS renderer on GraalVM
  • spring-boot - treating component inner content as pebble template

Contributing

Contributing rules

Code of conduct

Code of conduct

License

This project is licensed under Apache License, Version 2.0.

graal-templating's People

Contributors

tokrug avatar

Stargazers

 avatar

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.