SlideShare a Scribd company logo
> play new
Do you know
Web Application
 Framework?
Do you know
Play!> framework?
Do you know
   Scala?
’’’
[Start]
Playing!
  @mumoshu
# of atnders
   php
  java
 scala
     js
python
   perl
          0   5        10    15
PHP vs Play
   PHP          Symfony
                Symfony
naked?
         Slim   CakePHP
                CakePHP

     <- thin    rich ->


                Play!>
Play is


• A web application framework
• Ease common tasks in web dev
Play basics

•Easy start
•Simple development
•Scala
Play basics

•Easy start
•Simple development
•Scala
How to start

•Download
•Unzip
•play new
Play basics

•Easy start
•Simple development
•Scala
How you develop

•play run
•Repeat:
 •Write code!
 •F5!
Play basics

•Easy start
•Simple development
•Scala
Scala

              ’’’
•   Run on JVM
•   A lot of Java libraries
•   Hybrid language
    •   Imperative programming
    •   Object oriented programming
    •   Functional programming
Whats happy with FP


•   Concurrency
•   Scalability
Imperative vs
          Functional
•   Imperative Programming

    do A -> state++,
    do B -> state++, ...

•   Functional programming

    in1 -> f(x) -> out1
    in2 -> g(x) -> out2
+ concurrency
Easy concurrency
•   Imperative programming

    do A -> state <- do B
     > sudden conflict!!! <

•   Functional programming

    in1 -> f(x) -> out1, in2 -> g(x) -> out2
      > no conflict!!! <
Easy scalability
•   Single Play
    req -> acion1(x) -> result
    req -> acion2(x) -> result
    ...
•   Multiple Play’s
    req -> play1 -> result
    req -> play2 -> result
    ...
Play basics

•Easy start
•Simple development
•Scala
Play basics

•Easy start
•SimpleHopeful!
        development
•Scala
break
          1/3



     
        ビースト★ハーレム
                ∼野獣の甘噛み∼

http://pf.gree.jp/56616
Play specifics

•   Documented
•   Translated
•   Pluggable
•   Statically Typed
Documented


•   0ver 100 pages
•   http://playframework.org/
Play specifics

•   Documented
•   Translated
•   Pluggable
•   Statically Typed
Translated


•   Over 100 pages
•   http://playdocja.appspot.com/
Play specifics

•   Documented
•   Translated
•   Pluggable
•   Statically Typed
Pluggable


•   27 plugins
•   http://www.playframework.org/
    documentation/2.0.4/Modules
Plugins
•   LESS                •   Redis

•   SASS                •   MongoDB

•   CoffeeScript        •   etc.

•   TypeScript <- Me
                            modern web dev with
                            a lot of plugins
•   Velocity <- FuRyu

•   Memcached <- Me
Play specifics

•   Documented
•   Translated
•   Pluggable
•   Statically Typed
Statically Typed
•   Can be freed from
    •   null/NULL
•   Free from
    •   ReferenceError
    •   TypeError
    •   ‘Call to undefined function’
Statically Typed
        vs Not ~ ?


•   What we GET
    if its NOT statically typed
You see

•   careless mistakes
•   typos

    on runtime
NullPointerException
ReferenceError
TypeError
Call to undefined
     function
Play specifics

•   Documented
•   Translated
•   Pluggable
•   Typed
Play specifics

•   Documented
•   Translated
       Productive!
•   Pluggable
•   Typed
break
     2/3

WEB+DB vol.71
Play 2.x


•   We have Play 1.x, 2.0
•   Play 2.1 is coming
Play 1.x

•   Written in Java
•   Supports Java and Scala
•   Since 2009
•   Stable
Play 2.0

•   Written in Scala
•   Supports Scala and Java
•   Since 2012
•   More scalability
•   Typesafe Stack & Typesafe, Inc.
Play 2.1


•   Features
•   Improvements
•   Changes
Play 2.1
            Features

•   Scala 2.10
•   Scala’s Promise API
•   Better JSON API
•   Project templates & Scaffolding
Play 2.1
          Improvements

•   Run tests in Forked JVM
    •   Out of memory: PermGen Space
•   Faster compile
    •   thanks to Scala 2.10 & SBT 0.12
