Il seguente testo è la traduzione italiana del post Grails Diary – Week 48-49 in 2016 scritto da Jacob Aae Mikkelsens (i tweet non saranno tradotti in quanto si rischia di snaturarne il significato).
Questa edizione ha una cornucopia di notizie dall’ecosistema Groovy, inclusi video, articoli, release e altro.
Groovy sta celebrando il Natale con un 17° posto all’indice Tiove di dicembre.
Al G3 Summit, il team di Grails ha presentato due nuove funzionalità: Grails Application Forge e il portal Guides. L’Application Forge può essere trovato al seguente indirizzo start.grails.org, e può essere usato per inizializzare il vostro progetto Grails con il profilo e le funzionalità di cui avete bisogno. Funziona anche usando curl tramite le sue API. Il portale Guides all’indirizzo guides.grails.org avrà le guide per muovere i primi passi su uno specifico argomento. Al momento ci sono 4 guide disponibili:
- Spedire eventi Server Sent con Grails
- Build di un’applicaizone REST con GORM e Hibernate 5
- Build di un’applicazione REST con MongoDB
- Usare il profilo React
Rubén Mondéjar sta mantenendo un’applicazione Grails 3 d’esempio, con la libreria Samples dalla user guide di Grails. È stata aggiornata alla versione 3.1.14 di Grails, il plugin Spring Security alla 3.1.1 e il plugin Mail alla 2.0.0.RC6.
Christopher J. Stehno è l’uomo dietro Ersatz, a new mock http server, per testare codice HTTP client, ed è stato appena rilasciato. La user guide descrive come deve essere usata e integra piacevolmente Spock.
Ho collezionato alcune delle slides che sono state condivide dal G3 Summit:
- Dockerize your Grails! da Iván López (code)
- Apache Groovy: The Awesome Parts da Paul King
- Taking Advantage of Groovy Annotations da Iván López (code)
- Creating applications with Grails, Angular JS and Spring Security da Alvaro Sanchez-Mariscal
- The Road from JAVA to Groovy da Jack Frosch
- High Performance Groovy da David Clark
Il nuovo parser (Parrot) per Groovy di Daniel Sun, supporterà le Elvis Assignment (i.e. ?=). Quindi saranno validi:
1 2 3 |
def a = null a ?= 1 assert a == 1 |
e anche
1 2 3 |
def a = 2 a ?= 1 assert a == 2 |
Daniel sta facendo un fantastico lavoro e io non vedo l’ora di vedere le prossime versioni di Groovy.
Sergio del Amo ha creato un client Groovy per interagire con il plugin di Grails, Spring Security Rest. Il risultato è disponibile su Jcenter, e potete trovare il progetto Github qui.
Dan Woods ha creato un piccolo screencast dove svolge una demo“Ratpack app from start to running in the cloud in two minutes!”, scritta con scratch e deployata su Heroku. È un piccolo demo del framework Ratpack, ma mostra il codice di cui avete bisogno per iniziare.
Ken Kousen ricorda a tutti che è possibile salvare un po’ di spazio sul disco, se occasionalmente eseguite “sdk flush archives”. Ciò presuppone che usiate SdkMan, ma chi non lo usa 😉
Due notizie relative a Slack appaiono in questa edizione! Søren Berg Glasius sta lavorando al bot di Slack Groovy, dove il primo passo è di usare AWS Lambda per eseguire codice Groovy Script arbitrario nella modalità sandbox. Il progetto Wonky è una pagina di destinazione che potete puntare per riempire le mail e ricevere inviti per Slack. Se non vi siete ancora uniti al canale Groovy Slack, dovreste! È disponibile al sito groovycommunity.com.
GradleTest 1.0-beta5 è disponibile per i test di compatibiltà in Gradle, grazie a Schalk W. Cronjé.
Se avete bisogno di una conferenza per Groovy e le relative tecnologie, siete fortunati che i biglietti per il GR8COnf India sono al 33% dal 12-18 dicembre. L’intera agenda è disponibile sul sito. Per il GR8Conf EU, il sito del 2017 è ora online. Quest’anno la conferenza avrà in contemporanea dei workshop e un focus aggiuntivo su DevOps, inclusa un GR8Conf DevOps nel giorno conclusivo. Potete leggere di più nella newsletter recente. Il Call for Paper è aperto per il GR8Conf EU 2017 e per il Greach 2017.
Podcast e video delle presentazioni
- Fields Plugin – Deep Dive (Søren Berg Glasius)
- Tour de Plugin (Søren Berg Glasius)
- Get to Know Grails (Søren Berg Glasius)
- Groovy Podcast Ep. 38 (Baruch Sadogursky, Kenneth Kousen and guests)
Blog, Articoli, etc.
- Gradle Goodness: Passing Environment Variable Via Delegate Run Action In IntelliJ IDEA (Hubert Klein Ikkink aka MrHaki)
- Know test cases run order in Grails-3 app to help solve issues with “test pollution”. . . (Giridhar Pottepalem)
- Groovy Calamari – Issue 59 (Sergio del Amo)
- Grails Goodness: Writing Log Messages With Grails 3.2 (Slf4J) (Hubert Klein Ikkink aka MrHaki)
- Learning to Live With Language FOMO (Matthew Casperson)
- Analyzing half a million Gradle build files (Guillaume Laforge)
- Groovy Calamari – Issue 58 (Sergio del Amo)
- Using IDEA to Delegate Build And Run Actions To Gradle (Hubert Klein Ikkink aka MrHaki)
- Analyzing Gradle, Grails, and Apache Groovy source code hosted on Github with BigQuery (Guillaume Laforge)
- My G3 Summit Apache Groovy keynote (Guillaume Laforge)
- Griffon Framework: Creating desktop application (Andrew Shitko )
- 10 basic differences between Java and Groovy Programming (Javin Paul)
Plugin Grails 3 aggiornati
- spring-security-acl (3.1.0) Grails spring-security-acl plugin
- karman-grails (0.10.9) Karman è un plugin che fornisce un interfaccia standard/estensibile per comunicare con i vari sevizi di cloud inclusi Local, S3, e Openstack.
- grails-google-visualization (2.2.1) Grails grails-google-visualization plugin.
- aws-sdk-dynamodb (2.0.4) Grails AWS SDK DynamoDB plugin.
- grails-quick-search (0.7.1) Plugin di ricerca pr le proprietà delle classi domain. Il plugin Lightweight, il quale dispone dell’abilità di ricerca, aggiuge funzioni per il building dei risultati della ricarca in una rappresentazione in formato stringa sufficente per l’auto-complete per listare i risultatati basati sulla query di ricerca
- aws-sdk-ses (2.0.6) Grails AWS SDK SES plugin.
- grails-isomorphic (1.2) Grails Isomorphic Rendering Plugin.
- sass-asset-pipeline (2.12.1) Fornisce un supporto semplice e veloce per i files .sass e .scss per permettere la compilazione in CSS. Questo plugin This plugin sfrutta jsass e libsass per essere il più veloce possibile.
- less-asset-pipeline (2.12.1) LESS Compiler per il Asset-Pipeline.
- handlebars-asset-pipeline (2.12.1) Fornisce il supporto nativo ai file Handlebars nella asset-pipeline. Converte facilmente i file .hbs o .handlebars in javascript template cache.
- ember-asset-pipeline (2.12.1)Fornisce il supporto nativo ai file Handlebars nella asset-pipeline. Converte facilmente i file .hbs o .handlebars in javascript template cache
- compass-asset-pipeline (2.12.1) Fornisce il supporto a Compass/SCSS utilizzando jruby runtime. Qualsiasi progetto Compass può essere adattato per per essere compilato/utilizzato dalla asset-pipeline.
- coffee-asset-pipeline (2.12.1) Processa in maniera semplice i file coffee-script files con il plugin asset-pipeline. Il pacchetto include sia la jvm coffee runtime nonchè la possibilità di usare il modulo npm di coffeescript se rilevato.
- asset-pipeline-grails (2.12.1) L’Asset-Pipeline è un plugin per la gestione dei assets statici di una applicazione Grails. Le funzioni di Asset-Pipeline includono l’elaborazione minificazione sia di dei files CSS che Javascript. Può anche essere esteso in modo da compilare anche altri tipi di asset, ad esempio CoffeeScript..
Plugin Grails 2 aggiornati
- Twitter Bootstrap UI for GR8 CRM Questo plugin fornisce il layout di Twitter Bootstrap per applicazioni GR8 CRM
- Content Management Services for GR8 CRM Questo plugin fornisce la memorizzazione e i servizi per la gestione dei contenuti della applicazione GR8 CRM. Il contenuto può essere di qualsiasi tipo come testo, Microsoft Word, PDF, e immagini. Il contenuto può essere memorizzato il cartelle oppure collegato ad istanze di dominio. Il contenuto può essere condiviso con gli utenti della applicazione oppure pubblicamente con il mondo.
Tweet interessanti
- @gr8crm A new Grails 2.x plugin is pending approval. Finally you can store GR8 CRM content in AWS S3 buckets. https://github.com/technipelago/grails-crm-content-aws
- @epragt Kotlin and Spock are amazing together. Until you need to #Mock something. Any #Kotlin developers with tips?
- @halyph #Groovylang is to the JVM what #Bash is to #Linux
- @bsideup Now it’s official! I’m joining the @ApacheGroovy team as a committer, yay! ???? https://t.co/072fkT0xRv
- @sbglasius Shout out to @benorama for the initial #groovylang #AWS #Lambda article http://bit.ly/2gk04Xn Thank you for the i… https://twitter.com/i/web/status/807349039922561024
- @DailyGradle #jbake + #gradle is great combination. Try this plugin: https://plugins.gradle.org/plugin/org.xbib.gradle.plugin.jbake #gradleTip
- @daniel_sun The new parser(Parrot) for #groovylang supports Default Method for interface now. @ApacheGroovy http://goo.gl/XZyD8p
- @craigburke1 Trying out http-builder-ng. Very intuitive and simple DSL. https://github.com/http-builder-ng/http-builder-ng
- @mittie Always cool to see to what extend #groovylang is used in important organizations and how it has become a language for business.
- @graemerocher Back from G3 and to work on #grailsfw. Remember to checkout the new guides http://guides.grails.org/ and App Forge http://start.grails.org
- @gpottepalem Pretty neat, Grails Application Forge http://start.grails.org/ #grailsfw
- @kenkousen Finally reading more of Learning Ratpack. What a fantastic book! (Just don’t tell @danveloper I said that) #ratpackweb
- @glaforge Is #Maven still the most popular build tool, or did @gradle catch up? http://buff.ly/2gRPFnR (analyzed with @googlecloud #BigQuery)
- @ZacharyAKlein Simple Grails 3 plugin makes it easy to render JavaScript with Nashorn in #java 8. Try it with #reactjs! Demo:… https://twitter.com/i/web/status/804750993816752133
- @ApacheJMeter .@ApacheJMeter has @ApacheGroovy full integration, scales very well and please forget about blogs mentioning Beanshell, jmeter 2.x 🙂 RT pls
- @ilopmar This is guy is awesome. Daniil implemented the new feature less than two days after the announcement ?? https://twitter.com/oldpa_/status/804101754048679937
- @pledbrook Finally discovered today that you can set the package for a #grailsfw 3 app via
create-app http://org.example.my-app
- @kenkousen That was fast https://twitter.com/oldpa_/status/804103127683264512
- @nulleric Thanks for the kind words on @groovypodcast @RyanVanderwerf! Still shooting for mid Dec early access for @grails3book
- @ilopmar We have @el_groovyssimo at #G3Summit during the @groovypuzzlers session https://t.co/iNzQIYSrE4
- @ilopmar . @groovypuzzlers starts sending compliments #groovypuzzlers #G3Summit https://t.co/Gr1ztYJZJ8
- @ysb33r Great presentation on understanding #groovylang if you come form #java background. https://twitter.com/daniel_sun/status/804100562363019264
- @oldpa_ Check out Grails Application Forge support in #IntelliJ 2017.1 EAP #g3summit #grailsfw https://t.co/QJ4vW4hufa
- @ilopmar The only annotation people will remember after my talk is @Pokemon. I blame you @danveloper #g3summit
- @ColinHarrington Using React with Grails 3 with @ZacharyAKlein #G3Summit #reactjs #grailsfw https://t.co/OR4AR2PC0f
- @pmerikan Finally got the time (aka. vacation) to read “Spock: Up and Running” by @rfletcherEW GREAT book! https://goo.gl/IzwjmX#groovylang
- @ApacheGroovy #g3summit attendees, remember to join the Groovy Community Slack http://bit.ly/2gHykgh #groovylang Everybody are welcome!
- @daniel_sun @joem86 @ApacheGroovy Hi Joe, inline anonymous scope is supported in #groovylang 3: def m() { { println 123 } { println 234 } } m()
- @gr8conf Never heard of GR8Conf? Here’s a recap of #GR8Conf EU16: http://bit.ly/2gHCbK9 @ApacheGroovy @grailsframework @gradle @ObjectComputing
- @glaforge The #maven Shade plugins adds a #groovylang transformer option to customize the way modules are merged togetherhttps://github.com/apache/maven-plugins/commit/d09f2be5cd8c092d3ba554511f2cc4f4f66423a0
- @opendevise We’re proud to see Asciidoctor serving the needs of amazing Open Source projects like Grails. https://twitter.com/glaforge/status/803608853724086277
- @ColinHarrington Writing your own Groovy AST Transformations – Deep Dive with @paulk_asert #G3Summit #groovylang https://t.co/TBCLdjdDxV
- @TheASF Did you know that @ApacheGroovy is downloaded 2M+ times per month since becoming an official #Apache project? #Open #Innovation #Community
- @bsideup Hey @ApacheGroovy people at #g3summit! Don’t forget to take a look at https://github.com/bsideup/groovy-macro-methods-proposalCould be a future feature of the language 🙂
- @asoftwareguy Great talk by @venkat_s on Intermixing Java & #groovylang. Good stuff! #g3summit
- @ZacharyAKlein Even the brilliant @paulk_asert has a hard time fitting a topic like “Groovy: The Awesome Parts” into 90 minutes. #G3Summit #groovylang
- @glaforge This logic puzzle statements are actually also valid #groovylang code statements Shown by @paulk_asert at #g3summit https://t.co/h08CQ6GwPs
- @glaforge It’s built with @asciidoctor by the way, so you can also easily author and contribute your own guides! https://twitter.com/glaforge/status/803608485761949696
- @graemerocher @glaforge covering the future of Groovy. #g3summit #groovylang https://t.co/6SLu04Yu8X
- @B2GSMeetup #g3summit did some short 360 video at the reception, hoping to do some more when if I find out where the Groovy Podcast will be.
- @danveloper So happy to have all these wonderful folks stick with me all day to learn about @ratpackweb at #g3summit https://t.co/8Qh64pL0WI
- @sdkman_ Java 8u111 for #cygwin is now available on our beta channel! Please share your experiences at https://gitter.im/sdkman/beta-channel#java #windows
- @ilopmar “You do not block the main thread pool!!” @danveloper talking about @ratpackweb #g3summit
- @ysb33r Demo’d @ApacheGroovy GString interpolation so some #Java devs. They wondered whyy they had to struggle with Java String.format.
Conferenze ed incontri
- Extremely fast builds with Gradle,virtual Meetup, 4 gennaio 2017.
- Free Gradle Training in January, Online via Zoom webinar, 11-12 gennaio, 2017.
- GR8Conf India, New Delhi – India, gennaio, 2017.
- Greach, Madrid – Spagna, 30 marzo – 1 aprile, 2017. Call For Papers
- GR8conf Europe, Copenaghen – Danimarca, 31 maggio – 2 giugno, 2017. Call For Papers
- GR8conf US, Minneapolis – USA, 26-28 luglio, 2016.