Archives For yii

I am very happy to say that, after much delay, “The Yii Book: Developing Web Applications Using the Yii PHP Framework”, is now available for sale. The book has its own home at yii.larryullman.com.

Everything you need to know should be on those pages, but the most important information is probably:

  • The book is currently in version 0.2, which includes the Introduction and Part 1 (four chapters)
  • The book is available in PDF, epub, and mobi formats.
  • You can pay using Mastercard, Visa, American Express, Discover, JCB, and Diners Club. (I’ll try to get PayPal integrated soon.)
  • I’m going to be continuing to write the book from now until it’s complete, probably in February 2013. I’ll be publishing updates every 2-3 chapters or so. This is my main priority, and with most of the logistics worked out, progress should go faster.
  • Whenever you buy the book, you’ll continue to be able to get free updates as they are released, including a revision for Yii version 2.
  • The minimum price is $20.00, but you can pay anything you want more than that.

I had a “soft opening” yesterday in order to catch bugs (and I did; lousy bugs). I’m happy to say that 23 orders came since yesterday afternoon, averaging $35.39! My thanks to everyone for their interest in the book and to those that have already ordered.

The question I pose to you is: how much should I charge for the book? There will be a minimum charge (i.e., you cannot pay less than X), but the system will be set to allow readers to pay whatever they want above that. For example, one person has already offered to pay $50 (seriously). And she is the most awesome person in the world. But I’m not going to charge $50. From my perspective, the book is a ton of work, and I have no guarantees of income (especially compared with going the traditional publication route), but I don’t want to gouge readers, either.

Continue Reading...

I’m very happy to say that on Wednesday, December 12, 2012, I’ll be speaking to the BostonPHP group in Cambridge, Massachusetts. The title of my speech is “How To Be A Web Developer”. In the speech, I’ll provide a blueprint for how one becomes a Web developer considering the current standards, technologies, and business environment of 2012 and going into 2013. The overarching discussion is on the specific technologies you’ll need to learn and in what order. The role that each technology plays in Web development will be explained, as will some of the issues to watch out for. You’ll also be introduced to some of the applications and other tools that you would be expected to know and use. Towards the end of the presentation, extra time will be given to my favorite PHP framework–Yii–as well as how to get experience and jobs in the Web development field.
For more information, and to indicate your attendance, see this post.

Continue Reading...

There are two goals for the book. The first is to help readers understand why you do things in certain ways. In other words, I want the reader to fully understand what’s going on behind the scenes so that he or she appreciates the context for whatever bit of code. This big picture approach is what I think is missing among the current documentation. The second goal is to demonstrate common tasks using real-world examples.

Continue Reading...

Yii 2 and the Yii Book

September 12, 2012

As you may know, I’ll be writing and self-publishing a book on the Yii framework this fall. I’m working on the table of contents now, and will likely post that in a week. You may also know that Qiang Xue, the creator of Yii, has graciously offered to act as the personal tech editor for the book, as has Alex Makarov, author of the popular Yii 1.1 Application Development Cookbook (Packt Publishing). It’s a great honor that both men have offered their time and assistance, and will clearly make for a better book.

With Yii 2 on the horizon, many readers asked if I planned to write the book for version 2 of the framework. And that answer was “yes”. But with Yii 2 not yet out, other readers are now asking if I’m still planning on writing the book for version 2. Well, in communicating with Qiang, there’s been a bit of a change of plans…

Qiang is working very hard on getting version 2 of his framework right (plus he has a job and family and other things to do). As of now, Qiang expects the alpha of Yii 2 to be out by the end of the year. Once the alpha is available, it would probably only be a couple of months before Yii 2 is production ready. Trying to be flexible, let’s assume that Yii 2 might be out in December and production ready in March 2013. (I know people are eagerly awaiting Yii 2, but the changes in this new version will be in place for years to come, so the new version shouldn’t be rushed. Also, Qiang is one guy, doing all this for free, so let’s cut him some slack, eh?)

Anyway, what does this mean in terms of my Yii book? What I’ve decided to do is write the book now for Yii 1: the version of the framework that you can use today. That way, if you buy the book now, you can use the information now.

If you haven’t caught this part of the plan before, know that I’ll be selling electronic versions of the book to start, and you’ll be able to buy it as I write it, and receive free updates as they are posted.

Next, when Yii 2 is out, I’ll update the book for Yii 2. I’ll probably do this when Yii 2 is in alpha or beta, so as to time the updated book’s completion with the production release of the framework. Those people that bought the Yii 1 version of the book will be able to download the Yii 2 version for free.

This approach means more work for me, but as I’m asking readers to take a bit of a risk in buying the book as I write it, I think it’s the fairest solution. If you buy the book, you’ll get a Yii 1 book and, when the time comes, a Yii 2 book, too.

I expect most people to be pleased with this solution, but let me know if you have any questions or comments. Thanks for the interest in the book!