5分で説明する Play! scala

  • 6,094 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
6,094
On Slideshare
0
From Embeds
0
Number of Embeds
6

Actions

Shares
Downloads
20
Comments
0
Likes
5

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Transcript

  • 1. 5 Play! Scala #Playframework in Tokyo
  • 2. (Who are you?)@Masahito Play!Java 3 IT Python
  • 3. 5 Play! Scala
  • 4. Play! ScalaPlay! frameworkScala v2.8.XPlay! Scala IDE (Intelli J OK)Heroku/CloudBees Paas
  • 5. ModelPlay! Java Groovy JPA(Hibernate)Play! Scala Scala Anorm
  • 6. $ play install scala$ play new myScalaWebapp --with scala$ play run
  • 7. ModelAnorm SQL DB API Magic[T] JPA APIScalaQuery
  • 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. Scala CRUD play.db.jpa asynchronous HTTP (await() ) Play! 2.0 Scaladochttp://naoki-k.blogspot.com/2011/06/play-scala-scaladoc-ant.html
  • 10. Play! Scala Scala LLScalagithub API Scala Module 1.0 or Play! 2.0
  • 11. ML : http://groups.google.com/group/play-frameworkgithub: https://github.com/playframework/play-scalaDoc: http://scala.playframework.org/ja : http://playscalaja.appspot.com/