I’m about halfway through my book, with my own self-imposed deadline of Feb. 23rd rapidly approaching. That’s so I have a week to actually create the site to *sell* the book. I posted on Twitter earlier today that I thought that using CakePHP to create the site to sell a book about CakePHP is overkill, but Nate Abele from the CakePHP project seems to think otherwise.
So I thought I’d talk a bit about the actual process of writing this book. First, I’ve been writing it in MacVim (The One True Editor(tm)) using reStructuredText with the goal of converting the code to PDF with some CLI utilities. So far I am very happy with how it is looking, but I have some concerns about the way rst2pdf implements syntax highlighting, so that is something I will have to look at before publishing.
For those wondering about how the book is going to look, I’ve stuck with a very simple process:
- Show existing code
- Show refactored code using CakePHP
- Explain my decisions when things look non-intuitive. In other words, explain the things I had to look up on Google before writing it.
Expect copious code samples along with my own unique writing style. Now, it’s not too late for me to add things into the book so feel free to mention things you would like to see in the book in the comments section. I cannot promise anything but I do read each comment.
One thing to keep in mind is that I’ve targeted the book at developers who already have some understanding of how to use CakePHP. There are already two books out there that will get people up-and-running with CakePHP, plus the awesome cookbook. What has been missing is actual examples of more intermediate-to-advanced use of CakePHP. While I am not an expert in it’s use (blame that on not using it at work) I have ported several old applications over to using CakePHP. I’m hoping that I can help out people who actually need to use CakePHP and make some money for myself. Not such a lofty goal, is it?
Tags: book, CakePHP

Chris,
I’ve been working with a few other blog authors who are writing books recently, and have found out that I enjoy proof-reading books (who would’ve thought). If you need another set of eyes to take a look at the book, feel free to send me an email — I’m definitely an intermediate level Cake programmer and am looking forward to your book.
Thanks,
Travis
Hi Chris,
I’m looking forward to your book, I have the “CakePHP Application Development” book by Ahsanul Bari and it’s great for reference, but a more “best practices” book would be great.
One issue I have dealt with recently is outputting dynamic and context-sensitive menus (in a cookbook stylee). My implementation uses a nodes model linked to news articles, dynamic pages, events etc. but I’m sure there is a simpler option. I’d love to see how you would go about it.
Cheers;
Mark
Chris, are you discussing your application deployment tactics – such as your work with Capistrano – in this book? I found that rather riveting when you discussed it in your blog.
@Brendon
I hadn’t planned on talking about it but if time permits I might add a chapter about Cake application deployment.