Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous...

23

Transcript of Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous...

Page 1: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software
Page 2: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

Collaborative and Continuous Documentation mit LaTeX

Puzzle Tech Talk, 30. Oktober 2014, Zürich

Dr. Oliver SchmidSoftware Architekt

Page 3: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

Aufgabenstellung und Tools

Page 4: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

Aufgabenstellung

● Schreiben einer umfangreichen Spezifikation● Arbeit im Team (3-5 Personen)● Verschiedene involvierte Teilaufgaben● Requirements Engineering● UX● Architektur● Development

Page 5: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

Variante A: Backseat-Driver(basierend auf Morris M.R. A survey of collaborative web search practices. In Proc. CHI 2008. ACM

Press (2008), 1657-1660)

Page 6: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

Variante B: Bruteforce(basierend auf Morris M.R. A survey of collaborative web search practices. In Proc. CHI 2008. ACM

Press (2008), 1657-1660)

Page 7: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

Variante C: Divide and Conquer(basierend auf Morris M.R. A survey of collaborative web search practices. In Proc. CHI 2008. ACM

Press (2008), 1657-1660)

PlantUML

Page 8: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

LaTeX

Page 9: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

Die Lösung...

Page 10: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

LaTeX - Vorteile

● Konvertierbarkeit mit Pandoc (http://johnmacfarlane.net/pandoc/)

● Convert * to LaTeX ● HTML, RTF, DOCX, MD, ...

● Convert LaTeX to *● PDF, ODT, DOCX, HTML, RTF, ...

Page 11: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

● Versionierung mit GIT● Verteilt (asynchrone Bearbeitung)● Fortgeschrittene Mergetools

LaTeX - Vorteile

Page 12: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

● Vorgegebenes Layout● “Content first”● Corporate Design Anpassungen (auch rückwirkend)● pot. zentralisierte Styleverwaltung

LaTeX - Vorteile

Page 13: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

● Dynamische Einbindung von externen Quellen● Immer aktuelle Sketches von MyBalsamiq● Stets aktualisierte UML-Diagramme von PlantUML

LaTeX - Vorteile

Page 14: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

Demo

Page 15: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

Da geht doch noch mehr...

Page 16: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

● Unterschiedliche Generate● Unterschiedliche Dokumente für unterschiedliche

Empfänger● “Write once read anywhere”

LaTeX extended

Page 17: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

● Einbindung in den Build-Prozessmechanimus (Continuous Integration / Continuous Deployment)

LaTeX extended

Page 18: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

● Lebendige Dokumentation● Automatisierung so weit möglich● Nur aktuelle Dokumentation hat einen Mehrwert● Integration statt Durchsetzung von Standard-Tools!

LaTeX extended

Page 19: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

● Glückliche Entwickler● Code-ähnliche Syntax● Auslagerung von wiederkehrenden Funktionalitäten

(DRY)

LaTeX extended

Page 20: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

Mögliche Erweiterungen

Page 21: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

● Unternehmensweite Dokumentation-Qualitätsstandards und deren Absicherung

● Einbindung von Wiki-Seiten in Generate

Mögliche Erweiterungen

Page 22: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

● Screen-Recording von Frontend-Tests zur Use-Case-Dokumentation

● UML Reverse-Engineering (Modell-Aktualisierungen) und weitere statische Code-Analyse

● JavaDoc / Annotationsbasierte Dokumentation

● ...

Mögliche Erweiterungen

Page 23: Collaborative and Continuous Documentation mit LaTeX€¦ · Collaborative and Continuous Documentation mit LaTeX Puzzle Tech Talk, 30. Oktober 2014, Zürich Dr. Oliver Schmid Software

Q & A