Review of “Yii 1.1 Application Development Cookbook”

Yii 1.1 Application Development Cookbook. Book cover.

So I received my copy of “Yii 1.1 Application Development Cookbook” and I have been reading through it lately.

I decided to read it cover to cover, even though that is definitely not how it’s supposed to be read. As it says in the title it’s a cookbook which of course means that it provides you with “recipes” on how to overcome specific problems. Actually it doesn’t even have to be a problem. It can be an optimization you would like to implement or the likes.

Before we proceed with the review, I would like to just quickly show you the basic info for the book, along with a few links and such:

Yii 1.1 Application Development Cookbook info

Title: Yii 1.1 Application Development Cookbook
Author: Alexander Makarov
Language: English
Paperback: 392 pages [ 235mm x 191mm ]
Released: August 2011
ISBN: 1849515484
ISBN 13: 978-1-84951-548-1
Sample Chapter: Download as PDF

I must admit that I was initially a bit skeptic about its usefulness. After all, the Yii framework has pretty decent documentation as well as a cookbook on the site already, but already as I read through the table of contents of this book, I began to realize that a lot of the problems I was having when I was initially learning how to use Yii, were explained in this book. Things I had to ask about on the forum back then. There were answers to questions I’d never found an answer for and instead had to find alternative solutions.

But who should read this book? I would have to say it’s for everyone who wants to learn about Yii. There are some nice, established guides on the Yii website that explains a lot of stuff about Yii, and you should of course read those first. But it’s my experience that as soon as you start to play around and get creative, you soon run into a wall that blocks your path. These can be small things like how to use MySQL as your database or how to use multiple databases, but it can also be bigger things like parsing Markdown or HTML, or how to properly configure Yii to prevent certain attacks.

So can I recommend buying this book? Actually yes, I can. I’ve seen a few programming cookbooks in my time and a lot of them have been somewhat silly, in that they were really just a conversion of an already existing, freely available and easily accessible (not to mention well known), online cookbook and put it in a book form. It works it’s in no way worth paying for, in my opinion.

“Yii 1.1 Application Development Cookbook” is definitely worth the money and even though I have gotten an eBook copy, I might actually buy the physical book so I can keep it around as reference. It’s a “cookbook done right” and it’s no wonder that Qiang Xue, the initial creator of Yii, has vetted this book and found it to be more than acceptable.

Posted in Uncategorized | Leave a comment

Upcoming review of “Yii 1.1 Application Development Cookbook”

Yii 1.1 Application Development Cookbook. Book cover.

Not too long ago, I was contacted by a person over at Packt Publishing, asking me if I would like to review a new book about Yii. While I haven’t done a whole lot with Yii recently, I still occasionally work with it and I like to learn more about it. So naturally I agreed.

I have just received my e-copy of the book so now I can start reading it. But if anyone else should happen to be interested in the book before I’m done with my review, here’s some basic info about it:

Yii 1.1 Application Development Cookbook info

Title: Yii 1.1 Application Development Cookbook
Author: Alexander Makarov
Language: English
Paperback: 392 pages [ 235mm x 191mm ]
Released: August 2011
ISBN: 1849515484
ISBN 13: 978-1-84951-548-1
Sample Chapter: Download as PDF

Posted in PHP, Review, Yii Framework | Leave a comment

Calorie Calculator v0.5.1 released

I just released the newest version of the Calorie Calculator. Someone commented on another entry and asked for some improvements to the app, and I decided to implement them. I haven’t been working on the app for a while now, having had other things to work on, but it felt good to actually make a few updates… It also felt kinda icky to look at such an old mass of code. I should really consider updating it to a better style later on, but I made a few changes that makes it acceptable for now.

The changes are fairly simple, but still quite nice.

Normally the app would show the “Measurement type” selection screen every time the app was started, but this was kinda pointless since most people are only using one type, and rarely changes between them. So now it will only show that screen once, after which it will remember the setting and go directly to the main screen where you can enter all your stats.

