Groovy & Grails Jean Barmash CTO, EnergyScoreCards.com www.nywebguy.com.

Slides:



Advertisements
Similar presentations
Introduction to the Spring Framework
Advertisements

January 30, 2014 Copyright Jim Farley Beyond JDBC: Java Object- Relational Mappings Jim Farley e-Commerce Program Manager GE Research and Development
1 Actuate Corporation © 2010 THE BIRT COMPANY THE BIRT COMPANY THE BIRT COMPANY THE BIRT COMPANY THE BIRT COMPANY THE BIRT COMPANY THE BIRT COMPANY THE.
Apache Struts Technology
Developing Domain-Specific Languages for the JVM Travis Dazell Systems Architect Digi-Key Corporation.
Spring, Hibernate and Web Services 13 th September 2014.
Sakai on Rails Integrating Ruby and Sakai David Adams, Virginia Tech.
An Agile Approach for Web Systems Engineering A Presentation of an Article by V.E.S. Souza and R.A. Falbo.
Ruby on Rails Tutorial Peter Mosca April, Ruby on Rails Tutorial Ruby History Invented 12 years ago in Japan by Yukihiro Matsumoto Spent first 5.
Apache Struts Technology A MVC Framework for Java Web Applications.
UNIT4 BUSINESS ANALYTICS. page WHAT IS THE PRODUCT? 2 A business intelligence tool kit, specializing in Coporate Performance Management An application.
L EC. 01: J AVA FUNDAMENTALS Fall Java Programming.
Introduction to Ruby CSE 413 Autumn 2008 Credit: Dan Grossman, CSE341.
UNIT-V The MVC architecture and Struts Framework.
Spring Roo CS476 Aleksey Bukin Peter Lew. What is Roo? Productivity tool Allows for easy creation of Enterprise Java applications Runs alongside existing.
A little engineering on Rails Robert W. Hasker. Goals Intro to the Rails framework ▫Basic concepts: MVC, Active Record ▫A bit of Ruby Using Rails to build.
CHAPTER 4 SPRING FRAMEWORK Wattanapong suttapak, Software Engineering, school of Information communication Technology, university of phayao.
Project Rickshaw SEARCH - FIND - GO. Project Rickshaw TEAM MEMBERS KEVIN AUGUSTINO – MATT FOX – DAVID MOORE SPONSORS KARASU TECHNOLOGIES - ERIK PAUL -
WebWork in Action An introduction to WebWork Patrick A. Lightbody.
Rails and Grails. To get started Make sure you have java installed You can get the sdk and jre at:
Groovy WHAT IS IT? HOW DOES IT WORK? IS IT USEFUL?
1 INTRO TO BUSINESS COMPONENTS FOR JAVA (BC4J) Matt Fierst Computer Resource Team OracleWorld Session
Entity Framework Code First End to End
Spring Overview, Application demo -Midhila Paineni 09/23/2011 Spring Overview, Application demo9/8/20151.
Sumant Tambe, et. al LEESA DSPD 2008 An Embedded Declarative Language for Hierarchical Object Structure Traversal Sumant Tambe* Aniruddha Gokhale Vanderbilt.
MDA and QVT  Tom Gullion, Director of Product Management, Together Products.
NHibernate in Action Web Seminar at UMLChina By Pierre Henri Kuaté 2008/08/27
Object persistence with Hibernate in Decision Deck 1.1 Gilles Dodinet 2 nd Decision Deck Workshop 2008, February.
JDeveloper 10g and JavaServer Faces: High-Performance UIs on the Web Avrom Roy-Faderman Senior Programmer May, 2006.
1 Extending Java And Developing DSLs With Open Source Language Workbench JetBrains MPS Konstantin Solomatov JetBrains Lead Developer for JetBrains MPS.
Groovy in 15 minutes… Johannes Carlén Callista Enterprise AB
© 2006 IBM Corporation IBM WebSphere Portlet Factory Architecture.
Java Users Group Charleston, SC June 25, 2008 Introduction to Grails by Jason McDonald.
An Introduction To Building Groovy Web Applications With Grails Jeff Brown – Principal Software Engineer Object Computing Inc.
1 Groovy for Java developers and testers How Java developers and testers could use Groovy to increase their efficiency AUGUST 6, 2015.
Spring Framework. Spring Overview Spring is an open source layered Java/J2EE application framework Created by Rod Johnson Based on book “Expert one-on-one.
Transfer 101 Dan Vega. 2www.cfunited.com About Me Programmer ColdFusion / Flex / AS3 / HTML / JS / CSS / Groovy & Grails Cleveland ColdFusion.
Introduction to 12/13/20111 Prepared by: Vincent Schwarzer, Chih-Hung Hsieh Java Enterprise Application Development.
Grails Mansura Habiba 13 november Introduction What is Grails? Runs on the Java Virtual Machine Used Java like dynamic language Groovy Inspired.
Introduction to Web Dimitar Nenchev Ivan Nakov
2006 JavaOne SM Conference | Session BOF-2521 | Rapid Web Application Development with Grails Graeme Rocher Managing Director Agilize it
Groovy and CFML CFGroovy: Groovy for CFML Developers Barney Boisvert.
Ruby/Ruby on Rails Yasushi Osonoi Open Dream corporation
Ruby on Rails By S. Christopher Hellriegel. Overview 1. What is Ruby on Rails? 2. What is MVC? 3. Simple example 4. Wow, that was cool!
Fall CIS 764 Database Systems Engineering L18.2 : Object Relational Mapping … ….Object persistence.
Software Product Lines Peter Bell CEO/CTO, SystemsForge cf.Objective() 2008 Peter Bell CEO/CTO, SystemsForge cf.Objective() 2008.
Ecosystem. About the Speaker Java developer since the beginning True believer in Open Source Groovy committer since 2007 Project lead of the Griffon framework.
EMEA Beat Schwegler Architect Microsoft EMEA HQ Ingo Rammer Principal Consultant thinktecture
Fundamentals of MyBATIS
APACHE STRUTS ASHISH SINGH TOMAR ast2124. OUTLINE Introduction The Model-View-Controller Design Pattern Struts’ implementation of the MVC Pattern Additional.
Singleton Academy, Pune. Course syllabus Singleton Academy Pune – Course Syllabus1.
Introduction to ORM Hibernate Hibernate vs JDBC. May 12, 2011 INTRODUCTION TO ORM ORM is a programming technique for converting data between relational.
Apache Struts Technology A MVC Framework for Java Web Applications.
CS 440 Database Management Systems Stored procedures & OR mapping 1.
Excel Services Displays all or parts of interactive Excel worksheets in the browser –Excel “publish” feature with optional parameters defined in worksheet.
By: Chad Gallati, Melissa Plakyda, Jenny Wilkes References: /a-z_programming_languages_groovy/
J AVA T RAINING IN A HMEDABAD By TOPS Technologies 1 TOPS Technologies Java Course.
1 Rails for the Ruby-Impaired John Paul Ashenfelter CTO/Transitionpoint.
Fall CIS 764 Database Systems Engineering L11: Object Relational Mapping … (a) ORM, Object persistence (b) Pets sequence.
Architecture of Professionals.az Ziya Askerov April 2013
Open Source distributed document DB for an enterprise
Ruby, Rails, GUIs, and More
Unit 6-Chapter 2 Struts.
Why Modern Web Apps Are Best Built Using Rails In 2018.
A brief introduction to Kotlin
Introduction to Grails
Signet & Privilege Management
International Living Atlases Workshop Madrid 2018
Groovy.
Software Engineering and Architecture
Presentation transcript:

