What is GRAILS? Web framework Runs on the JVM Uses Java like dynamic language Groovy
Inspired on Ruby and Ruby on Rails
Grails stack
JEE
Spring
Hibernate
Java language
SiteMesh JDK
JVM
Groovy
Grails
What does it include? MVC
.gsp
Servlet container
GORM
Database
i18n
Build
Test support
Doc engine
MVC View
Controller
Model
Data Base
Project Structure
Hands on
Creating first app
> grails create-app Pomodoro
Domain Classes Model the application Entities
Constraints Validate several properties Properties mapped to DB Examples State minimum value for an int field Define that a String must not be blank Validates email addresses or URLs Declare that the value of a field is unique …
Relationships 1.
One-to-one static hasOne
2.
One-to-many static hasMany
3.
Task Many-to-many hasMany on both sides belongsTo in the owned side
4.
Many-to-one Define a property of another Domain class belongsTo makes it bidirectional (cascade) It duplicates values
Tag
Controllers Handle incoming web requests Redirects Rendering Check permissions Ask Domain and give the result back to the requester Convention: Controller scaffold
Controller action Defines a new Task using params
Tries to save taskInstance
Renders the create page showing problems
Task created successfully Shows the new created task instance
Generate source code Generate controllers and views We may edit this code
BootStrap Configuring start-up It is possible to define actions for start-up and shut down Examples Create instances of Domain classes on application load Send an email every time the app shuts down
Oct 14, 2017 - Email: [email protected] https://sites.google.com/site/rodrigoavelezswebpage/home. Education: Ph.D. Economics. University of Rochester, Rochester, NY (May 2009). Advisor: William Thomson. Ms.A. Economics. University of Rochester, Roche
He focuses on a key debate in economic anthropology: the substantivist-formalist ... perceived as a small international world of sin in a rapidly changing China,.
On October 17th, 2005, comedian Steven Colbert introduced to America the concept of âtruthinessâ: the quality of feeling that something is true without any need to resort to facts or evidence. As he later explained, the intention of the term was
Loading⦠Whoops! There was a problem loading more pages. Whoops! There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. rodrigo cardoso.pdf. rodrigo cardoso.pdf.
Dipartimento di Fisica, Universita` ''La Sapienza'', Piazzale A. Moro 2, 00185 Roma, Italy. (Received 8 May 2002; published 26 September 2002). We simulate the glide motion of an assembly of interacting dislocations under the action of an external sh
Software Development Engineer in Test Intern (Dec/2013 â Feb/2014). â« Worked on a web ... Livros Grátis (Android App providing free e-books in Portuguese): ...
Page 1 of 12. FORMULAN DENUNCIA. Sr. Juez Federal: Héctor Recalde, María Teresa García, Carlos Castagneto,. Adrián Grana, Carlos Moreno, Diana Conti, y Rodolfo Tailhade, diputados. nacionales del bloque Frente para la Victoria / PJ, constituyendo dom
Promotionsâ), the sum of $550,000.00, if Andrade would refuse a title fight Star Boxing and. Banner Promotions had negotiated with Showtime. After Andrade performed his obligations. INDEX NO.: VERIFIED COMPLAINT. Page 3 of 16. Main menu. Displaying
Loading⦠Page 1. Whoops! There was a problem loading more pages. Retrying... Dir. Adm. - Rodrigo Cardoso.pdf. Dir. Adm. - Rodrigo Cardoso.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying Dir. Adm. - Rodrigo Cardoso.pdf.
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Vos me ...Missing:
Page 3 of 16. Page 3 of 16. Descargar counter strike 1.6 no steam by leandro andrade. Descargar counter strike 1.6 no steam by leandro andrade. Open. Extract.
Jan 15, 2015 - He has a bachelor's degree in food and technology from Roxas Memorial ... Trade and Arts, Kalibo, Philippines, and an associate degree in ...
Vos me matásteis (Rodrigo, JoaquÃn).pdf. Vos me matásteis (Rodrigo, JoaquÃn).pdf. Open. Extract. Open with. Sign In. Main menu. Displaying Vos me matásteis ...
A K-Medoids clustering implementation, written in C++/CUDA. IMP. An image manipulation program & photo-mosaic renderer, written in Java. LIMN-Ray. A parallel ray-tracer, written in C++/OpenMP. Locusta. A parallel evolutionary computation metaheuristi
Jan 15, 2015 - Loews Royal Pacific Resort at Universal Orlando, Orlando, Florida, was ... Le Cordon Blue College of Culinary Arts in Atlanta, Tucker, Georgia. ... family and culinary pastry team enough for all the support they have given me.â.