Can you believe it? My book is done and available for you to purchase. Visit the site for the book for more details.
When I started working on this book I did have an idea of how much, you know, WORK it was actually going to be. With some help from a few CakePHP gurus I got all my code tight and working the way it was supposed to. I guess it’s only natural that I should be happy with the way things have turned out, but I’m also happy with how my initial concept seems to have played out.
Guides on how to apply CakePHP (or any framework for that matter) to a real-world problem are few and far between. That’s why I was so sure that a book that showed how to turn an old PHP app into a CakePHP powered one would be a desirable thing.
I hope you enjoy the book and feel free to send me your feedback. I may not agree with what you have to say, but I do read every comment and email sent to me.
Tags: book, CakePHP, legacy applications, refactor

Good stuff Chris. I’ve just placed my order today, I look forward to reading it!
I enjoyed reading it. “Chris Hartjes show the rest of us, how he develops using CakePHP. He shows us what he has learned from the masters in detail with his latest book.” http://v2.cybergod.net/article/show/u/refactor_using_cakephp
Great job, Chris.
Good job! When can i get it in China?
@yicz
Unfortunately you are limited to either PayPal for the PDF or Lulu for the paper version. If neither service works in China I’m afraid there’s nothing I can do.
If there is an alternative to PayPal for Chinese customers I’m open to making it available that way.
[...] Hartjes has released his book, “Refactoring Legacy Applications Using CakePHP”, and has made it available for [...]
I guess the book’s website wasn’t finished for release? Either way, I’m about the purchase, thanks for all of the work you put in to your book, Chris.
@Brendon
Are you asking if the site I am building in the book was finished, then the answer most certainly is yes. I just didn’t release the source code for it, that’s all.
If there’s enough demand for it, I can easily make it available for downloading via the web site for the book
Chris: Considering your rebuttle question from my question, I’m thinking I misunderstood previous blog posts of yours discussing the subject. I thought you were building a site for the book in CakePHP – as in building a site that would host the book itself; a landing page/site if you will.
My apologies, now I understand!
@Brendon
Ah, I understand now! I chose the path of pragmatism and whipped together the page in under an hour.
Just idle curiosity: is this the book you were trying to convert to PDF using rst2pdf? I ask because I am one of the authors, and would love to know if it worked for you (and if it didn’t, why not)
@Roberto
Yes, this was the book I was trying to do that with. The problem I ran into was that I could not figure out how to do some of the layout stuff I felt I needed, specifically code blocks and hard page returns where I wanted them. In the end, it was easier to use Pages to do the layout and then export to PDF. Plus I couldn’t figure out how to do a table of contents either using rst2pdf. It’s a really great tool, but I couldn’t make it do what I felt I needed.
Pity, all those things are possible now, at least
Page breaks:
.. raw::
PageBreak
TOC:
.. contents::
(it now has the classical book-style table of contents with page numbers)
Code blocks:
.. code-block:: php
printf(‘whatever’)
Let me know if you want to give it a shot for your next book!