Il seguente testo è la traduzione italiana del post Grails Diary – Week 3-5 in 2017 scritto da Jacob Aae Mikkelsens (i tweet non saranno tradotti in quanto si rischia di snaturarne il significato).
Alla fine sono riuscito a scrivere questa edizione tri-settimanale del Diario di Grails.
Il team di Grails in OCI è stato impegnato sia nella scrittura delle nuove guide che nel rilascio di versioni con bug fix. Grails versione 3.2.5 e GORM 6.0.6 sono stati rilasciati con bug fix e miglioramenti minori. E' stato rilasciato anche Grails versione 3.1.15. Per quanto riguarda Gorm è stata pubblicata la prima milestone: Gorm 6.1 M1. Il manuale ha un sezione sulle novità della 6.1, e porta con se molti miglioramenti per la Multi-Tenancy, Automatic Escaping per HQL Queries, supporto per le query SQL Native, e alcuni aggiornamenti per MongoDB e Neo4j.
Le nuove guide sono disponibili su guides.grails.org.
- Creare la tua prima applicazione Grails. Una guida molto approfondita su come iniziare, con molti dettagli e non solo argomenti di introduzione.
- Eseguire Grails Geb Functional Tests con Browsers multipli. Utilizzare il dsl environments per definire i browser con cui condurre i test.
- Creare e testare una Grails 3 TagLib; integrare i trucchi con un editor YSWYG. Grande guida per integrare librerie di terze parti come taglib.
for(int i = 0, j = 10; i < j; i++, j--) {..}il vecchio parser supporta solo limitatamente i cicli, vale a dire
for (int i = 0; i < 10; i++) {..}Vi è il supporto anche per la Multi-Assegnazione, rendendo possibile la seguente stampa della serie di Fibonacci
def (int a, int b) = [0, 1] while (b < 10) { println b (a, b) = [b, a + b] }Jesper Steen Møller ha assistito nel porting del parser Parrot a Java 7, non limitandolo più solo a Java 8. Per Grooscript è stato rilasciato il plugin gradle nella versione 1.3.0! L'artifactId è stato rinominato in gradle-plugin. E' stata rilasciata la versione 1.5.1 di Gretty, l'avanzato plugin di gradle per esecuzione delle web-apps su jetty e tomcat, ora è compatibile con Gradle 3.3. E' stata annunciata la maggior parte degli speaker del Greach che si terrà alla fine di Marzo, anche l'agenda è stata preannunciata. Ci sarò anche io a fornire il mio punto di vista sulle pipeline di Jenkins 2.0, oltre ad un grande numero di relatori e argomenti. Se volete partecipare al #Greach e avete bisogno di aiuto per il viaggio, l'organizzazione Gr8Ladies può aiutarvi! Per saperne di più trovate il modulo qui. Per GR8Conf EU è stato annunciato il primo speaker, e molti altri saranno annunciati nelle prossime settimane. Sono state aperte due call for papers: GR8Conf US e Gradle Summit
Podcast e Video Presentazioni
- Make your testing Groovy (Paul King from linux.conf.au)
- Groovy Podcast Ep 41 (Kenneth Kousen and Baruch Sadogursky)
- St. Louis Groovy & Grails MeetUp: Using REACT with GRAILS 3 (Zachary Klein from St. Louis Groovy & Grails Meetup)
- Magic's Biggest Secrets Finally Revealed: Groovy Metaprograming (Tucker Pelletier from Boston Groovy Grails & Spring Meetup)
Blog, Articoli, ecc.
- Great Tools for Engineers: Refactoring Across Multiple Code Bases with Gradle and IntelliJ IDEA (Szczepan Faber)
- Groovy is still better than Java (Dan Tanner)
- Using Spring REST docs to document a public API (Jenn Strater)
- Groovy Is the New Black (Konstantine Firsanov)
- So Why is Spock Such a Big Deal? (Russel Winder)
- What Mr. Spock would possibly say about modern unit testing: pragmatic and emotional overview (Yaroslav Yermilov)
- Spock framework - Intro (David Molinero)
- Spock framework - Test doubles (David Molinero)
- Spock framework - Other features (David Molinero)
- Groovy Calamari - Issue 67 (Sergio del Amo)
- Groovy Calamari - Issue 66 (Sergio del Amo)
- Groovy Calamari - Issue 65 (Sergio del Amo)
- Gradle Goodness: Checking Operating Systems in Build Scripts (Hubert Klein Ikkink aka MrHaki)
Plugin Grails 3Aggiornati
- aws-sdk-sqs (2.1.11) Grails AWS SDK SQS plugin.
- aws-sdk-sns (2.1.11) Grails AWS SDK SNS plugin.
- aws-sdk-ses (2.1.11) Grails AWS SDK SES plugin.
- aws-sdk-s3 (2.1.11) Grails AWS SDK S3 plugin.
- aws-sdk-kinesis (2.1.11) Grails AWS SDK Kinesis plugin.
- aws-sdk-dynamodb (2.1.11) Grails AWS SDK DynamoDB plugin.
- audit-logging (2.0.3) Grails 3.x Audit-Logging Plugin..
- sentry (7.8.1) Grails Sentry plugin.
- grails-hibernate-filter (0.5.2) Fornisce utility per definire filtri hibernate sulle classe e collections. Pensato per essere utilizzato con Grails 3.2 e superiore, Hibernate 5, e GORM 6.
- newrelic (3.35.2) Grails NewRelic plugin.
- org.grails.plugins:grooscript (1.3.0) Grooscript Grails 3 Plugin.
- grails-views (1.1.5) Grails Views.
- views-json-templates (1.1.5) Grails views-json-templates plugin.
- views-gradle (1.1.5) Grails views-gradle plugin.
- cassandra (6.0.6) GORM - Grails Data Access Framework.
- rx-gorm-rest-client (1.0.4.RELEASE) Fornisce e RxGORM Object Mapping implementation per la comunicazione con i web services REST.
- neo4j (6.0.6) GORM - Grails Data Access Framework.
- rx-mongodb (6.0.6) GORM - Grails Data Access Framework.
- mongodb (6.0.6) GORM for MongoDB.
- hibernate4 (6.0.6) GORM - Grails Data Access Framework.
- hibernate5 (6.0.6) GORM - Grails Data Access Framework.
- sass-asset-pipeline (2.13.1) Fornisce un facile e veloce supporto a file .sass e .scss per Transpiling verso CSS. Questo plugin sfrutta jsass e libsass per ottenere le migliori performance.
- less-asset-pipeline (2.13.1) Compilatore LESS per Asset-Pipeline.
- handlebars-asset-pipeline (2.13.1) Fornisce il supporto nativo ai file Handlebars nella asset-pipeline. Converte facilmente i file .hbs o .handlebars in javascript template cache da utilizzare con il runtime handlebars.
- ember-asset-pipeline (2.13.1) Converte facilmente i file .hbs o .handlebars in javascript template cache.
- compass-asset-pipeline (2.13.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.13.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.13.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.
- grails-melody-plugin (1.63.0) Integrare JavaMelody per monitorare una applicazione Grails.
- org.grails.plugins:jasypt-encryption (2.0.2) Integrazione con Jasypt, permette la cifratura semplice di informazioni includendo l'integrazione con Hibernate/GOR.
Plugin Grails 2 Aggiornati
- Plastic Criteria Plugin Mock Grails Criteria per il Unit Tests
- Handlebars Asset-Pipeline Plugin Provides Handlebars precompiler support for the asset-pipeline static asset management plugin.
- SASS/SCSS Asset-Pipeline Plugin Provides SASS/SCSS Compass support for the asset-pipeline static asset management plugin.
- Ember.js Asset-Pipeline Plugin Provides Ember.js integration with asset-pipeline. Allows for handlebars precompilation as well as scaffolding for building an emberjs application.
- LESS Asset-Pipeline Plugin Provides LESS support for the asset-pipeline static asset management plugin.
- CoffeeScript Asset-Pipeline Plugin Provides coffee-script support for the asset-pipeline static asset management plugin.
- Asset Pipeline Plugin The Asset-Pipeline is a plugin used for managing and processing static assets in Grails applications. Asset-Pipeline functions include processing and minification of both CSS and JavaScript files. It is also capable of being extended to compile custom static assets, such as CoffeeScript.
- Bower Asset-Pipeline Plugin Provides bower support for the asset-pipeline static asset management plugin.
- Grailsflow GrailsFlow is an open source Workflow and Process Engine.
- Slack Plugin This plugin provides integration with Slack by Incoming Webhooks
- Basic Security Features for GR8 CRM This plugin provides basic security feature for GR8 CRM. Specific security implementations exists for Apache Shiro (crm-security-shiro).
Tweet Interessanti
- @Gradlephant finally a dating app that makes sense. select mav** and we have probably a match there: http://mashable.com/2017/02/02/hater-dating-app/#f5HFHgboTiq3
- @ApacheGroovy #grailsfw in the top 10 Best Java Web Frameworks for 2017 http://www.dailyrazor.com/blog/best-java-web-frameworks-for-2017/
- @gr8conf Almost all of the DOORBUSTER tickets are gone now. Last chance. http://bit.ly/1CfGyDi #groovylang #grailsfw #devops #gradle RT
- @RalfDMueller Just bought "Spock Up and Running" by @rfletcherEW It's great! @spockframeworkhttp://shop.oreilly.com/product/0636920038597.do
- @rfletcherEW Draft complete on Spock: Up and Running. Working on the appendix now but the end is most definitely in sight.
- @biniamasnake #groovylang I'm grateful for Groovy Calamari for keeping me up-to-date with info about Groovy & Grails & ecosystemhttp://groovycalamari.com/issues/67?#start
- @sdelamo I have been attending @greachconf for many years now. This year I a very proud speaker with a #grailsfw talk. ??… https://twitter.com/i/web/status/827572518139654144
- @daniel_sun Parrot speaks Java with a slight #groovylang accent(e.g. Lambda Expression), which is one of reasons why I name the new parser as "Parrot".
- @grailsframework #grailsfw tip: How to unit test controllers’ actions with Command Objects parameters. Spoiler: Use no args method ??http://guides.grails.org/command-objects-and-forms/guide/index.html#addEditAndUpdateActions
- @svpember Attempting to convince my wife to name our son "Turing", after the guy who fought Nazis with science.
- @gradle Gretty now supports Gradle 3.3 with it's 1.4.1 release — thanks @AndreyHihlovski! https://github.com/akhikhl/gretty
- @ZacharyAKlein Today I’ve been writing some fun @reactjs on a Grails project. You can too! Check out my latest guide: http://guides.grails.org/building-a-react-app #grailsfw
- @ThisMCGuy I just wrote a unit test in #groovy/@spockframework testing code written in @kotlin. Next, @fregelang and #clojure. Because, whynot.
- @nulleric 2 char update if you were on 3.2.4 https://github.com/erichelgeson/grails-versions/compare/3.2.4...3.2.5https://twitter.com/grailsframework/status/826803013289381889
- @grailsframework #grailsfw core repository reached 2000 stars ?????? https://github.com/grails/grails-core Tap ?? and help @grailsframework grow https://t.co/i0uv5d9g2U
- @AustinGGUG Poll for next topic(s) of Austin Groovy and Grails Group! Vote now at https://www.meetup.com/Austin-Groovy-and-Grails-Users/polls/1240815/
- @greachconf Our workshops will be delivered at "Unicentro Centro de Negocios" a modern facility with big rooms and well located… https://twitter.com/i/web/status/826429543145676800
- @alexblanquart Wow! Hard to beat : conciseness, readibility and simplicity! #groovylang #grails #geb #spock #gradle https://twitter.com/grailsframework/status/826161553590407168
- @grooscript Thanks to @bintray publish is so easy and fast :)
- @chrisoldwood I thought it was bizarre advice the doctor gave me about helping a migraine by doing lots of programming, then I realised he said "codeine".
- @Kiview Happy to give a talk @greachconf about testing using @docker and @spockframework ?? https://twitter.com/greachconf/status/826007371419889664
- @bsideup Wooo! I'm going to do a workshop @greachconf, come and learn how to write and use hopefully upcoming macro methods:… https://twitter.com/i/web/status/826028676370276353
- @alexblanquart Groovy is a lot of fun indeed! #groovylang https://twitter.com/alexblanquart/status/825990843941212161
- @sdkman_ Let's get OpenJDK onto SDKMAN! https://twitter.com/marc0der/status/825337983519879169
- @B2GSMeetup Our you tube page now has a custom url, I would've liked it to be B2GSMeetup, but it has to be the channel name :https://www.youtube.com/c/BostonGroovyGrailsSpringMeetup
- @sdelamo @CedricChampeau @VolkerGoebbels @tednaleid @JochenTheodorou https://t.co/shjALiuQ8P
- @Lspacewalker Insider #groovylang news: @glaforge wants Groovy programmers to be able to use smiley faces as operators def fun = "f" :-) "u" ;-D "n"
- @Genymotion Do your productivity a favor ? add these 4 lines to http://gradle.properties ?? #AndroidDev #Gradle https://medium.com/@kevalpatel2106/how-to-decrease-your-gradle-build-time-by-65-310b572b0c43#.46inq4zcl
- @jbspeakr wanna contribute to #opensource projects? @springboot has a bunch of tickets that are #idealforcontribution.. https://github.com/spring-projects/spring-boot/labels/status%3A%20ideal-for-contribution
- @johnrengelman A year later and I've finally finished reading @danveloper 's excellent Learning @ratpackweb book.
- @gr8conf #gr8conf EU and the #gr8conf crew supports @Gr8Ladies. Picture is from 2016. @ApacheGroovy @grailsframework @gradle https://t.co/B5fvV1RkaV
- @A1exanderFranke .@ApacheGroovy's Grape is the best invention since sliced bread for handling dependencies in short fiddle-around scripts. #groovylang
- @garykupferle React and Grails in one MeetUp? Can you do that? Evidently, yes. @ObjectComputing @reactjs @grailsframework
- @gsaqui How did I not know about the @Slf4j annotation for groovy. Very useful - http://mrhaki.blogspot.ca/2011/04/groovy-goodness-inject-logging-using.html #groovylang
- @Kiview Show some @groovylang love ?? https://twitter.com/JAXenter/status/822015000818622464
- @HttpBuilderNG The https://http-builder-ng.github.io/http-builder-ng/ twitter account is alive!
- @voxxedsingapore Guillaume Laforge @glaforge accepted to answer some of our questions. Read the interview in our next newsletter. https://t.co/kgKntQCKSR
- @grailsframework #grailsfw tip: when you test your domain classes constraints, use @spockframework unroll descriptions https://t.co/Odvi1jXyYM
- @sdkman_ Java 5, 6, 7, 8 available for Linux on SDKMAN! #linux
- @ankinson Gradle Dependency Management Plugin 1.0.0.RELEASE is now available: https://spring.io/blog/2017/01/24/dependency-management-plugin-1-0-0-release
- @daniel_sun The new parser(Parrot) for #groovylang supports the array initializer of Java style now, e.g. new int[] {1, 2, 3} @ApacheGroovy
- @sbowman96 Why it's time to stop blaming #opensource for ransomware attacks http://www.techrepublic.com/article/why-its-time-to-stop-blaming-open-source-for-ransomware-attacks/
- @overstory OverStory recommend #groovylang and @ratpackweb. We'll be talking about them in an upcoming blog. https://twitter.com/gr8conf/status/821648756693225474
- @sdkman_ Java 8u121 now available for download on SDKMAN! #macosx #osx #linux #cygwin #java
- @theaviary Version 1.4.0 of griffon-shiro-plugin has been released! Grab it now from #bintray https://bintray.com/griffon/griffon-plugins/griffon-shiro-plugin/1.4.0!
- @tonyjunkes Scooped up Learning Ratpack and early access to Practical Grails 3. Gonna try and make 2017 a stronger #groovylang & #grailsfw
- @ilopmar So I started doing some work for @greachconf at 22:00 and now it's 00:45 and I fnished (just for today!) Time to go to bed...
- @aruizca I absolutely hate writing tests in @java. Please help me to convince my peers to use @groovylang at least for tests ??Some likes might help ??
- @cristofersousa “What can we learn from million lines of Apache Groovy code on Github?” by @glaforge https://medium.com/google-cloud/what-can-we-learn-from-million-lines-of-apache-groovy-code-on-github-3151249a17b1#.bnltudsm7
- @RalfDMueller @vlad_mihalcea @java @ApacheGroovy style: parameters += (['?']*result.size()).join(',') ;-) Groovy is awesome ??
- @saturnism .@glaforge explored millions of lines of @groovylang & found most used AST, pkgs & A.groovy? https://medium.com/@glaforge/what-can-we-learn-from-million-lines-of-apache-groovy-code-on-github-3151249a17b1#.xboqwzej5 https://t.co/D6NoZE0mth
Conferenze e Incontri
- Greach, Madrid - Spagna, 30 Marzo - 1 Aprile 2017.
- GR8conf Europe, Copenhagen - Danimarca, 31 Maggio - 2 Giugno 2017. Call For Papers
- Gradle Summit, Palo Alto - CA, 22-23 Giugno 2017.
- GR8conf US, Minneapolis - USA, 26 - 28 Luglio 2017.