Search:

Support for php|architect’s Guide to Programming with Zend Framework

Reviews

Hi!

Wow, it has been a while since I posted. I apologize for that, I think my schedule is clearing a bit and I hope to get back to this project because there’s still so much more I want to say about Zend Framework.

In the mean time, two reviews have recently been posted.

First:
Ivo Janish wrote Book Review: php|a’s Guide to Programming with Zend Framework You may remember Ivo from my recent blog post on my trip to Amsterdam. Even though we are good friends, Ivo still managed to do a good job of remaining impartial. I however, won’t and will simply give you a good quote.

First of all, the book is fun to read. I like Cal’s writing style. He’s able to teach stuff while keeping it light and funny. And that works; the book is never dull so it’s easy to read in a short time frame.

If you want to know his criticisms, you’ll have to read it yourself. :)

Second: php|architects Guide to Programming with Zend Framework I apoloize to the author of this review for not naming him/her. However the review, and the entire site for that matter is in Dutch and, well, if you followed my adventures in Amsterdam, you know about me and Dutch. BabelFish is my friend here and through it’s translation, I was able to pull out enough to know that the author thought the sample chapter was good enough to plop down the full price. I would do a quote but it would be a quote form BabelFish’s translation and well, those can be more humorous than intended. So I’ll just leave you with the link.

Thank you to both of the authors for taking the time to read and review the book. Ivo, thanks again for taking the time to correct the grammer. (Seriously, he gave me a marked up copy of the book!) I’ll start putting the corrections in next week.

If you have reviewed this book, I want to link to your review. Please respond here so I can post about it.

If you bought the book, thank you, If you read the book, thank you even more, and if you take the time to share with me what you like and dislike about the book, a HUGE thank you!

=C=

24.Apr.08 Reviews Read more Comments (8)

Zend Framework PHP Coding Standard, It’s the New Black

First let me say wow! Ok, this is my first book, so I wasn’t prepared to meet all these new friends. Thanks to EVERYONE who has written me. Even if you are just saying thanks for the book, I appreciate every one of them. Some of you have taken the time to send me spelling errors and errata that you have found in the book. I sincerely appreciate it and am correcting the manuscript with each one of them.

Ok, now down to the point. Last night I was on IM (I hang in #phpc on irc.freenode.net with 140 of my close friends) and I was talking with Evil_Otto about coding standards. I am a firm believer in coding standards. I used to not care about coding standards but after you become a manager and have to deal with two developers who are constantly reformatting each others code, you become a believer in a hurry.

I tried to make sure all examples in the book and in the zip files were coded to the Zend Framework PHP Coding Standard. I do know I missed it on a few points but nothing that should keep your code from running.

Honestly, I don’t particularly agree with all of the standard. However, it is a standard so I did my best to adhere to it.

If you don’t have a standard yet for your personal programming or for your team, I strongly suggest that you consider the Zend Framework PHP Coding Standard. Not because this is the “right” way to code and how you are doing it is “wrong”. If we all do it the same way, it makes all of our lives just a little bit easier. (not much, but a little)

Just a thought, thanks again for all the emails!
=C=

24.Jan.08 Message From Cal Read more Comments (4)

SQL Errata

On page 43, the SQL command to create the member table is incorrect. The correct one is:

CREATE TABLE member (
id int(10) unsigned NOT NULL auto_increment,
emailAddress varchar(80) default NULL,
userPassword varchar(50) default NULL,
firstName varchar(50) default NULL,
lastName varchar(50) default NULL,
PRIMARY KEY (id)
);

Thanks to Zachary Burnham.

=C=

24.Jan.08 Errata Read more Comments (0)

‘noViewRendered’ will result in ‘viewRendered’

My buddy Zachary sent me an email today pointing out these two bits of errata.

On page 13, a line of code is missing:

Zend_Loader::registerAutoload();

On page 22 is the following paragraph:

If you followed the instructions in the last chapter then you already have most of
what we need to make this work. However, we do have three changes to make.
First, open your bootstrap file (index.php) and remove the line:

$frontController->setParam('noViewRendered', true); 

We will be using view scripts to handle the output in this sample.

The parameter should be ‘noViewRenderer’.

$frontController->setParam('noViewRenderer', true); 

Both of these are correct in the sample code but incorrect in the final manuscript.

Thanks Zachary!

=C=

22.Jan.08 Errata Read more Comments (21)

app==application for most values of app

In chapter two, when I am describing how to setup your bootstrap file, I missed renaming the app directory to application. This appears on or around page 15 below the sub-heading “Step 3: Creating Your Bootstrap”.

Original:

$frontController->setControllerDirectory(’c:/web/htdocs/app/controllers/’);

Corrected:

$frontController->setControllerDirectory(’c:/web/htdocs/application/controllers/’);

The example code is correct however, so if you are too lazy to type in the code yourself, you would have never noticed.

Many thanks to Zachary Burnham for finding and reporting this.

=C=

21.Jan.08 Errata Read more Comments (0)

Welcome!

Welcome to the official support site for php|architect’s Guide to Programming with Zend Framework. The PDF version of the book has been released and can be ordered from php|architect’s book site.

The source code examples from the book are located on the Source Code page.

I’ve got several tutorials that did not make the book because of time constraints that I will be posting here along with their source code examples.

I encourage you to write me at cal at calevans.com and tell me what you think of the book. I’m always looking to improve the project and honest feedback, positive or negative will be appreciated.

Thank you,

Cal Evans

19.Jan.08 Uncategorized Read more Comments (7)