io.crysknife:templates-api

templates api

License

License

GroupId

GroupId

io.crysknife
ArtifactId

ArtifactId

templates-api
Last Version

Last Version

0.2
Release Date

Release Date

Type

Type

jar
Description

Description

templates api
Project Organization

Project Organization

Treblereel

Download templates-api

How to add to project

<!-- https://jarcasting.com/artifacts/io.crysknife/templates-api/ -->
<dependency>
    <groupId>io.crysknife</groupId>
    <artifactId>templates-api</artifactId>
    <version>0.2</version>
</dependency>
// https://jarcasting.com/artifacts/io.crysknife/templates-api/
implementation 'io.crysknife:templates-api:0.2'
// https://jarcasting.com/artifacts/io.crysknife/templates-api/
implementation ("io.crysknife:templates-api:0.2")
'io.crysknife:templates-api:jar:0.2'
<dependency org="io.crysknife" name="templates-api" rev="0.2">
  <artifact name="templates-api" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.crysknife', module='templates-api', version='0.2')
)
libraryDependencies += "io.crysknife" % "templates-api" % "0.2"
[io.crysknife/templates-api "0.2"]

Dependencies

compile (5)

Group / Artifact Type Version
com.google.elemental2 : elemental2-dom jar 1.1.0
org.jboss.elemento : elemento-core jar 1.0.3
org.gwtproject.dom : gwt-dom jar 1.0.0-RC1
org.gwtproject.event : gwt-event-dom jar 1.0.0-RC1
org.jsoup : jsoup jar 1.11.3

test (1)

Group / Artifact Type Version
junit : junit jar 4.13.1

Project Modules

There are no modules declared in this project.

crysknife

This project is a proof of concept for a CDI-like Dependency Injection framework with a support of some popular features. It’s based on annotation processors code generation and has no GWT2 dependencies.

Demo: https://crysknife.cloud.unispace.io

At this point Crysknife supports:

  • @Singleton and @Dependent scopes
  • lazy fields and constructor injections
  • @PostConstruct
  • transitive injections
  • @Named qualifiers and @Produces for custom objects like Elemental2 widgets
  • HTML templates
  • Data binding

Demo shows how Crysknife is used on a simple page compiled with J2CL (with j2cl-maven-plugin).

Please, remember that this is a POC, nothing more at this moment. Feel free to comment and criticize.

How to build:

  1. 'git clone [email protected]:treblereel/crysknife.git'
  2. 'mvn clean install'
  3. To run demo, run 'mvn clean j2cl:watch' within crysknife/demo folder
  4. Open another console and run 'mvn tomcat7:run'
  5. Open in browser: http://127.0.0.1:8080/demo
  6. To build a .war, run 'mvn clean package -Pbuild' within crysknife/demo folder

Have fun and let J2CL win !

Versions

Version
0.2
0.1