Grails
Upcoming SlideShare
Loading in...5
×
 

Grails

on

  • 376 views

 

Statistics

Views

Total Views
376
Views on SlideShare
376
Embed Views
0

Actions

Likes
0
Downloads
4
Comments
1

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • waiting for the Future work mentioned
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Grails Grails Presentation Transcript

  • GrailsAditya Gaur
  • Grails• It is a web development framework• Has groovy as the underlying language• Built on Spring and Hibernate
  • Some Features
  • Scaffolding• Based on the fields in in your domain class grails generates views and controllers• It also handles UI for basic operations like: ▫ Creation ▫ Read ▫ Update ▫ Delete• For applying scaffold we just need to give the following in the controller class def scaffold = <Domain Class name>
  • Scaffolding (List View)
  • Scaffolding (Create View)
  • Scaffolding (update view)
  • Convention over Configuration• Grails Follows convention over configuration philosophy ▫ So we need to take care of the naming and the placement of various files in the project• So no need to write lot of XML files, thus faster web dev
  • GORM• Grails Object Relational Mapping• Helps in the process of getting Objects in and out from the database.• We don’t need to care about writing SQL queries for db operations• It uses hibernate under the hood
  • MVC architecture• Grails application has the most commonly used Model-View-Controller Architecture• It uses the spring MVC as underlying framework• When we create a grails application using create-app, it makes a directory structure in accordance with the MVC
  • Future Work• Would try to compare Grails with other Java based web development frameworks such as Play, Spring MVC, struts etc.