Talk about

Full Stack Web Framework
Outline
● Overview - Play Framework
● Talk
Outline
● Overview - Play Framework
● Talk
Overview - Play Framework
● SBT (Simple Build Tool)
● Criando Projeto
● Framework MVC
● Programação Assíncrona
● Conventio...
Overview - Play Framework
● SBT (Simple Build Tool)
● Criando Projeto
● Framework MVC
● Programação Assíncrona
● Conventio...
Simple Build Tool
“sbt is a build tool for Scala, Java, and more…”
name := "app"
version := "1.0-SNAPSHOT"
libraryDependen...
Overview - Play Framework
● SBT (Simple Build Tool)
● Criando Projeto
● Framework MVC
● Programação Assíncrona
● Conventio...
Criando um projeto
Play App Console
Acessando App
Criando Eclipse Project
Ctrol + D para sair do servidor HTTP.
Overview - Play Framework
● SBT (Simple Build Tool)
● Criando Projeto
● Framework MVC
● Programação Assíncrona
● Conventio...
MVC application model
Application.config
MVC - Models
MVC - View
main.scala.html
MVC - View
main.scala.html
MVC - View
Routes
config/Routes
MVC - Controller
Resultado
http:localhost:9000/produtos
Overview - Play Framework
● SBT (Simple Build Tool)
● Criando Projeto
● Framework MVC
● Programação Assíncrona
● Conventio...
Programação Assíncrona
Overview - Play Framework
● SBT (Simple Build Tool)
● Criando Projeto
● Framework MVC
● Programação Assíncrona
● Conventio...
Overview - Play Framework
● SBT (Simple Build Tool)
● Criando Projeto
● Framework MVC
● Programação Assíncrona
● Conventio...
Overview - Play Framework
● Full stack framework
● Foco em Tipagem forte
● TDD (Test Driven Development)
● Ciclo de vida d...
Overview - Play Framework
● Full stack framework
● Foco em Tipagem forte
● TDD (Test Driven Development)
● Ciclo de vida d...
Overview - Play Framework
● Full stack framework
● Foco em Tipagem forte
● TDD (Test Driven Development)
● Ciclo de vida d...
TDD (Test Driven Development)
● Unit Test
● Functional Test
● Selenium
● Fixtures
TDD (Test Driven Development)
● Unit Test
● Functional Test
● Selenium
● Fixtures
Unit Test
TDD (Test Driven Development)
● Unit Test
● Functional Test
● Selenium
● Fixtures
Functional Test
TDD (Test Driven Development)
● Unit Test
● Functional Test
● Selenium
● Fixtures
Selenium Test
TDD (Test Driven Development)
● Unit Test
● Functional Test
● Selenium
● Fixtures
Fixtures Test
YAML File
#Test data

Company(google):
name:

Google

Company(zen):
name:

Zenexity

User(guillaume):
name:
...
Fixture-Factory :)
Overview - Play Framework
● Full stack framework
● Foco em Tipagem forte
● TDD (Test Driven Development)
● Ciclo de vida d...
Overview - Play Framework
● Full stack framework
● Foco em Tipagem forte
● TDD (Test Driven Development)
● Ciclo de vida d...
Outline
● Overview - Play Framework
● Talk
Fontes de consulta:
Java Magazine 117 - Dominando o Play! Framework
http://www.slideshare.net/brikis98/the-play-framework-...
Maurício Junior Carvalho dos Santos
Mauriciosantos@amil.com.br

Obrigado!
Play -  Full Stack Java Web Framework
Play -  Full Stack Java Web Framework
Play -  Full Stack Java Web Framework
Play -  Full Stack Java Web Framework
Play -  Full Stack Java Web Framework
Upcoming SlideShare
Loading in …5
×

Play - Full Stack Java Web Framework

1,384 views
1,267 views

Published on

Slides utilizados na talk/palestra técnica realizada na Amil.

