grails in 5mins (2010-v0.3)

9
The Grails Framework in 5 minutes David Trattnig, 2010

Upload: david-trattnig

Post on 30-Oct-2014

210 views

Category:

Technology


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Grails in 5mins (2010-v0.3)

The Grails Framework in 5 minutes

David Trattnig, 2010

Page 2: Grails in 5mins (2010-v0.3)

Full-Stack Framework

• Presentation

• Business Logic

• Persistence

• Build & Test

• Documentationphoto credits: http://www.flickr.com/photos/slipstreamjc/748716731

Page 3: Grails in 5mins (2010-v0.3)

An evolution.

Java Virtual Machine

Java Language

Java EE

JDK

• Leverages existing resources(works with „JVM friendly“ hardware, software and humans)

• Build upon industry-proven technologies (established, well tested and scalable Java frameworks & libraries)

Page 4: Grails in 5mins (2010-v0.3)

Convention over Configuration (CoC)

• No more painful XML settings

• 80 / 20 rule

• Don‘t repeat yourself (DRY)

photo credits: http://www.flickr.com/photos/squirmelia/2451382877

Page 5: Grails in 5mins (2010-v0.3)

Domain Driven Design (DDD)

• Focus on the domain, rather than technology

• Rapid prototyping

• Adaptable architecture

photo credits: http://www.flickr.com/photos/garibaldi/209338463

Page 6: Grails in 5mins (2010-v0.3)

Grails Plugin System

• 350+ Plugins available

• Modularized app architecture

• Reuse established Java libraries

photo credits: http://www.flickr.com/photos/oskay/265899865, http://www.flickr.com/photos/oskay/265899967, http://www.flickr.com/photos/oskay/265899811/

Page 7: Grails in 5mins (2010-v0.3)

Groovy, the language

• Less and more expressive code

• Mix Java & Groovy

• Dynamic language for changing requirements

• Compiles to Java bytecode

• „Relaxed“ learning-curve for Java programmers

Page 8: Grails in 5mins (2010-v0.3)

Possible Pitfalls

• difficult debugging - nature of dynamic languages(but enforces proper test-cases)

• multiple sources for possible defects (stack of many but well-tested Java frameworks)

• „Fear of learning a new language“(Split the project in a Grails-Part and pure Java-Part for „traditional“ developers)

Page 9: Grails in 5mins (2010-v0.3)

Success Stories...

... are happy with