Yii Framework Forum: The Yii Book! - Yii Framework Forum

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

The Yii Book! Rate Topic: -----

#1 User is offline   imehesz 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 703
  • Joined: 13-June 09
  • Location:Jacksonville, FL

Posted 03 May 2010 - 03:32 PM

Hello everybody!

Here it is:

http://www.packtpub....ion-development

--iM
It’s done, the great act of creation.
The maker rests. The wheel’s in motion.
-- Imre Madách

check out Yii Theme Factory at http://yii.themefactory.net
0

#2 User is offline   intel352 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 196
  • Joined: 05-February 10
  • Location:Southport, NC

Posted 03 May 2010 - 05:38 PM

Nice, are you the author or is it another community member?
Or someone else entirely? (I saw the name Jeffrey Winesett, but I don't recognize the name)


EDIT: August is a long time to wait :blink:
Need live Yii support? - Join the #yii IRC channel on Freenode!
0

#3 User is offline   imehesz 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 703
  • Joined: 13-June 09
  • Location:Jacksonville, FL

Posted 03 May 2010 - 08:21 PM

View Postintel352, on 03 May 2010 - 05:38 PM, said:

Nice, are you the author or is it another community member?
Or someone else entirely? (I saw the name Jeffrey Winesett, but I don't recognize the name)


EDIT: August is a long time to wait :blink:


No, I am not the author of the book, but seems like Jeffrey Winesett has been around for a while since the early release of the framework: http://www.packtpub....effrey-winesett

--iM
It’s done, the great act of creation.
The maker rests. The wheel’s in motion.
-- Imre Madách

check out Yii Theme Factory at http://yii.themefactory.net
0

#4 User is offline   Maurizio Domba Cerin 

  • Yii - Yesss It Is !!!
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,342
  • Joined: 12-October 09
  • Location:Croatia

Posted 04 May 2010 - 01:59 AM

I agree with intel352, august is a long wait... not to mention all the changes Yii will behave from today to august...
Find more about me.... btw. Do you know your WAN IP?
0

#5 User is offline   imehesz 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 703
  • Joined: 13-June 09
  • Location:Jacksonville, FL

Posted 04 May 2010 - 11:54 AM

I know August is far, but hey, we're gonna have a Yii book :D

At least we can have our WikiPedia page back!

--iM
It’s done, the great act of creation.
The maker rests. The wheel’s in motion.
-- Imre Madách

check out Yii Theme Factory at http://yii.themefactory.net
0

#6 User is offline   Maurizio Domba Cerin 

  • Yii - Yesss It Is !!!
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,342
  • Joined: 12-October 09
  • Location:Croatia

Posted 04 May 2010 - 02:46 PM

View Postimehesz, on 04 May 2010 - 11:54 AM, said:

... but hey, we're gonna have a Yii book ...


completley agree :D
Find more about me.... btw. Do you know your WAN IP?
1

#7 User is offline   yiiman 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 19
  • Joined: 09-May 10

Posted 13 May 2010 - 02:05 AM

great new i guess... don't want to sound pessmistic but unless the book is well written it will have little value for yii developers. :unsure:
0

#8 User is offline   james2010 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 48
  • Joined: 19-February 10

Posted 13 May 2010 - 02:38 AM

hi,
i think yii have a great documentation so i think you dont need a book for this.

2 years ago i started to work with symfony. i read a book about this.

after i realized that the book was more a 1:1 copy from practical symfony documentation.

regards
0

#9 User is offline   Maurizio Domba Cerin 

  • Yii - Yesss It Is !!!
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,342
  • Joined: 12-October 09
  • Location:Croatia

Posted 13 May 2010 - 02:49 AM

View Postjames2010, on 13 May 2010 - 02:38 AM, said:

after i realized that the book was more a 1:1 copy from practical symfony documentation.


That depends on the writer...

A book on how to implement or use different Yii parts would be nice...
Find more about me.... btw. Do you know your WAN IP?
0

#10 User is offline   imehesz 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 703
  • Joined: 13-June 09
  • Location:Jacksonville, FL

Posted 13 May 2010 - 08:16 AM

View Postjames2010, on 13 May 2010 - 02:38 AM, said:

hi,
i think yii have a great documentation so i think you dont need a book for this.

2 years ago i started to work with symfony. i read a book about this.

after i realized that the book was more a 1:1 copy from practical symfony documentation.

regards



It will be a book on how to develop a TDD application with Yii, not a 1:1 copy of the documentation.

I'm really happy to see a PHP book about test driven development (TDD and Agile), because the entire community lacks of this approach.

--iM
It’s done, the great act of creation.
The maker rests. The wheel’s in motion.
-- Imre Madách

check out Yii Theme Factory at http://yii.themefactory.net
0

#11 User is offline   veris 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 21
  • Joined: 03-July 09
  • Location:POLAND

Posted 01 July 2010 - 04:20 PM

View Postmdomba, on 04 May 2010 - 02:46 PM, said:

completley agree :D


agree too! :lol:
Zbigniew Gralewski
0

#12 User is offline   ISY Good 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 07-June 10

Posted 07 July 2010 - 01:15 PM

View Postimehesz, on 04 May 2010 - 11:54 AM, said:

I know August is far, but hey, we're gonna have a Yii book :D

At least we can have our WikiPedia page back!

--iM



Did you mean YiikiPedia page?
0

#13 User is offline   imehesz 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 703
  • Joined: 13-June 09
  • Location:Jacksonville, FL

Posted 11 August 2010 - 11:31 AM

YESSSSS

The book is out! The book is out!!!!

https://www.packtpub...evelopment/book

yaaaaaay

--iM
It’s done, the great act of creation.
The maker rests. The wheel’s in motion.
-- Imre Madách

check out Yii Theme Factory at http://yii.themefactory.net
0

#14 User is offline   Y!! 

  • Advanced Member
  • Yii
  • Group: Yii Dev Team
  • Posts: 978
  • Joined: 18-June 09

Posted 11 August 2010 - 12:12 PM

Cool, here is a test chapter.
0

#15 User is offline   phazei 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 64
  • Joined: 20-July 09

Posted 11 August 2010 - 06:02 PM

Does it only talk about the depreciated yiic, or does it include Gii?

Looked at the index on amazon and didn't see anything about events/behaviors :(
But I did see references to both yiic and Gii
0

#16 User is offline   Mike 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 3,013
  • Joined: 06-October 08
  • Location:Upper Palatinate

Posted 12 August 2010 - 02:28 AM

Do we get a Wiki entry now? :)
0

#17 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,391
  • Joined: 17-January 09
  • Location:Russia

Posted 12 August 2010 - 03:54 AM

phazei
Gii is used in this one (at least in the test chapter).
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

#18 User is offline   bettor 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 751
  • Joined: 02-February 09

Posted 13 September 2010 - 05:50 AM

Gii is used in the book!
0

#19 User is offline   David Dreggors 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 41
  • Joined: 09-November 10
  • Location:Orlando, FL

Posted 09 November 2010 - 11:43 AM

I have read the book from cover to cover and followed the examples/tutorials to create the test app and the trackstar app.

I also had a co-worker and friend read along and do the same tutorials and examples on his development machine at the same time.
The book is a wealth of knowledge but I do have some legitimate complaints. By legitimate, I mean that the publisher has been made aware of these issue and has issued credits to people who bought and used this book!


1. The version of Yii used in the book is an older version than current and the generated code for CRUD, model, or controller is quite different in many places (particularly the load->model not requiring parameter $id in his version and all his code examples).

2. Many, many typos... for instance a closing php tag in the book with a colon after was written as "?:" in stead of "?>:" which caused many errors until the ">" was added.

3. Many topics are not explained as well as they should have been. For instance rbac is a very in depth topic however he skims over it telling you to "do this" and "do that" with not much explanation as to why or the other built in methods for AuthManager that should be learned.

That said, I understand that it could be argued that book would be huge and cumbersome if *ALL* topics are covered in depth. It could also be argued that teaching rbac and AuthManager as a whole go well beyond the scope of the book. However my contention is that if you plan to make a user aware of the availability and in fact plan to have them start to use these constructs then you should give enough information to have them be able to reproduce this construct in their own applications later. If you cannot do that then offer to them a next book that will be focused on these items in it's entirety and leave these concepts out of this book with the exception of mentioning the concepts and next book.

Also, a small note on point 1 (Yii versions used), I do not feel this is a problem with the author, publisher, or reader. I only mention it for readers to be aware of the issues if they are using 1.1.4 and try out this book.


Finally, on to point 2 (typos), this I do find a failure on the part of the author and more so on the part of the publishers editing team. The book is a valuable read but there are times when the author has you paste large sections of code that fail due to typos. This is in my opinion a bad for the reader since many of the typos are in methods or in classes that as a new Yii users you do not even know they exist let alone what the contruct for calling them are. As a new Yii user you spend more time backtracking and reading Yii core code then you do learning the examples in the book!



<EDIT>
Another huge issue I had was that much of the SQL code in the book will fail for you or worse, they will succeed and then will not be usable by the code in this book.

For example in the book and pdf e-book version of the book many of his SQL commands are expected to be copied and ran on MySQL but he uses apostrophes in stead of back ticks on database objects ("insert into 'tbl_users' " should be "insert into `tbl_users` ") which causes MySQL to return an error and the command never runs successfully.

Another example is that his SQL code to create tables in many cases do not have the required "Engine=InnoDB" at the end and they get created as type "MyISAM" (MySQL's default table type). This causes code errors later because the code and ActiveRecord functions are specifically written to work on InnoDB tables! He even tells you at the beginning of the book (after the first table is created) that the tables must be created as InnoDB yet in hist first table creation SQL command the engine type is not set.

Plain and simply put the code and SQL examples in this book *WILL NOT WORK* out of the box even though he claims they do!

</EDIT>
The requirements said Windows XP or better, so I installed Linux!
0

#20 User is offline   intel352 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 196
  • Joined: 05-February 10
  • Location:Southport, NC

Posted 09 November 2010 - 11:47 AM

@DavidDreggors, good points, thanks for letting us all know.

This wouldn't be the first time a development book has come out with examples that are unusable-as-printed.
Real shame they didn't test their examples before publishing...
Need live Yii support? - Join the #yii IRC channel on Freenode!
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users