Play 2.1
             Changes


•   Anorm to Slick(ScalaQuery)
Play 2.x is



•Active!
Recommendation


•   Do you want to:
    •   write web apps in Java/Scala?
    •   try modern tech?
> play new
> play new
> play run
[Start]
Playing!
  @mumoshu
Thank you!

More Related Content

PPTX
Seawebperf 201207
PPTX
WordPress Development Environments
PDF
Hello world - intro to node js
PPTX
How to Supercharge your PHP Web API
PPTX
What's new in chef 12
PPTX
Infrastructure modeling with chef
PPTX
Automating Your Daily Tasks with Scripting - RubyConf 2015 Taiwan
PPTX
Functional Programming in PHP
Seawebperf 201207
WordPress Development Environments
Hello world - intro to node js
How to Supercharge your PHP Web API
What's new in chef 12
Infrastructure modeling with chef
Automating Your Daily Tasks with Scripting - RubyConf 2015 Taiwan
Functional Programming in PHP

What's hot (20)

PDF
Python to go
KEY
Rapid development with Rails
PDF
SSDs are Awesome
PPTX
Dev-Friendly Ops
KEY
Drupal High Availability High Performance 2012
PPT
Coffee script final
KEY
improving the performance of Rails web Applications
PPTX
Website design & developemet
PPTX
Introduction to Ansible - Jan 28 - Austin MeetUp
PPTX
Introduction to Coffeescript
PPTX
Ansible Best Practices - July 30
PDF
Testing Automaton - CFSummit 2016
PDF
PureScript Tutorial 1
PPTX
Advanced JavaScript techniques
PDF
What's new in MySQL 5.5?
PDF
Migrate PHP E-Commerce Site to Go
PDF
Postgres Open
KEY
SOA on Rails
PPT
Real World Rails Deployment
PDF
Apache Traffic Server Internals
Python to go
Rapid development with Rails
SSDs are Awesome
Dev-Friendly Ops
Drupal High Availability High Performance 2012
Coffee script final
improving the performance of Rails web Applications
Website design & developemet
Introduction to Ansible - Jan 28 - Austin MeetUp
Introduction to Coffeescript
Ansible Best Practices - July 30
Testing Automaton - CFSummit 2016
PureScript Tutorial 1
Advanced JavaScript techniques
What's new in MySQL 5.5?
Migrate PHP E-Commerce Site to Go
Postgres Open
SOA on Rails
Real World Rails Deployment
Apache Traffic Server Internals
Ad

Viewers also liked (20)

PDF
DUMP-2015: «Распределенная обработка миллионов документов на Scala и Akka» Ст...
PDF
Playing with Scala
ODP
Play Template Engine Based On Scala
PDF
HTML5 with Play Scala, CoffeeScript and Jade - Devoxx 2011
PDF
Designing Reactive Systems with Akka
PDF
Your First Scala Web Application using Play 2.1
PDF
Play framework And Google Cloud Platform GCP.
PDF
Voxxed Days Vienna - The Why and How of Reactive Web-Applications on the JVM
PPTX
Введение в Akka
PDF
Reactive Web-Applications @ LambdaDays
PPTX
Akka-http
PDF
Lagom in Practice
PDF
Dependency injection in scala
PDF
Akka http 2
PDF
Язык программирования Scala / Владимир Успенский (TCS Bank)
PDF
Composable and streamable Play apps
ODP
Akka http
PDF
Practical Akka HTTP - introduction
PDF
Securing Microservices using Play and Akka HTTP
PDF
Akka Streams and HTTP
DUMP-2015: «Распределенная обработка миллионов документов на Scala и Akka» Ст...
Playing with Scala
Play Template Engine Based On Scala
HTML5 with Play Scala, CoffeeScript and Jade - Devoxx 2011
Designing Reactive Systems with Akka
Your First Scala Web Application using Play 2.1
Play framework And Google Cloud Platform GCP.
Voxxed Days Vienna - The Why and How of Reactive Web-Applications on the JVM
Введение в Akka
Reactive Web-Applications @ LambdaDays
Akka-http
Lagom in Practice
Dependency injection in scala
Akka http 2
Язык программирования Scala / Владимир Успенский (TCS Bank)
Composable and streamable Play apps
Akka http
Practical Akka HTTP - introduction
Securing Microservices using Play and Akka HTTP
Akka Streams and HTTP
Ad