And speaking of entering stats. There’s a change to those as well, in that there’s a preferences screen, where you can now choose which (if any) bits of information you would like it to remember, so if you don’t want to enter age, gender, height and/or weight each time (or you want to see what your weight was the last time you checked) then you can make it remember this in settings. It will default to remembering age, gender and height.

Finally, there’s a set of new buttons on the results screen. One at the top and one at the bottom, just in case. They will exit the app so you don’t have to press back several times to exit.

Posted in Android, Calorie Calculator, Java, Projects | Tagged , , | Leave a comment

Current project

Lately I’ve been helping out with another Android project, and I’ve been making quite a bit of progress with it. I’ll probably post more about it soon, but suffice to say it has to do with getting access to a website where people upload their stories, artwork, music, etc. I’m hoping to keep on adding to it. :-)

Posted in Android, Java, Projects | Leave a comment

Calorie Calculator – Making it bigger

So my plan to take small steps, and start out really simple, only to work toward something bigger, has paid off. I actually have an application out there, and people are downloading it, trying it out.

Due to its simplicity people usually only try it out once, and then no more, but that’s perfectly fine by me, since I rarely use it either. After all, it’s not exactly a tool you need very often, so why should people use it much? :)

However, I’m now going to start working toward making it a better tool, and one that people can hopefully use more than just once or twice. The first step will be to implement preference support, as that will form the basis for profiles. This will come in very handy in the future, when the tool will allow people to count calories and track their weight using this tool. I want to be able to support multiple users in the same app, so that families that wants to start counting calories together, can do so without having to get several devices.

What’s in the future for this app? Well there’s a LOT that can be done, and I’m full of ideas, but I’m still pacing myself, taking things one step at the time. So preference and profile support first, then we’ll see.. I may add a few extra items to v0.5, but that will only happen if I deem them to naturally belong together.

Posted in Android, Calorie Calculator, Java, Projects | Leave a comment

[Release] Calorie Calculator v0.4

Well this is a rather pleasant surprise. I hadn’t honestly expected to finish this version while I was at vacation, but obviously I managed to do just that.

Visually not a whole lot has changed. There’s a new icon, and the entry forms are now using tables for layout instead of the normal linear layout. A new calculation has been added to the application, offering an alternative calculation of ideal weight.

Other than that, a single bug was fixed, and a small internal change to allow reuse of some of the code in other projects was made.

Posted in Android, Calorie Calculator, Java, Projects | Leave a comment

[Release] Calorie Calculator v0.3

The newest version of the application has been released now, a few days later than I’d planned for, but that’s still acceptable by my measures. I’ll post more about it tomorrow, but for now, I really need to get some sleep.

Posted in Android, Calorie Calculator, Java, Projects | Leave a comment

Calorie Calculator v0.3 — Making Progress

I’ve been working on the next release of Calorie Calculator for a couple of days now, and so far I’m liking what I see.

I believe I’ve made some good changes to the interface, that will make it easier to figure out, and I’ve set up some additional usage data reporting, which will enable me to more easily track down errors in the software. Continue reading

Posted in Android, Calorie Calculator, Java, Projects | Leave a comment

New Android Project — Calorie Calculator

Wow… It sure has been a while since I last wrote anything in this blog. I would claim I’ve just been busy, but quite frankly that would be a lie… I just haven’t really been doing anything related to programming that I felt was worth writing about. Mainly I’ve doing lots of other work, but meh, this isn’t about me. ;)

So this new project… What’s it about? Does it actually do anything useful? And… Android?!? These are questions you may or may not have, but I’m going to answer then anyway, because I’m weird like that. Continue reading

Posted in Android, Calorie Calculator, Java, Projects | Leave a comment

To sum it all up…

Like CakePHP, Yii is initially a bit confusing, but it’s also exciting, and so you keep going, wanting to explore deeper.. But the main difference, to me anyway, is that when the excitement fades, to no longer cloud your judgement, Yii has become an understanding and caring friend, while CakePHP leaves you wondering… Was the cake a lie after all?

Bad.. I know.. ^^ Couldn’t help it.

Posted in CakePHP, Other, Yii Framework | Leave a comment