Play Framework (anatomy of a play application) @ Codacy
-
Upload
rodrigo-fernandes -
Category
Technology
-
view
121 -
download
1
Transcript of Play Framework (anatomy of a play application) @ Codacy
• Master student of Information Systems and Computer @ IST !
• 2 years of experience developing in Scala !
• Currently doing awesome stuff @ Codacy
Who am I?
Rodrigo Fernandes
@rtfpessoa
SBT
• Play Framework seamlessly integrated with SBT
• Play Framework is an SBT plugin (since v2.3.x)
How to integrate?
SBT• build.sbt — define the project
and sub-projects relation and configuration!
• project — root project plugins and extra definitions!
• plugins.sbt
• [Common.scala]
• [Dependencies.scala]
How to configure?
Multi Layer Application
rules
services
controllers
models components/database (Slick)
components/rulescomponents/services
fram
ewor
k
root application
Features•fully type-checked
•no SQL-injections
•no typos
•code completion
•can still crash in runtime :’(
Questions?
Thank you
For more info check out:!https://github.com/codacy/codacy-playframework-seed https://www.playframework.com/documentation/2.3.x/Home http://www.scala-sbt.org/0.13/tutorial/index.html
@codacy @rtfpessoa