• Save
Introduction To Grails
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

Introduction To Grails

  • 3,229 views
Uploaded on

Presentation done at the Utah Ruby User Group meeting on Groovy / Grails. I cover some similarities and differences between Grails and Rails.

Presentation done at the Utah Ruby User Group meeting on Groovy / Grails. I cover some similarities and differences between Grails and Rails.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
3,229
On Slideshare
2,320
From Embeds
909
Number of Embeds
10

Actions

Shares
Downloads
0
Comments
0
Likes
1

Embeds 909

http://coderberry.me 789
http://localhost:4000 82
http://localhost 14
http://ericberry.blogspot.com 13
http://www.linkedin.com 3
http://www.slideshare.net 2
http://ericberry.blogspot.ru 2
http://coderberry.ghost.io 2
http://www.inoreader.com 1
http://digg.com 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide















Transcript

  • 1. Introduction to Groovy & Grails
  • 2. ‣ Builds upon the strengths of Java but has additional power features inspired by languages like Python, Ruby and Smalltalk ‣ Makes modern programming features available to Java developers with almost-zero learning curve ‣ Supports Domain-Specific Languages and other compact syntax so your code becomes easy to read and maintain ‣ Simplifies testing by supporting unit testing and mocking out-of-the-box ‣ Seamlessly integrates with all existing Java objects and libraries ‣ Compiles straight to Java bytecode so you can use it anywhere you can use Java
  • 3. "Groovy is like a super version of Java. It can leverage Java's enterprise capabilities but also has cool productivity features like closures, builders and dynamic typing. If you are a developer, tester or script guru, you have to love Groovy."
  • 4. !=
  • 5. != ** but Rails paved the way
  • 6. Development modes (development, test, production, custom) • Built-in web server • Hot deploy / class reloading without restarting the server • ORM (Object Relational Mapping) • Lots of plugins, that can be downloaded from the command line / plugin manager • Simple routing configuration • Model, view, controller, and test generators • Active community • Easy to learn • Full stack frameworks • Console (groovysh / groovyConsole) • Easy to configure • Builders • Very easy to create tags / reusable HTML components • Convention over Configuration
  • 7. Services Classes which contain business logic but are not necessarily tied to a specific domain class (ie. model)
  • 8. Services Classes which contain business logic but are not necessarily tied to a specific domain class (ie. model) No Migrations SQL generation is done through the domain class. You define how the domain class should be structured, and the SQL is generated.
  • 9. Services Classes which contain business logic but are not necessarily tied to a specific domain class (ie. model) No Migrations SQL generation is done through the domain class. You define how the domain class should be structured, and the SQL is generated. Plugins Plugins written for Grails are simply Grails applications that override existing code. Similar to Rails Engines, but done right.
  • 10. Services Classes which contain business logic but are not necessarily tied to a specific domain class (ie. model) No Migrations SQL generation is done through the domain class. You define how the domain class should be structured, and the SQL is generated. Plugins Plugins written for Grails are simply Grails applications that override existing code. Similar to Rails Engines, but done right. Java Integration Any Java jars or code libraries can be used within the Grails application easily.
  • 11. Demonstration
  • 12. 1st Thursday of every month at 6:30 PM Neumont University Room #308