Sapphire Core

A JavaFX (ScalaFX) Application Framework for Scala User. It combines scala programming patterns with MVC for building complex JavaFX Applications.

Cross Build

Build and tested against Scala 2.11/2.12 and JDK 11/12

Frameworks

JavaFX

Java UI Application Framework as replacement for Swing.

Sapphire depends on OpenJFX 12.

https://openjfx.io

ScalaFX

Sapphire depends on ScalaFX, a DSL for JavaFX written in Scala.

Dependency Injection

Sapphire use Apache Deltaspike as CDI Abstraction Layer (1.9.x).

The default CDI implementation depends on Apache OpenWebBeans (2.0.x).

Expression Language

Expressions are resolved by JUEL.

Maven

Sapphire is published to Bintray and linked to Maven Central.

Repository

resolvers += "sfxcode-bintray" at "https://dl.bintray.com/sfxcode/maven"

Artifact

sbt
libraryDependencies += "com.sfxcode.sapphire" %% "sapphire-core" % "$app-version$"
Maven
<dependency>
  <groupId>com.sfxcode.sapphire</groupId>
  <artifactId>sapphire-core_2.12</artifactId>
  <version>$app-version$</version>
</dependency>
Gradle
dependencies {
  compile group: 'com.sfxcode.sapphire', name: 'sapphire-core_2.12', version: '$app-version$'
}

Getting started

Setup Base Application with Giter8

g8 https://github.com/sfxcode/sapphire-sbt.g8

Demos

Explore demos and Tutorial in project demo directory.

Licence

Apache 2