A talk overviewing Groovy related technologies and tools which introduction has been favorited by the dynamic nature of the language.
Milan Java User Group, November 2013
7. • Framework Web ad alta produttività
• Solido: Spring, Hibernate, Sitemesh
• Moderno: COC, smart reloading, scaffolding
• Molti plugin: Spring Security, MongoDB, etc.
giovedì 7 novembre 13 7
9. Geb
• Test automatici nel browser
• Funziona su Firefox, Chrome, IE, Safari
• Selezione HTML stile jQuery
• Si integra con JUnit, TestNG, Spock
giovedì 7 novembre 13 9
13. Spock
• Testing e specification framework
• Molto espressivo, facile da imparare
• Facilita approccio Behaviour Driven
giovedì 7 novembre 13 13
14. Spock
• Testing e specification framework
• Molto espressivo, facile da imparare
• Facilita approccio Behaviour Driven
given: "un nuovo conto bancario"
when: "verso 10€"
then: "il saldo del conto è 10€"
giovedì 7 novembre 13 13
18. Gradle
• Tool per l’automazione di build
• Flessibilità di Ant e convenzioni Maven
• Definizione dichiarativa via ad-hoc DSL
• Molto in voga
giovedì 7 novembre 13 16
19. Un progetto Java
[project root]
/src
/main
! /java
/resources
/test
/java
/resources
build.gradle
giovedì 7 novembre 13 17
20. Un progetto Java ...
[project root]
/src
/main
! /java
/resources
/test
/java
/resources
build.gradle
giovedì 7 novembre 13 18
21. Un progetto Java ...
[project root]
/src
/main
! /java
/resources
/test
/java
/resources
build.gradle
giovedì 7 novembre 13 19
23. GPars
• Groovy Parallel Systems
• Framework per facilitare la costruzione di
applicazioni concorrenti
• Costrutti per Dataflow, attori, funzioni
asicrone componibili, map-reduce...
• Sfrutta l’espressività di Groovy (Closure)
giovedì 7 novembre 13 21