Flex on Grails Aniket Shaligram
Aniket Shaligram Over 8 years of product development experience Senior Team Lead, Talentica Software Software Engineer at COSL (a wholly owned subsidiary of Citigroup)  Education BE (Electrical Engineering),  VNIT Nagpur
Flex for RIA Why RIA? Better User experience No Browser Compatibility Issues Client-server architecture with clear separation of concerns Why Flex? Mature Better penetration
Grails as RAD Why RAD? Scaffolding Convention over Configuration Why Grails? Java based
Architecture – TODO improve
Sample App - teps Grails Project Creation Plugin installation Generating domain class model Edit generated domain classes Modify config files to enable security Generate Flex code Start server and navigate
Scaffolding Grails Project Creation grails create-app gsf-test Plugin installation cd gfs-test grails install-plugin flex-scaffold grails stark-security-install-full
Sample app – domain model
Generating domain class model grails create-domain-class customer grails create-domain-class company grails create-domain-class phone grails create-domain-class address Sample app – domain model
Edit generated domain classes Company Customer Address Phone Sample app – domain model
Add to Config.groovy gfs.security = true Edit StarkSecurityConfig.groovy   '/': Role.ALL_ROLES, to  '/**': Role.ALL_ROLES, Edit BootStrap.groovy Sample app – domain model
CRUD Generation grails generate-all-flex company grails generate-all-flex customer Flex compilation grails flex-tasks Start app-server grails run-app go to  http://localhost:8080/gfs-test Sample app – domain model
Does it really work? Learning curve for Flex, Grails (Groovy, GORM), Generated code – Flex Understand, Maintain Scaffolding plug-in Separate frontend, backend teams Costs – Flash Builder license
Front end Design Design of Generated frontend code
Connectivity Options BlazeDS – Flex Plugin GraniteDS - GraniteDS Plugin Webservices (REST, SOAP) - CXF Plugin
Security options Spring Security Apache Shiro
Deployment Options Desktop : Adobe Air Gaelyk app on Google App Engine Grails app on Google App Engine Grails War on standalone container
IDE Flash Builder Springsource plugin for Grails
Thanks!

Flex on Grails - Rich Internet Applications With Rapid Application Development

  • 1.
    Flex on GrailsAniket Shaligram
  • 2.
    Aniket Shaligram Over8 years of product development experience Senior Team Lead, Talentica Software Software Engineer at COSL (a wholly owned subsidiary of Citigroup) Education BE (Electrical Engineering), VNIT Nagpur
  • 3.
    Flex for RIAWhy RIA? Better User experience No Browser Compatibility Issues Client-server architecture with clear separation of concerns Why Flex? Mature Better penetration
  • 4.
    Grails as RADWhy RAD? Scaffolding Convention over Configuration Why Grails? Java based
  • 5.
  • 6.
    Sample App -teps Grails Project Creation Plugin installation Generating domain class model Edit generated domain classes Modify config files to enable security Generate Flex code Start server and navigate
  • 7.
    Scaffolding Grails ProjectCreation grails create-app gsf-test Plugin installation cd gfs-test grails install-plugin flex-scaffold grails stark-security-install-full
  • 8.
    Sample app –domain model
  • 9.
    Generating domain classmodel grails create-domain-class customer grails create-domain-class company grails create-domain-class phone grails create-domain-class address Sample app – domain model
  • 10.
    Edit generated domainclasses Company Customer Address Phone Sample app – domain model
  • 11.
    Add to Config.groovygfs.security = true Edit StarkSecurityConfig.groovy   '/': Role.ALL_ROLES, to  '/**': Role.ALL_ROLES, Edit BootStrap.groovy Sample app – domain model
  • 12.
    CRUD Generation grailsgenerate-all-flex company grails generate-all-flex customer Flex compilation grails flex-tasks Start app-server grails run-app go to http://localhost:8080/gfs-test Sample app – domain model
  • 13.
    Does it reallywork? Learning curve for Flex, Grails (Groovy, GORM), Generated code – Flex Understand, Maintain Scaffolding plug-in Separate frontend, backend teams Costs – Flash Builder license
  • 14.
    Front end DesignDesign of Generated frontend code
  • 15.
    Connectivity Options BlazeDS– Flex Plugin GraniteDS - GraniteDS Plugin Webservices (REST, SOAP) - CXF Plugin
  • 16.
    Security options SpringSecurity Apache Shiro
  • 17.
    Deployment Options Desktop: Adobe Air Gaelyk app on Google App Engine Grails app on Google App Engine Grails War on standalone container
  • 18.
    IDE Flash BuilderSpringsource plugin for Grails
  • 19.