Your SlideShare is downloading. ×
Grails
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Grails

274

Published on

Published in: Technology, Education
1 Comment
0 Likes
Statistics
Notes
  • waiting for the Future work mentioned
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Views
Total Views
274
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
4
Comments
1
Likes
0
Embeds 0
No embeds

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. GrailsAditya Gaur
  • 2. Grails• It is a web development framework• Has groovy as the underlying language• Built on Spring and Hibernate
  • 3. Some Features
  • 4. 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>
  • 5. Scaffolding (List View)
  • 6. Scaffolding (Create View)
  • 7. Scaffolding (update view)
  • 8. 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
  • 9. 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
  • 10. 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
  • 11. Future Work• Would try to compare Grails with other Java based web development frameworks such as Play, Spring MVC, struts etc.

×