grails framework

of 25 /25
Mέζνδνη Αλάπηπμεο ινγηζκηθνύ / GRAILS #1

Embed Size (px)


Presentatio, Athens Univ of Economics and business

Transcript of grails framework

  • 1. M / GRAILS #1

2. Grails & Groovy o (overview) o Class Ticket o Class User o Enumeration UserRole o Enumeration TicketCategory o Enumeration Ticket Status o Views,Uis,Controllers o Java byte code o A & 3. . . 4. : : java (framework) Grails MVC, Apache Tomcat hibernate 5. frameworkGrails ( 4) 6. Grails is an advanced and innovative open source webapplication platform Delivers new levels of developer productivity by applyingprinciples like Convention over Configuration Helps development teams embrace agilemethodologies, deliver quality applications in reducedamounts of time, and focus on what really matters:creating high quality, easy to use applications thatdelight users. Grails naturally complements Java applicationdevelopment since it is built on Spring and based onGroovy, the leading dynamic language for the Javaplatform. 7. H Groovy is an agile and dynamic language for the Java Virtual Machine builds upon the strengths of Java but has additional power featuresinspired by languages like Python, Ruby and Smalltalk makes modern programming features available to Java developerswith almost-zero learning curve supports Domain-Specific Languages and other compact syntax soyour code becomes easy to read and maintain makes writing shell and build scripts easy with its powerfulprocessing primitives, OO abilities and an Ant DSL increases developer productivity by reducing scaffolding codewhen developing web, GUI, database or console applications simplifies testing by supporting unit testing and mocking out-of-the-box seamlessly integrates with all existing Java classes and libraries compiles straight to Java bytecode so you can use it anywhere youcan 8. eclipse SPRINGSOURCE 9. T : 1. 2. (Domain Classes) 3. ( Controller Classes) 4. Views 5. Test (Test Classes) 6. H () ... 10. & #4 domain classes# 2 controller Classes App version: 0.1 Grails version: 1.3.5 Groovy version: 1.7.5 JVM version: 1.5.0_26 Controllers: 4 Domains: 2 11. - 12. Class User 13. Class Ticket 14. TicketCategory (Enumeration) 15. UserRole (Enumeration) 16. TicketStatus (Enumeration) 17. Views, Controllers, Uis Domain Class controllers views java . ORM (object relational mapping)* views gsp (grails server pages) * controllers groovy 18. Java byte Code java 19. JPA(JAVA PERSISTENCE API HIBERNATE map ) HSQLDB(hibernate SQL) 20. :A 21. : N* 22. : A 23. : A OPEN CLOSED 24. : 25. Grails : Groovy : Agile tutorials IBM grails o grails01158/index.html o view.jsp?search_by=mastering+grails Spring Source Tool Suite