1 / 17

Flex on Grails

Flex on Grails. Aniket Shaligram. Talentica Software. 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

azure
Télécharger la présentation

Flex on Grails

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Flex on Grails Aniket Shaligram Talentica Software

  2. 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

  3. Grails as RAD • Why RAD? • Scaffolding • Convention over Configuration • Why Grails? • Java based

  4. Architecture – TODO improve

  5. 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

  6. Scaffolding • Grails Project Creation • grails create-app gsf-test • Plugin installation • cd gfs-test • grails install-plugin flex-scaffold • grails stark-security-install-full

  7. Sample app – domain model

  8. Generating domain class model • grails create-domain-class customer • grails create-domain-class company • grails create-domain-class phone • grails create-domain-class address

  9. Edit generated domain classes • Company • Customer • Address • Phone

  10. Add to Config.groovy • gfs.security = true • Edit StarkSecurityConfig.groovy •  '/': Role.ALL_ROLES, to  '/**': Role.ALL_ROLES, • Edit BootStrap.groovy

  11. 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

  12. 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

  13. Front end Design • Design of Generated frontend code

  14. Connectivity Options • BlazeDS – Flex Plugin • GraniteDS - GraniteDS Plugin • Webservices (REST, SOAP) - CXF Plugin

  15. Security options • Spring Security • Apache Shiro

  16. Deployment Options • Desktop : Adobe Air • Gaelyk app on Google App Engine • Grails app on Google App Engine • Grails War on standalone container

  17. IDE • Flash Builder • Springsource plugin for Grails

More Related