Similar to [Start] Playing (20)

PDF
Play Framework Introduction
PDF
Typesafe stack - Scala, Akka and Play
PDF
Play 2 Java Framework with TDD
PDF
PDF
Short intro to scala and the play framework
PPTX
How to Play at Work - A Play Framework Tutorial
PDF
Web application development using Play Framework (with Java)
PDF
Using Play Framework 2 in production
PDF
Martin Odersky: What's next for Scala
PDF
An Introduction to Play 2 Framework
ZIP
5分で説明する Play! scala
PDF
Play framework productivity formula
PDF
Play Framework 2.5
PPTX
Apresentação play framework
PDF
Play framework
PDF
Scala play-framework
PDF
Let's Play- Overview
PDF
Play 2 pip
PDF
Node.js vs Play Framework
PDF
Play Framework
Play Framework Introduction
Typesafe stack - Scala, Akka and Play
Play 2 Java Framework with TDD
Short intro to scala and the play framework
How to Play at Work - A Play Framework Tutorial
Web application development using Play Framework (with Java)
Using Play Framework 2 in production
Martin Odersky: What's next for Scala
An Introduction to Play 2 Framework
5分で説明する Play! scala
Play framework productivity formula
Play Framework 2.5
Apresentação play framework
Play framework
Scala play-framework
Let's Play- Overview
Play 2 pip
Node.js vs Play Framework
Play Framework

More from 佑介 九岡 (11)

PDF
今日から始める人のための Kubernetes on AWS ベストプラクティス 2018版
PDF
Continuous Deployments to Multiple Kubernetes Clusters
PDF
From dev to prod: Kubernetes on AWS (short ver.)
PDF
Auto-scaled Concourse CI on AWS w/o BOSH
PDF
AWS re:Invent 2015に初参戦→気づいたらOSS二つ作ってた
PDF
2014/12/13 第1回 Scala関西勉強会 play2-memcached supports Play 2.4 ~Play 2.4モジュールのつく...
PDF
Elasticsearch at CrowdWorks
PDF
Basics of Akka
PDF
Scala-driven Engineering Life
PDF
IDEALIZE YOU
PDF
[Start] Scala
今日から始める人のための Kubernetes on AWS ベストプラクティス 2018版
Continuous Deployments to Multiple Kubernetes Clusters
From dev to prod: Kubernetes on AWS (short ver.)
Auto-scaled Concourse CI on AWS w/o BOSH
AWS re:Invent 2015に初参戦→気づいたらOSS二つ作ってた
2014/12/13 第1回 Scala関西勉強会 play2-memcached supports Play 2.4 ~Play 2.4モジュールのつく...
Elasticsearch at CrowdWorks
Basics of Akka
Scala-driven Engineering Life
IDEALIZE YOU
[Start] Scala

Recently uploaded (20)

PDF
Modernizing your data center with Dell and AMD
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Encapsulation theory and applications.pdf
PPTX
A Presentation on Artificial Intelligence
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Electronic commerce courselecture one. Pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Machine learning based COVID-19 study performance prediction
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
Modernizing your data center with Dell and AMD
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
20250228 LYD VKU AI Blended-Learning.pptx
Encapsulation theory and applications.pdf
A Presentation on Artificial Intelligence
Digital-Transformation-Roadmap-for-Companies.pptx
Electronic commerce courselecture one. Pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
NewMind AI Weekly Chronicles - August'25 Week I
Review of recent advances in non-invasive hemoglobin estimation
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Network Security Unit 5.pdf for BCA BBA.
Dropbox Q2 2025 Financial Results & Investor Presentation
NewMind AI Monthly Chronicles - July 2025
Advanced methodologies resolving dimensionality complications for autism neur...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Understanding_Digital_Forensics_Presentation.pptx
MYSQL Presentation for SQL database connectivity
Machine learning based COVID-19 study performance prediction
Diabetes mellitus diagnosis method based random forest with bat algorithm

[Start] Playing