Update, August 12, 2013: The second version of Play Framework Recipes is now available as a free PDF. It contains new appendices on Play commands, a JSON reference, improved formatting, and over 80 pages of Play Framework content. Get it from the Download section below.
A funny thing happened when I wrote the Scala Cookbook: I didn’t know that the chapters I was writing as a series of Word documents would grow by almost 20% when they were converted into a final PDF document. So when I finished writing the Scala Cookbook, I turned in ~730 pages of Word docs. When I got the book back from O'Reilly, it came back as an 850-page PDF -- and that was without an index that would grow the book to over 900 pages.
My editors told me the book had to be shortened. I knew that they wanted to keep the book around 700 pages, so I tried to edit the book down, but after putting a ton of research into it, and having edited it twice before, I knew I couldn’t reduce it by nearly 20%. Something else had to be done.
After some email discussions with my editors at O’Reilly, I decided to remove the Play Framework chapter from the book. It killed me to do this. Believe me, after working on a book for a year, you think of it as your “baby”, and the last thing you want to do is change it. But without any choice, I felt like I had to keep the “core” chapters in the book, and as much as I love working with Play, it isn’t core to the language.
Write a Play Framework Cookbook?
I very briefly contemplated using these recipes as the start of a Play Framework Cookbook for O’Reilly, but honestly, I just want to get back to work, writing Scala code and providing my usual training and mentoring services.
So, in a nutshell, I decided to make the Play Framework chapter freely available.
Download the PDF (and future updates)
The second version of Play Framework Recipes is now available as a free PDF:
I still have more content I’d like to add, so this booklet will probably keep growing for a while. Please check back from time to time for updates. I’ll also post update notices on my Twitter account.
A Kindle eBook?
Argh ... creating a Kindle version of this will take a lot of work, so, I’m abandoning the Kindle effort for the time being. If you really want a Kindle version of this booklet, leave a note in the Comments section below, and, well, I’ll think about it. (It would be a lot of work, and it would have to be re-worked every time I update the PDF. I don’t want to go down that road unless a lot of people want it.)
If you find any mistakes in the book, please send me an email using the contact form on this website, or leave a comment below, and I’ll correct it as soon as I can.
The Scala Cookbook
If you find Play Framework Recipes helpful, I hope you’ll take a look at the Scala Cookbook. It contains over 700 pages of additional recipes to help solve common Scala problems:
All the best,