5分で説明する Play! scala

6,815 views

Published on

0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
6,815
On SlideShare
0
From Embeds
0
Number of Embeds
3,027
Actions
Shares
0
Downloads
22
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • 5分で説明する Play! scala

    1. 1. 5 Play! Scala #Playframework in Tokyo
    2. 2. (Who are you?)@Masahito Play!Java 3 IT Python
    3. 3. 5 Play! Scala
    4. 4. Play! ScalaPlay! frameworkScala v2.8.XPlay! Scala IDE (Intelli J OK)Heroku/CloudBees Paas
    5. 5. ModelPlay! Java Groovy JPA(Hibernate)Play! Scala Scala Anorm
    6. 6. $ play install scala$ play new myScalaWebapp --with scala$ play run
    7. 7. ModelAnorm SQL DB API Magic[T] JPA APIScalaQuery
    8. 8. Anorm// Create an SQL queryval selectCountries = SQL("Select * from Country")// Transform the resulting Stream[Row] as aList[(String,String)]val countries = selectCountries().map(row => row[String]("code") -> row[String]("name")).toList
    9. 9. Scala CRUD play.db.jpa asynchronous HTTP (await() ) Play! 2.0 Scaladochttp://naoki-k.blogspot.com/2011/06/play-scala-scaladoc-ant.html
    10. 10. Play! Scala Scala LLScalagithub API Scala Module 1.0 or Play! 2.0
    11. 11. ML : http://groups.google.com/group/play-frameworkgithub: https://github.com/playframework/play-scalaDoc: http://scala.playframework.org/ja : http://playscalaja.appspot.com/

    ×