5分で説明する Play! scala
Upcoming SlideShare
Loading in...5
×
 

5分で説明する Play! scala

on

  • 6,806 views

 

Statistics

Views

Total Views
6,806
Views on SlideShare
3,978
Embed Views
2,828

Actions

Likes
5
Downloads
20
Comments
0

7 Embeds 2,828

http://d.hatena.ne.jp 2182
http://ikeike443.hatenablog.com 585
http://masahito.hatenablog.com 33
http://webcache.googleusercontent.com 12
http://paper.li 10
http://translate.googleusercontent.com 4
http://a0.twimg.com 2
More...

Accessibility

Upload Details

Uploaded via as Apple Keynote

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
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

5分で説明する Play! scala Presentation 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/