Groovy & Grails Jean Barmash CTO, EnergyScoreCards.com

Agenda Groovy – Introduction – Examples Grails – Introduction – Convention over Configuration – Build A Simple App

Groovy Dynamic Language on JVM Focus on programmer productivity Focus on Essence vs. Ceremony Superset of Java Native Java Library Integration Compiles into Java Dynamic Typing Native Syntax for Lists, Maps, Sets, Ranges

Very Sweet – Tons of Syntactic Sugar Tons of Options – Optional parentheses – Optional semicolons – Optional Return Safe Dereferencing Autoboxing GStrings Regular Expressions Autogenerated Setters / Getters Even Elvis….

Even Groovier Closures MixIns & Categories Advanced MetaProgramming Capabilities AST (Abstract Syntax Tree) Transformations Great XML Processing Capabilities Object Builders / XML Builders Easy to make DSLs Google App Engine

Grails Web Development framework inspired by Ruby on Rails – Convention over Configuration – DRY – Do Not Repeat Yourself – More focused on domain objects than Rails Underlying Libraries: – Hibernate – Spring – SiteMesh – Quartz – J2EE / Servlet

Grails Key Features Convention over Configuration – Domain Objects – Controllers – Views – Services – Dependency Injection

GORM GORM – Robust Domain Modeling Layer – Built on Top of Hibernate, which is hidden – Advanced Layer for modeling of relationships – Maps to Database over JDBC or JPA – Dynamic Finders – query the objects – CRUD Operations – Constraints – Performance Optimizations Can be used outside of Grails, including in Java Apps

UI Features Scaffolding to generate Views Layout Elements VERY Easy TagLibs Converters to create RESTful services

Plugins, Plugins, Plugins A core concept in Grails – Unit of Functionality – Unit of Reusability – Unit of Integration Creating a plugin is almost identical to creating an application Over 200 Plugins in all sorts of areas – Central Repository –

Other Stuff Gradle – dependency resolution Gant – build tool GPars – actor concurrency library Griphon – Grails like framework for building Swing application

Resources Groovy Usage Patterns – patterns/ patterns/ Grails – Groovy –

Demo