Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteDernière révisionLes deux révisions suivantes |
informatique:java:frameworks:play_framework [28/12/2015 15:55] – [Play! framework] cyrille | informatique:java:frameworks:play_framework [05/11/2016 13:36] – [Hébergement sur le web] cyrille |
---|
* [[https://ebean-orm.github.io/|Ebean]] a Java ORM | * [[https://ebean-orm.github.io/|Ebean]] a Java ORM |
| |
Hébergement sur le web; | ===== Hébergement sur le web ===== |
| |
| [[http://stackoverflow.com/questions/9643751/what-cloud-platform-supports-playframework|what-cloud-platform-supports-playframework]] |
* [[https://devcenter.heroku.com/categories/java|Heroku]] | * [[https://devcenter.heroku.com/categories/java|Heroku]] |
* [[http://playframework-cloud.com|playframework-cloud]] by Clever Cloud | * [[http://playframework-cloud.com|playframework-cloud]] by Clever Cloud |
| * https://www.cloudbees.com/ |
* [[https://scalingo.com/java-play-framework-hosting|scalingo]] | * [[https://scalingo.com/java-play-framework-hosting|scalingo]] |
* [[https://www.openshift.com/pricing/plan-comparison.html|OpenShift.com]] (//[[https://github.com/opensas/play2-openshift-quickstart|Play framework 2.0 quickstart for Openshift]]//) | * [[https://www.openshift.com/pricing/plan-comparison.html|OpenShift.com]] (//[[https://github.com/opensas/play2-openshift-quickstart|Play framework 2.0 quickstart for Openshift]]//) |
| |
> [[/informatique/java/frameworks/play_framework_old|Ancienne page Play! Framework]] | |
| |
===== Community ===== | ===== Community ===== |
* [[http://joshpadnick.com/wp-content/uploads/2013/11/Play-Framework.pdf|Intro to Play Framework & | * [[http://joshpadnick.com/wp-content/uploads/2013/11/Play-Framework.pdf|Intro to Play Framework & |
Modern Java Web App Development]] by Josh Padnick, November 9, 2013 | Modern Java Web App Development]] by Josh Padnick, November 9, 2013 |
| * [[https://www.quora.com/Which-is-better-Play-Framework-or-Spring-MVC-How-should-I-decide-what-to-use|Which is better, Play Framework or Spring MVC? How should I decide what to use?]] |
| * [[https://www.youtube.com/watch?v=8z3h4Uv9YbE|The Play Framework at LinkedIn: Productivity and Performance at Scale]] (2013) |
| * [[https://www.youtube.com/watch?v=4b1XLka0UIw|Play Framework & SF Scala: Jim Brikman, Composable Applications in Play]] (2014) - Jim shows how to build an equivalent of Facebook's BigPipe in Play, where components of a page are delivered in parallel, decreasing latency dramatically, especially for mobile. (Async, Promise, Enumerator, Stream) |
| |
Tutoriels: | Tutoriels: |
* [[http://blog.knoldus.com/2015/03/23/play-tutorial-2/|Tutorial #2: Using WebJars, jQuery, Bootstrap & Bootswatch with Play application]] | * [[http://blog.knoldus.com/2015/03/23/play-tutorial-2/|Tutorial #2: Using WebJars, jQuery, Bootstrap & Bootswatch with Play application]] |
* [[https://github.com/cloudspace/play_framework_tutorial|cloudspace/play_framework_tutorial]] | * [[https://github.com/cloudspace/play_framework_tutorial|cloudspace/play_framework_tutorial]] |
* [[https://github.com/3monkeys/play.rules/tree/master/livre.play.deux|Livre Play!]] par 3Monkeys | * [[https://github.com/3monkeys/play.rules/tree/master/livre.play.deux|Livre Play!]] par 3Monkeys (2013) |
* mariussoutier / PlayBasics [[https://github.com/mariussoutier/PlayBasics|code for his tutorial series about Play Framework 2.x]] | * mariussoutier / PlayBasics [[https://github.com/mariussoutier/PlayBasics|code for his tutorial series about Play Framework 2.x]] |
* [[http://www.playframework.com/documentation/2.1.1/JavaGuide1|Tutorial zentask]] and [[https://github.com/remylab/play-zentask|the code]] | * [[http://www.playframework.com/documentation/2.1.1/JavaGuide1|Tutorial zentask]] and [[https://github.com/remylab/play-zentask|the code]] |
| * [[http://luiscamilo.com/2015/07/27/play-framework-2-4-x-modulesub-project-assets/|Play Framework 2.4.x module/sub-project assets]] |
| |
Autres: | Autres: |
| |
Encore: | Encore: |
* Auth: | * Auth (Authentication/Authorization): |
* [[https://github.com/jaliss/securesocial|SecureSocial for Play 2]] | * [[https://github.com/joscha/play-authenticate|play-authenticate]] an extensible authentication plugin for Play! Framework 2 (Java) |
* [[https://github.com/mohiva/play-silhouette|play-silhouette]], Silhouette is an authentication library for Play Framework applications that supports several authentication methods, including OAuth1, OAuth2, OpenID, Credentials, Basic Authentication, Two Factor Authentication or custom authentication schemes. http://silhouette.mohiva.com | * [[https://github.com/leleuj/play-pac4j|play-pac4j]] Oatuh 1 & 2, CAS, ... |
| * [[https://github.com/jaliss/securesocial|SecureSocial for Play 2]] (Scala & Java) |
| * [[https://github.com/mohiva/play-silhouette|play-silhouette]] (Scala only), Silhouette is an authentication library for Play Framework applications that supports several authentication methods, including OAuth1, OAuth2, OpenID, Credentials, Basic Authentication, Two Factor Authentication or custom authentication schemes. http://silhouette.mohiva.com |
| * [[http://deadbolt.ws|Deadbolt]], only Authorization, no Authentication |
| * [[https://github.com/hakandilek/play2-crud|play2-crud]] Simple CRUD & DAO implementation for play2. |
* [[https://github.com/digiPlant/play-scalr|Image Resizing for Play Framework 2]] | * [[https://github.com/digiPlant/play-scalr|Image Resizing for Play Framework 2]] |
* [[https://github.com/brikis98/ping-play|BigPipe streaming for the Play Framework]], The ping-play project brings BigPipe streaming to the Play Framework. It includes tools for | * [[https://github.com/brikis98/ping-play|BigPipe streaming for the Play Framework]], The ping-play project brings BigPipe streaming to the Play Framework. It includes tools for |
* [[http://vyazici.blogspot.fr/2012/03/chat-application-with-play-framework.html|Chat Application with Play Framework and KnockoutJS]] and [[https://github.com/vy/play-chat|the code]] | * [[http://vyazici.blogspot.fr/2012/03/chat-application-with-play-framework.html|Chat Application with Play Framework and KnockoutJS]] and [[https://github.com/vy/play-chat|the code]] |
* [[https://github.com/BuggleInc/webPLM|Web Interface of the PLM]] | * [[https://github.com/BuggleInc/webPLM|Web Interface of the PLM]] |
| * [[https://github.com/poornerd/play-aloha|play-aloha]] - Play! Framework example project with [[http://www.aloha-editor.org/|Aloha WYSIWYG HTML Editor]] |
| * [[https://github.com/choreo/play-thymeleaf|play-thymeleaf]]: a Play framework **1.x** module to use Thymeleaf as a template engine |
| |
Livres: | Livres: |
[info] Compilation completed in 6.524 s | [info] Compilation completed in 6.524 s |
[info] - play.api.Play - Application started (Dev) | [info] - play.api.Play - Application started (Dev) |
| |
| === Run un sous-projet === |
| |
| Par exemple dans SecureSocial2 il y a les sous-projets javaDemo et scalaDemo. Pour les runner: |
| $ activator 'project javaDemo' run |
| |
| === Changer le port HTTP ou DEBUG === |
| |
| Run avec le serveur http écoutant le port 9001: |
| $ activator "~run 9001" |
| |
| Pour changer le port du debuggage (JPDA Port) |
| $ activator -jvm-debug 9999 ~run |
| |
==== Websocket & Akka actor ==== | ==== Websocket & Akka actor ==== |
| |
==== Forms ==== | ==== Forms ==== |
| |
| * [[https://github.com/murz/play-jqvalidate|play-jqvalidate]] Client-side form validation based on your Play framework model annotations. |
| |
Accesing directly the request body: | Accesing directly the request body: |