Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Reference_description_with_linked_URLs_________________________Notes________________________________________________________________


https://grails.orgGrails

https://github.com/grails/grails-core/releases/tag/v4.1.0.M2

http://docs.grails.org/4.1.0.M1/guide/introduction.html#whatsNew

grails experimental downloads for 4.2, Groovy 3
https://grails.org/blog/index.htmlutm_campaign=2GM%20Community%
20Engagement&utm_medium=email&_hsmi=95220434&_hsenc=p2ANqtz--Gie_w6ROGkVF89tuvgvf0TvA5zGNNJOLiSLxRPsYRscSTXn6f_b5b9sjFqnW-HpRXh-Y5pJ7MiE3jgwUVf2JwyXRBrQ&utm_content=95220434&utm_source=hs_email
Grails blog
https://grails.org/blog/2020-09-10-grails-state-of-union.htmlGrails 2020 update
https://github.com/grails/grails-core/releasesGrails releases repo including Milestones *


http://docs.grails.org/latest/guide/introduction.htmlGrails 4.0 online doc

http://docs.grails.org/latest/guide/single.pdf

https://drive.google.com/open?id=1mMT9PXJMt1LhKMlNIXYdvK17w9_sfSYk

Grails 4.0 single pdf
https://objectcomputing.com/products/grails/grails-roadmapGrails roadmap to v4.0


https://grailsthreebook.com/assets/pdf/grails3book-sample-preview.pdf

https://drive.google.com/open?id=16CCCp9JIztLSy2dDVJl153aogU9klgDX

Grails 3 book - sample - rest api profile

https://www.slideshare.net/paulbowler/grails-patterns-and-practices

https://drive.google.com/open?id=1GluRzUKpndHmqx4C3a87H8o0nOTln50W

Grails Patterns and Practices slide deck

https://www.sapient.com/content/dam/sapient/sapientglobalmarkets/pdf/thought-leadership/MarProg_Grails_WP_Web.pdf

https://drive.google.com/open?id=165wtwVmVXBQU2JX5uQ2QyS6NXlceS8BU

Grails Overview and Best Practices Guide - v2.0
https://opensourceconnections.com/blog/uploads/2010/01/
Introduction_to_Groovy_and_Grails.pdf
Grails and Groovy Details - 2011

https://drive.google.com/open?id=0BxqKQGV-b4WQVHptM01wVHZQOE0

https://drive.google.com/open?id=0BxqKQGV-b4WQRE52M2ozU2RTR1k

Jim Mason - 2009 - Books and Authors Web App in Grails in 1 hour

Lab loading instructions doc


Grails CRUD Scaffolding apps
https://drive.google.com/open?id=1CcNKF5Mab8po1R9G_BSrYQ-uYjf2qDM5Vogella - 2010 - Grails Web Blog app - decent example on v2.0
https://drive.google.com/file/d/1fL5Q9LH5WB8XsQw71JP_8GoCgjeQt7us/viewGrails Angular CRUD app example - manage customers - older



Grails REST api example - see docs
https://github.com/budjb/grails-jaxrsGrails REST Jax-RS generator plugin
http://budjb.github.io/grails-jaxrs/3.x/latest/Grails REST Jax-RS generator plugin documentation
https://grails.org/plugins/tag/jax-rsGrails REST Jax-RS plugin list


https://guides.grails.org/grails-vs-nodejs/guide/index.htmlTutorial Migrate React Node.js app to Grails backend


https://groups.google.com/forum/#!topic/grails-dev-discuss/CNmd8BRuf28

https://plugins.grails.org/plugin/grails/db-reverse-engineer

https://github.com/grails-plugins/grails-db-reverse-engineer/issues

https://grails-plugins.github.io/grails-db-reverse-engineer/

Grails DB reverse engineering plugin does not work after Grails 3.1 - 2017

NO LONGER SUPPORTED




GORM
https://docs.grails.org/latest/guide/GORM.htmlGrails GORM overview

http://gorm.grails.org/6.1.x/hibernate/manual/

GORM documentation


https://github.com/smallnest/gen

Generates Go lang structs from many SQL databases

could create converter to generate simple domain classes for GORM









...

drwxr-xr-x  15 jimmason  staff     480 May  7  2016 test2


udemy grails course test 

...

grails course test 

gdrv//_work/jim-acer/blearn/grails/peblock/grails-app/controllers/peblock/UrlMappings.groovy


Grails Install 



Grails Setup 


cat ./setGrails4.sh

#!/bin/bash

#

echo "----------- "

echo " setGrails4.sh - adds Grails4  home  to path"

echo " "

#

#  $GRAILS_HOME set

export PATH=/opt/local/bin:/opt/local/sbin:/Users/jimmason/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands:/usr/local/mysql:/usr/local/bin:usr/local/sbi:n

export MYSQL_JDBC=/Users/jimmason/_dev/lib/mysql-connector-java-5.1.34.jar

export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home

export GRAILS_HOME=/Users/jimmason/_dev/grails4

export PATH=$PATH:$GRAILS_HOME:$GRAILS_HOME/bin

export CLASSPATH=$MYSQL_JDBC:$CLASSPATH

echo $PATH


Grails 3x requires JDK8 not JDK11

verify JDK is JDK8 NOT JDK11 ( the default system JDK I set ) 


grails --version && groovy --version




Project References



Key Concepts

...

option 2> manually copy file contents to console window
open grails console
open the file from the File menu ( nothing shows )
open the same groovy file in another text editor
copy and paste the entire contents to the console window
add a comment line
File > save
check the saved file in the text editor to see the comment line exists


Grails 4.1 M++  – Groovy 3 and JDK11


Candidate Solutions


Simple Grails CRUD app on Grails 2x

User

EBC

Account

Device 

Location

Energy



Steps after Grails setup

grails createApp  gtcrud1

cd gtcrud1

grails console

  • add the application folder to the grails path in the console




Step-by-step guide for Example

...