Daniele
-
Posts
6 -
Joined
-
Last visited
Posts posted by Daniele
-
-
Thank you for your time Larry, and don't worry about my name, is not a big deal
-
Hi Larry, I logged in with my account and downloaded again the book but file is the same of 2 April (when i purchased), there is another place where I can download the file? Can you attach to the file name the version number? I think that can be very helpful for us (so we don't post errata already corrected) and also for you (so you don't have to read unuseful post). PS: I'm a male, not Danielle but Daniele
-
Hi Larry, I think that there is a little mistake on page 94. According to the db table "page" there are two date fields, "date_published" and "date_updated", but in the book, printing the # protected/models/Page.php::rules(), you wrote "date_entered" and "date_published". One more time I have to say thank you for your hard work!
edit: found another little errata on page 95, when you print # protected/models/User.php::rules(), there is the "date_updated" attribute that doesn't exist in the "user" table, let me know if I have an old/wrong version of the db file!
edit2: another little thing on page 104, I don't know if I didn't understand well what you meant but you wrote: "BELONGS_TO. This constant represents the "one" side of a one-to-many relationship" but, if I think about a page and a user, I think that "many pages BELONGS TO one user", so BELONGS_TO is related to the "many" side. I hope that my comments will be helpful for your work, otherwise, if I'm wrong please forgive me but I'm a really NOOB developer XD
-
Hi aguskianto, I think that the correct format is "yyyy-MM-dd" (example: 2013-04-04), let me know if works!
-
Hi Larry, I want to say that your book (even in this stage) worth all of the 15 euros that i spent!
I have a little errata to submit on page 49If you move 'protected' folder from C:\xampp\htdocs\myapp to C:\xampp you have to modify index.php, this is what you wrote in the book:
$config=dirname(__FILE__).'/protected/config/main.php';to$config=dirname(__FILE__).'/../protected/config/main.php';this is what i think is the correct path$config=dirname(__FILE__).'/../../protected/config/main.php';because C:\xampp is two folder above myapp.Bye and thanks for your work!
Command Prompt 'Yiic'
in The Yii Book
Posted
From the yii wiki, this is an how to:
http://www.yiiframework.com/wiki/3/