https://github.com/bertramdev/asset- pipeline/wiki/Why-asset-pipeline-over- grails-resources-plugin • Full documentation – http://bertramdev.github.io/asset- pipeline/ • Many thanks to David Estes! 10
to transform data when written or read from the database. 16 class Name { String title static mapping = { title write:'UPPER(?)', read:'REPEAT(title, 2)' } }
GeoJSON type support • Maps of entities • Full Text Search • Projections using Aggregations • Size queries (sizeEq, sizeLt etc.) • Spring Boot – https://spring.io/guides/gs/accessing- data-gorm-mongodb/ 18
Rewritten to use Aether for dependency resolution as per recommendations • Can now be used with multiple versions of Grails: 19 <configuration> <grailsVersion>2.3.8</grailsVersion> </configuration>
REST, Channels, Adapters, WEB INTEGRATION BATCH BIG DATA SPRING CORE FRAMEWOR SECURIT GROOV REACTO DATA RELATIONA NON- BOOT Bootable, Minimal, Ops-Ready GRAILS XD IO IO
to Grails? – Standardised dependency management – Published BOMs for use with Maven & Gradle – Foundational libraries – See more http://docs.spring.io/platform/docs/current/ reference/htmlsingle/ 27 dependencies { compile 'commons-‐lang:commons-‐lang' }
build • Easier now everything is forked in 2.3.x • All the flexibility of a powerful build system • Separate build plugins can provide Gradle extensions 28
Gant & Current Build System • GDoc - Replaced by AsciiDoctor • Integration Tests - Replaced by more Mixins • Converters / Codecs plugins - Replaced by Groovy extensions • Filters - Replaced by new mechanism 36
Boot, new servlets and filters can just be Spring beans 37 ! def doWithSpring = { characterEncodingFilter( CharacterEncodingFilter) { encoding ='utf-‐8' } }
via AST transforms will now be added by Traits – (Cases not possible as Trait done with transforms) 43 trait Controller { … def withFormat(Closure callable) { … } }
• Profile specific commands (run, package, test) • Profile specific plugins • Profile specific project templates and file templates (code generators) backed by Git • Community maintained profiles and core profiles 45