I have always wanted to learn and use Play Framework and there have been previous attempts which I have blogged before, but recently I have got an opportunity to review the latest book “Learning Play! Framework 2” by Packt publications. This has kind of rekindled my interest in learning the framework.
I have started reading the book and completed about 2 chapters. I wanted to share my experiences about the book so far, before presenting a complete review so that anyone who’s interested in learning Play Framework can decide about choosing this book.
This book has 9 chapters and 2 appendices and is about 300 pages. Its small size is always a welcome among the readers, I personally dont like reading huge books. There is also a chapter introducing Scala but a prior experience (not an expert experience, but can get through like) in Scala is an advantage. The book has placed the chapters in an order which helps in exploring a lot of features of the framework and in the process develops an sample application.
The approach has been more of hands-on so far where in you would enjoy trying out the examples as you read through the pages. The downside is that the examples in the Scala introduction chapter are screenshots and need to be magnified (on an eBook) to view them clearly. But at the same time the advantage there is that the scala code has been compared with Java code equivalent in functionality.
Do have a look at more details about the book here. And share your thoughts/review about the book.
In a previous post I had mentioned that I would be soon reviewing the Play Framework Cookbook. So here it is-
Chapter-1 Basics of Play Framework–
- Concise coverage of basic features of the Play Framework. Though you must be using the Play Framework documentation for a more detailed information. The last few sections which explain- Extensions, Suspendable requests need a bit more explanation.
- Good to have, as one can refresh the basic concepts.
I had written a brief introductory post about Play! Framework and since then I havent written much about it. Not before I got an opportunity to review the Play Framework Cookbook. Before coming back to Play! I used Gaelyk for a long time and found it really useful to get started quickly on any project. But there I had to setup up lot of things myself (though its coming up with its own Plugins) and this is both Good and Bad- Good because I can configure things myself and thereby have a hold over the features configured and Bad because I had to spend a lot of time on configuring things rather than solving the problem for which the application is being developed. Moreover I had to learn Groovy for that but I could learn a lot of it while using the framework itself. To overcome the Bad things listed a few lines before I was thinking of moving to Grails- the fact that I knew workable amount of Groovy made me think of taking up Grails, but I have a account with an hosting provider which supports Rails/Php and not JVM based applications. This made me think of taking up Rails but I had to learn Ruby for that. So amidst all these confusions I got another opportunity to look back at Play and see if I can make use of the framework now ( and now that I have lot of ideas for the applications to develop).
Meanwhile over a few days (few weeks? hopefully not that much time) I will be reviewing Play Framework Cookbook and alongside see how I can leverage Play for my application development. A quick look at the contents of the book and reading through the Foreword the first 2 chapters would be helpful to understand the basics of Play Framework- it would be a quick overview as the book is not meant to teach the basics of the framework instead to give quick solutions to common use cases of the framework. The per-requisite for the book is to have read through the tutorials and worked through the sample applications using the framework.
As far as I am aware Play Framework Cookbook is one of the two books available for Play Framework. The other being http://www.the-play-book.co.uk/index.php (not sure if this is released/is in print)
This is my Yet Another Attempt to Learn Something New 😀
From the discussions here, I got to know about the Play Framework. So I started to play around- Hello World project, started the Sample project, going through the Framework documentation. So here are my first thought about the framework- And this is my first attempt to have gone a bit deeper into a Java Web Framework so I might not be able to appreciate the same features in other frameworks. Continue reading