Crunch Time and Updates
If you’ve seen the book on Amazon, you’d have seen that it’s publication date is set for early July. Well, I’m happy to say that the book is coming along nicely. And it is crunch time. Still some revisions to make and more editing, especially since Cake was updated to 1.2rc1 just last week. But I’m excited for the book’s release.
Folks have criticized the framework for its lack of documentation, though I think there’s plenty of good docs out there to get you started in Cake. What they’re really saying, I think, is that they expected more documentation than what they got. I know when I started working in Cake, the first thing I searched for was a book, even an e-book if there was such a thing. I have been quite surprised that something hasn’t been printed yet with regards to learning Cake. So I’m happy to offer something to the Cake community that should help boost participation in the framework. After all, my main goal in writing a book is to bring awareness to Cake and to help fellow developers avoid the mistakes I made when first learning the framework.
As the title suggests, the book is designed as a beginner’s tutorial through Cake. The original title was “The Newbie’s Guide to CakePHP” or something like that. You can still download those early chapters, if you’d like, though the book will be much more detailed than these early drafts.
The first part deals with the basics of running CakePHP. Once those routine tasks of getting an application running are discussed, I move on to a tutorial - yes, the classic “build a blog” tutorial - but at least this application takes on a bit more than the usual walkthrough. For instance, the blog I build uses Ajax comments with voting links, category trees for sorting blog posts, and other useful features.
Throughout the tutorial I take some detours to further explain concepts like working in MVC, using helper functions, and building custom resources. The last third of the book deals exclusively with building custom classes like DataSources, behaviors, helpers, plugins, vendors, and more. The book is also set to include a resource in one of the appendices that outlines most of the functions and properties in Cake.
In the end, I think it gives a necessary foundation for the reader to be able to explore the online documentation without any problems and misunderstandings. I think that this is the real benefit of the book, to help the reader get excited about Cake. Later, another book that deals with a more exhaustive approach, i.e., a full explanation of everything Cake can do, you know, like those 1000-page tomes, ought to be written. But I’ll leave that one to the Cake Foundation or another more ambitious developer :)
Anyhow, I’ll keep you posted on developments on the book as we get closer to the release. And thanks for all the support!
