-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into initialization
- Loading branch information
Showing
19 changed files
with
355 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: CI | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the "main" branch | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v4 | ||
|
||
# Runs a single command using the runners shell | ||
- name: Maven Build | ||
run: mvn clean package | ||
|
||
# Runs a set of commands using the runners shell | ||
- name: Run a multi-line script | ||
run: | | ||
echo Add other actions to build, | ||
echo test, and deploy your project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,4 @@ | ||
# Compiled class file | ||
*.class | ||
|
||
# Log file | ||
*.log | ||
|
||
# BlueJ files | ||
*.ctxt | ||
|
||
# Mobile Tools for Java (J2ME) | ||
.mtj.tmp/ | ||
|
||
# Package Files # | ||
*.jar | ||
*.war | ||
*.nar | ||
*.ear | ||
*.zip | ||
*.tar.gz | ||
*.rar | ||
|
||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | ||
hs_err_pid* | ||
replay_pid* | ||
#IntelliJ IDEA | ||
.idea/ | ||
Gemfile.lock | ||
target/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="http://maven.apache.org/POM/4.0.0" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<artifactId>parent</artifactId> | ||
|
||
<build> | ||
<defaultGoal>clean package</defaultGoal> | ||
</build> | ||
<groupId>fr.sciam.back-to-front</groupId> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<modules> | ||
<module>slides</module> | ||
</modules> | ||
<name>back to front parent</name> | ||
|
||
<packaging>pom</packaging> | ||
|
||
<version>1.0-SNAPSHOT</version> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'asciidoctor-revealjs' | ||
gem 'asciidoctor-diagram' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
= Slides for Back to Front talk | ||
|
||
This repo contains slides for the talk "Back to Front". | ||
|
||
Slides sources are in `src/main/asciidoc` directory, images are in the `src/main/resources/images` directory. | ||
|
||
These slides are generated using https://docs.asciidoctor.org/reveal.js-converter/latest/[Asciidoctor for Revealjs]. | ||
|
||
It generates a Revealjs html file `slides.html` with embedded images in `target/generated-docs` directory. | ||
|
||
== Building slides | ||
|
||
Slides can be built with Ruby or with java and Maven. | ||
The Ruby generation is more efficient and provides hot generation while Java is here for people that don't want to mess with Ruby (and prefer mess with Java) | ||
|
||
=== Ruby | ||
|
||
You need a ruby runtime with version 2.3 or more installed. | ||
If you need to install Ruby you can check the https://www.ruby-lang.org/en/documentation/installation/[offcial website] | ||
|
||
Then install bundler | ||
|
||
|
||
`gem install bundler` | ||
|
||
|
||
And download the dependencies | ||
|
||
`bundle update` | ||
|
||
and use the local script to render the slides | ||
|
||
`./render.sh` | ||
|
||
you can also use live render that automatically updates the result when you change source | ||
|
||
`./liverender.sh` | ||
|
||
generated file will be here: | ||
|
||
`target/generated-docs/slides.html` | ||
|
||
=== Java And Maven | ||
|
||
You need both Java and Maven installed. | ||
|
||
just type: | ||
|
||
`mvn` | ||
|
||
generated file will be in standard maven target: | ||
|
||
`target/generated-docs/slides.html` | ||
|
||
=== Hot reload | ||
|
||
Slides include a livereload script that will automatically reload the browser when you change the source file. | ||
In order to use you need to browse the file through a local webserver like the one include in intellij or other IDE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
tree -fi src/main/asciidoc | grep .adoc | entr ./render.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="http://maven.apache.org/POM/4.0.0" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<artifactId>slides</artifactId> | ||
|
||
<build> | ||
<defaultGoal>clean package</defaultGoal> | ||
<plugins> | ||
<plugin> | ||
<artifactId>asciidoctor-maven-plugin</artifactId> | ||
<configuration> | ||
<backend>revealjs</backend> | ||
<requires> | ||
<require>asciidoctor-revealjs</require> | ||
<require>asciidoctor-diagram</require> | ||
</requires> | ||
<sourceDirectory>src/main/asciidoc</sourceDirectory> | ||
<sourceDocumentName>slides.adoc</sourceDocumentName> | ||
</configuration> | ||
<dependencies> | ||
<dependency> | ||
<artifactId>asciidoctorj</artifactId> | ||
<groupId>org.asciidoctor</groupId> | ||
<version>${asciidoctorj.version}</version> | ||
</dependency> | ||
<dependency> | ||
<artifactId>asciidoctorj-revealjs</artifactId> | ||
<groupId>org.asciidoctor</groupId> | ||
<version>${asciidoctorj-revealjs.version}</version> | ||
</dependency> | ||
<dependency> | ||
<artifactId>asciidoctorj-diagram</artifactId> | ||
<groupId>org.asciidoctor</groupId> | ||
<version>${asciidoctorj-diagram.version}</version> | ||
</dependency> | ||
</dependencies> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>process-asciidoc</goal> | ||
</goals> | ||
<id>output-html</id> | ||
<phase>generate-resources</phase> | ||
</execution> | ||
</executions> | ||
<groupId>org.asciidoctor</groupId> | ||
<version>${asciidoctor-maven-plugin.version}</version> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<modelVersion>4.0.0</modelVersion> | ||
<name>slide generator</name> | ||
|
||
<packaging>pom</packaging> | ||
<parent> | ||
<artifactId>parent</artifactId> | ||
<groupId>fr.sciam.back-to-front</groupId> | ||
<version>1.0-SNAPSHOT</version> | ||
</parent> | ||
<properties> | ||
<asciidoctor-maven-plugin.version>3.0.0</asciidoctor-maven-plugin.version> | ||
<asciidoctorj-diagram.version>2.3.1</asciidoctorj-diagram.version> | ||
<asciidoctorj-revealjs.version>5.1.0</asciidoctorj-revealjs.version> | ||
<asciidoctorj.version>2.5.13</asciidoctorj.version> | ||
</properties> | ||
|
||
<version>1.0-SNAPSHOT</version> | ||
|
||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
bundle exec asciidoctor-revealjs -r asciidoctor-diagram src/main/asciidoc/slides.adoc -o target/generated-docs/slides.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
<script type="text/javascript" src="https://livejs.com/live.js"></script> | ||
<style> | ||
.reveal table { | ||
margin: 0em; | ||
border-collapse: collapse; | ||
border-spacing: 0; | ||
border: 0px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
== HTMX | ||
|
||
Hello | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
== This is the introduction | ||
|
||
Hello | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
== javafx | ||
|
||
Hello | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
== JSF | ||
|
||
Hello | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
== Vaadin | ||
|
||
Hello | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
= Back to Front | ||
Antoine Sabot-Durand; Clément de Tastes; Pierre Cheucle; Yann Blazart | ||
:description: Back to Front presentation | ||
:copyright: CC BY-SA 4.0 | ||
:data-uri: | ||
:sectids!: | ||
:includegifs: | ||
:toc2: | ||
:sectanchors: | ||
:idprefix: | ||
:idseparator: - | ||
:icons: font | ||
:source-highlighter: highlight.js | ||
:source-language: java | ||
:macros-on: subs="macros" | ||
:imagesdir: ../resources/images | ||
:hide-uri-scheme: | ||
:revealjs_theme: beige | ||
:revealjsdir: https://cdn.jsdelivr.net/npm/[email protected] | ||
:revealjs_hash: true | ||
:revealjs_width: 1500 | ||
:revealjs_center: false | ||
:docinfo: shared | ||
:slides-url: //TODO define slides url | ||
:slides-src: https://github.com/SCIAM-FR/back-to-front | ||
|
||
[.columns] | ||
== Antoine Sabot-Durand | ||
|
||
[.column] | ||
* Java Champion | ||
* Tech lead at SCIAM | ||
* Former CDI spec lead | ||
* Former MicroProfile Health and Fault Tolerance spec lead | ||
* Follow me: @antoine_sd | ||
|
||
[.column] | ||
image::asd.png[role="pull-right",width="200"] | ||
|
||
[.columns] | ||
== Clément de Tastes | ||
|
||
[.column] | ||
* Tech lead at SCIAM | ||
//TODO: add more info | ||
|
||
[.column] | ||
image::cdt.jpg[role="pull-right",width="200"] | ||
|
||
[.columns] | ||
== Pierre Cheucle | ||
|
||
[.column] | ||
* Tech lead at SCIAM | ||
//TODO: add more info | ||
|
||
[.column] | ||
image::pc.jpg[role="pull-right",width="200"] | ||
|
||
|
||
|
||
[.columns] | ||
== Yann Blazart | ||
|
||
[.column] | ||
* Developing in Java since forever | ||
* Open source contributor (JaxWS/Metro, TomEE, WicketExtJs) | ||
* Senior Tech lead at Sciam | ||
* Currently working in a big Bank as a technical advisor. | ||
* Introduced Quarkus and Ingnite to this same big bank | ||
|
||
[.column] | ||
image::yb.png[role="pull-right",width="200"] | ||
|
||
== Agenda | ||
|
||
//TIP: _Slides_ here {slides-url} | ||
|
||
* icon:clock-o[] Introduction | ||
* icon:clock-o[] JSF | ||
* icon:clock-o[] Vaadin | ||
* icon:clock-o[] JavaFX | ||
* icon:clock-o[] HTMX | ||
* icon:clock-o[] Conclusion | ||
|
||
|
||
|
||
|
||
include::parts/intro.adoc[] | ||
|
||
include::parts/jsf.adoc[] | ||
|
||
include::parts/vaadin.adoc[] | ||
|
||
include::parts/javafx.adoc[] | ||
|
||
include::parts/htmx.adoc[] | ||
|
||
|
||
== Conclusion | ||
|
||
== Take away | ||
|
||
//TODO: add more info | ||
|
||
== References | ||
|
||
NOTE: _Slides_ are accessible here {slides-url} | ||
|
||
NOTE: _Slides source_ {slides-src} | ||
|
||
NOTE: Slides generated with _Asciidoctor_ and _Reveal.js_ | ||
|
||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.