Book Image

Instant Play Framework Starter

By : Daniel Dietrich
Book Image

Instant Play Framework Starter

By: Daniel Dietrich

Overview of this book

Play is a full-featured Java and Scala web framework for building modern, high-performance web applications. It is characterized by its simplicity and scalability. With its lightweight, stateless, and web-friendly architecture, Play focuses on developer experience to make web application development fun.Instant Play Framework Starter is the ideal companion to start developing web applications with Play. The building blocks of a typical web application are carefully designed following an on-going example.Instant Play Framework Starter starts with a quick setup and running a first sample. Then, the anatomy of a typical Play application is outlined. More features are added step by step to an example application. The result is the prototype of a highly scalable web application.The example is implemented in Java and in Scala. It consists of building blocks you will find in every Play application. In particular, you will learn how views are rendered with the template engine, how HTTP routes are used to define the navigation rules, and how to separate the application logic of controllers from the business logic of the model. This separation is the result of a careful application design, which makes it easy to add features like data binding and validation. Finally you will see how easy it is to adapt different database access libraries. Instant Play Framework Starter will help you to get started with Play and develop your first application. Packed with examples, it is easy to follow the design of a real-world application. You are able to compare the difference between a Java- and a Scala-based Play application and to decide which language fits your needs best. All topics covered in the book are described with the aim to serve as a reference for future web application development with Play.
Table of Contents (7 chapters)

People and places you should get to know


If you need help with Play, here are some people and places that will prove invaluable:

Official sites

  • Homepage: http://www.playframework.com

  • Manual and documentation: http://www.playframework.com/documentation

  • Source code: http://github.com/playframework/play20

Articles and tutorials

  • Scoop.it! is an online magazine for Play. Find an up-to-date collection of articles and tutorials at http://www.scoop.it/t/playframework.

  • Don't miss this great resource on Play-related video tutorials at http://yobriefcasts.tv.

  • James Ward gives a complete example on how to develop a Play application and how to host it in the cloud at http://www.jamesward.com/2012/05/08/play-2-java-tutorial.

  • Listen to a podcast on Play by James Roper, committer to the Play Framework, at http://scalatypes.com/episode-29-james-roper-on-play-2.

  • For a tutorial on how to set up a recent IntelliJ IDEA version with Play, go to http://blogs.jetbrains.com/idea/2012/12/getting-started-with-play-20-in-intellij-idea-12.

Community

  • Official mailing list: https://groups.google.com/forum/#!forum/play-framework

  • Official forums: https://plus.google.com/+playframework

  • Unofficial forums: https://plus.google.com/u/0/communities/116192785110716864793

  • Official IRC channel: irc://irc.freenode.net:6667/playframework

  • User FAQ: http://stackoverflow.com/questions/tagged/playframework

Blogs

  • James Ward is a Teacher of the Typesafe Stack and offers many useful pieces of information and tutorials on Play: http://www.jamesward.com

  • James Roper is a committer to the Play Framework: http://jazzy.id.au/default/

  • A great and more involved blog on Play and Scala: http://mandubian.com

  • The blog of Daniel Dietrich, the author of this book: http://danieldietrich.net

Twitter

  • Official information about the Play Framework: @playframework

  • Guillaume Bort, creator of the Play Framework: @guillaumebort

  • Sadek Drobi, co-creator of Play2: @Sadache

  • Follow Daniel Dietrich, author of this book: @danieldietrich

  • For more open source information, follow Packt at @packtopensource