Indic threads pune12-using play2.0 for building an insurance website
Upcoming SlideShare
Loading in...5
×
 

Indic threads pune12-using play2.0 for building an insurance website

on

  • 718 views

The 7th Annual IndicThreads Pune Conference was held on 14-15 December 2012. http://pune12.indicthreads.com/

The 7th Annual IndicThreads Pune Conference was held on 14-15 December 2012. http://pune12.indicthreads.com/

Statistics

Views

Total Views
718
Views on SlideShare
718
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

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…
Post Comment
Edit your comment

Indic threads pune12-using play2.0 for building an insurance website Indic threads pune12-using play2.0 for building an insurance website Presentation Transcript

  • Using Play! 2.0 For Building An Insurance Website Mushtaq Ahmed Shripad Agashe ThoughtWorks
  • Introduction to Play!
  • Brief Demo
  • Insurance portal
  • Project Structure
  • App and test
  • Builds functional:test integration:test
  • Evolution and i18n
  • Routes and PRG POST /logout controllers.AuthenticationController.logout GET /loggedOut/:role controllers.AuthenticationController.loggedOut(role: String) conf/routes app/controllers/AuthenticationController.java
  • Controllers app/controllers/RegistrationController.java
  • Forms app/controllers/forms/RegistrationForm.java
  • Templates app/views/email/forgot_username_email.scala.html
  • Layout app/views/email/email_main.scala.html
  • SOAP Request app/views/ServiceTemplate/GetEntityDetails.scala.xml
  • Javascript routes public static Result javascriptRoutes() { response().setContentType("text/javascript"); return ok( Routes.javascriptRouter("jsRoutes", controllers.routes.javascript.Projects.add(), controllers.routes.javascript.Projects.delete(), controllers.routes.javascript.Projects.rename(), controllers.routes.javascript.Projects.addGroup() ) ); } newProject: (e) -> @el.removeClass("closed") jsRoutes.controllers.Projects.add().ajax
  • Less lessEntryPoints <<= baseDirectory(_ / "app" / "assets" / "stylesheets" * "*.less")
  • EBeans
  • Static pages#routes for static page contentGET /static/aboutsite/:fname controllers.StaticLayout.getAboutSitePage(rootFolder="aboutSiteContent",fname:String)GET /static/aboutus/:fname controllers.StaticLayout.getAboutUsPage(rootFolder = "aboutUsContent",fname:String)GET /static/faq/:fname controllers.StaticLayout.getFAQPage(rootFolder = "faqContent",fname:String)
  • Orthogonal Concerns
  • Global
  • i18n
  • Form test
  • Controller test
  • FakeApplicaion
  • Template test
  • FakeContext
  • Play2.1
  • Thanks