É possível ver as vantagens do framework e suas particularidades.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,384
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
13
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Play - Full Stack Java Web Framework

  1. 1. Talk about Full Stack Web Framework
  2. 2. Outline ● Overview - Play Framework ● Talk
  3. 3. Outline ● Overview - Play Framework ● Talk
  4. 4. Overview - Play Framework ● SBT (Simple Build Tool) ● Criando Projeto ● Framework MVC ● Programação Assíncrona ● Convention over Configuration ● Core escrito em Java/Scala
  5. 5. Overview - Play Framework ● SBT (Simple Build Tool) ● Criando Projeto ● Framework MVC ● Programação Assíncrona ● Convention over Configuration ● Core escrito em Java/Scala
  6. 6. Simple Build Tool “sbt is a build tool for Scala, Java, and more…” name := "app" version := "1.0-SNAPSHOT" libraryDependencies ++= Seq( javaJdbc, javaEbean, cache )
  7. 7. Overview - Play Framework ● SBT (Simple Build Tool) ● Criando Projeto ● Framework MVC ● Programação Assíncrona ● Convention over Configuration ● Core escrito em Java/Scala
  8. 8. Criando um projeto
  9. 9. Play App Console
  10. 10. Acessando App
  11. 11. Criando Eclipse Project Ctrol + D para sair do servidor HTTP.
  12. 12. Overview - Play Framework ● SBT (Simple Build Tool) ● Criando Projeto ● Framework MVC ● Programação Assíncrona ● Convention over Configuration ● Core escrito em Java/Scala
  13. 13. MVC application model
  14. 14. Application.config
  15. 15. MVC - Models
  16. 16. MVC - View main.scala.html
  17. 17. MVC - View main.scala.html
  18. 18. MVC - View
  19. 19. Routes
  20. 20. config/Routes
  21. 21. MVC - Controller
  22. 22. Resultado http:localhost:9000/produtos
  23. 23. Overview - Play Framework ● SBT (Simple Build Tool) ● Criando Projeto ● Framework MVC ● Programação Assíncrona ● Convention over Configuration ● Core escrito em Java/Scala
  24. 24. Programação Assíncrona
  25. 25. Overview - Play Framework ● SBT (Simple Build Tool) ● Criando Projeto ● Framework MVC ● Programação Assíncrona ● Convention over Configuration ● Core escrito em Java/Scala
  26. 26. Overview - Play Framework ● SBT (Simple Build Tool) ● Criando Projeto ● Framework MVC ● Programação Assíncrona ● Convention over Configuration ● Core escrito em Java/Scala
  27. 27. Overview - Play Framework ● Full stack framework ● Foco em Tipagem forte ● TDD (Test Driven Development) ● Ciclo de vida de uma Requisição ● Suporte a tecnologias emergentes (HTML 5, WebSockets, JSON, NoSQL etc..)
  28. 28. Overview - Play Framework ● Full stack framework ● Foco em Tipagem forte ● TDD (Test Driven Development) ● Ciclo de vida de uma Requisição ● Suporte a tecnologias emergentes (HTML 5, WebSockets, JSON, NoSQL etc..)
  29. 29. Overview - Play Framework ● Full stack framework ● Foco em Tipagem forte ● TDD (Test Driven Development) ● Ciclo de vida de uma Requisição ● Suporte a tecnologias emergentes (HTML 5, WebSockets, JSON, NoSQL etc..)
  30. 30. TDD (Test Driven Development) ● Unit Test ● Functional Test ● Selenium ● Fixtures
  31. 31. TDD (Test Driven Development) ● Unit Test ● Functional Test ● Selenium ● Fixtures
  32. 32. Unit Test
  33. 33. TDD (Test Driven Development) ● Unit Test ● Functional Test ● Selenium ● Fixtures
  34. 34. Functional Test
  35. 35. TDD (Test Driven Development) ● Unit Test ● Functional Test ● Selenium ● Fixtures
  36. 36. Selenium Test
  37. 37. TDD (Test Driven Development) ● Unit Test ● Functional Test ● Selenium ● Fixtures
  38. 38. Fixtures Test YAML File #Test data Company(google): name: Google Company(zen): name: Zenexity User(guillaume): name: guillaume company: zen
  39. 39. Fixture-Factory :)
  40. 40. Overview - Play Framework ● Full stack framework ● Foco em Tipagem forte ● TDD (Test Driven Development) ● Ciclo de vida de uma Requisição ● Suporte a tecnologias emergentes (HTML 5, WebSockets, JSON, NoSQL etc..)
  41. 41. Overview - Play Framework ● Full stack framework ● Foco em Tipagem forte ● TDD (Test Driven Development) ● Ciclo de vida de uma Requisição ● Suporte a tecnologias emergentes (HTML 5, WebSockets, JSON, NoSQL etc..)
  42. 42. Outline ● Overview - Play Framework ● Talk
  43. 43. Fontes de consulta: Java Magazine 117 - Dominando o Play! Framework http://www.slideshare.net/brikis98/the-play-framework-at-linkedin?from_search=22 http://www.playframework.com/documentation/2.2.x/JavaAsync http://imasters.com.br/artigo/23777/java/redescobrindo-java-com-play-framework/ http://stackoverflow.com/questions/12708515/how-to-create-a-promiseresult-play2-0-framework-java https://github.com/jroper/play-promise-presentation/blob/master/src/main/java/controllers/Application.java http://engineering.linkedin.com/34/play-framework-and-async-io http://www.playframework.com/documentation/2.2.x/Home http://www.guj.com.br/java/270916-meu-caso-de-sucesso-com-play-framework http://www.slideshare.net/allysonbarros/play-framework-desenvolvendo-aplicaes-web-com-java-sem-dor
  44. 44. Maurício Junior Carvalho dos Santos Mauriciosantos@amil.com.br Obrigado!

×