Chapter 19 of “The Yii Book” on the Horizon

December 31, 2013 — 4 Comments
The Yii Book If you like my writing on the Yii framework, you'll love "The Yii Book"!

I wanted to wait on saying something until the chapter was on its way to the tech editors, but it’s the end of the year and the chapter is close enough to being done that I can offer an update now.┬áMy wife and kids went away to visit friends for a couple of days, and I stayed home to work, spending the vast majority of my time on “The Yii Book“. Not only did I make pretty good progress on Chapter 19, but I got my Yii book mojo back (in terms of being in the flow and mindset), which is just as important.

Chapter 19, “Extending Yii,” is around 30 pages long it looks like. I start by covering the fundamental concepts, such as general guidelines, structuring extensions, and publishing assets (i.e., copying CSS, JavaScript, and other media from an extension directory to the assets directory). Then I walk through the various types of extensions, explaining the key components of each type: the class it’s based on, minimum requirements (e.g., mandatory methods), and how to make the extension configurable.

After that, there are a few more examples, both walking through existing extensions written by others and new examples for the book. The focus isn’t so much on the chapter outputting finished extensions as it is on explaining the thought and development process. I just now finished the widgets discussion, which I think turned out well. The last thing I need to do is finish up the module section.

The chapter ends with a quick coverage of deploying extensions.

So…I need to finish up the module discussion, take the images, proofread it one more time, and then it’s off to the technical editors. Once I get their feedback, I’ll finally (finally!) post an update. And I’m back on the horse, so to speak, which is a very good thing.

Happy holidays and best wishes to you and yours!

If you enjoyed this post, then please consider following me using your favorite social media, the RSS feed, and/or by subscribing to my newsletter. Or go crazy, and buy one or more of my books . Thanks!

4 responses to Chapter 19 of “The Yii Book” on the Horizon

  1. It’s good to read about your progress. I suppose chapter 19 will be very interesting.

    In any case, Happy New Year (2014 needs 3 and a half hours to officially arrive here)!

    • Chapter 19 turned out well, I think, but was much longer than I imagined. 55 pages! Longest chapter in the book but at least 10 pages! Happy New Year (belatedly) to you, too!

  2. Is this chapter coming soon? I like the year-end update, but man, I’ve been clicking the refresh button every hour for the past 21 days!

    Just kidding. You’re fans are watching and waiting…

Comments are great, but I'd strongly prefer any requests for assistance get made in the support forums. Thanks!