Skip to content

A template engine for the JVM, based on the Angular component architecture

License

Notifications You must be signed in to change notification settings

krizzdewizz/ngoy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A template engine for the JVM, based on the Angular component architecture.

ngoy == Template + JVM + Angular

enjoy ngoy!

master develop

Examples

Simple

Ngoy.renderString("hello {{name}}", Context.of("name", "world"), System.out);

// hello world

App with components, directives, pipes and services

@Component(selector = "app", template = "hello {{ name | uppercase }}")
public class App {
    public String name = "world";

    public static void main(String[] args) {
        Ngoy.app(App.class)
                .build()
                .render(System.out);
    }
}

// hello WORLD

Getting Started

Visit the ngoy website.

Clone ngoy-starter-web to get started.

Run the complete Tour of Heroes tutorial rewrite using ngoy.

Checkout the examples collection.

More ready-to-use modules.

Distribution

You can download the ngoy binaries from here or via jitpack.io:

build.gradle:

repositories {
    maven { url "https://jitpack.io" }
}

dependencies {
    implementation("com.github.krizzdewizz:ngoy:1.0.0-rc8")
}

pom.xml:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

<dependency>
    <groupId>com.github.krizzdewizz</groupId>
    <artifactId>ngoy</artifactId>
    <version>1.0.0-rc8</version>
</dependency>

Feedback

We would love to hear your feedback! Please file an issue here.

Development

Travis CI

Build

gradle clean buildAll

About

A template engine for the JVM, based on the Angular component architecture

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages