Skip to content

Commit

Permalink
Adding slides
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinesd committed Jul 13, 2024
1 parent 90c81ae commit ea27cdb
Show file tree
Hide file tree
Showing 18 changed files with 314 additions and 24 deletions.
28 changes: 4 additions & 24 deletions .gitignore
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/
21 changes: 21 additions & 0 deletions pom.xml
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>
4 changes: 4 additions & 0 deletions slides/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source 'https://rubygems.org'

gem 'asciidoctor-revealjs'
gem 'asciidoctor-diagram'
53 changes: 53 additions & 0 deletions slides/README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
= 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`
3 changes: 3 additions & 0 deletions slides/liverender.sh
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
71 changes: 71 additions & 0 deletions slides/pom.xml
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>
3 changes: 3 additions & 0 deletions slides/render.sh
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
10 changes: 10 additions & 0 deletions slides/src/main/asciidoc/docinfo-revealjs.html
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>
6 changes: 6 additions & 0 deletions slides/src/main/asciidoc/parts/htmx.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

== HTMX

Hello


6 changes: 6 additions & 0 deletions slides/src/main/asciidoc/parts/intro.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

== This is the introduction

Hello


6 changes: 6 additions & 0 deletions slides/src/main/asciidoc/parts/javafx.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

== javafx

Hello


6 changes: 6 additions & 0 deletions slides/src/main/asciidoc/parts/jsf.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

== JSF

Hello


6 changes: 6 additions & 0 deletions slides/src/main/asciidoc/parts/vaadin.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

== Vaadin

Hello


115 changes: 115 additions & 0 deletions slides/src/main/asciidoc/slides.adoc
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_



Binary file added slides/src/main/resources/images/asd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/src/main/resources/images/cdt.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/src/main/resources/images/pc.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added slides/src/main/resources/images/yb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ea27cdb

Please sign in to comment.