PHP Objects, Patterns and Practice (Expert's Voice in Open Source) (英語) ペーパーバック – 2010/6/1
Kindle 端末は必要ありません。無料 Kindle アプリのいずれかをダウンロードすると、スマートフォン、タブレットPCで Kindle 本をお読みいただけます。
This book takes you beyond the PHP basics to the enterprise development practices used by professional programmers. Updated for PHP 5.3 with new sections on closures, namespaces, and continuous integration, this edition will teach you about object features such as abstract classes, reflection, interfaces, and error handling. You’ll also discover object tools to help you learn more about your classes, objects, and methods.
Then you’ll move into design patterns and the principles that make patterns powerful. You’ll learn both classic design patterns and enterprise and database patterns with easy-to-follow examples.
Finally, you’ll discover how to put it all into practice to help turn great code into successful projects. You’ll learn how to manage multiple developers with Subversion, and how to build and install using Phing and PEAR. You’ll also learn strategies for automated testing and building, including continuous integration.
Taken together, these three elements―object fundamentals, design principles, and best practices―will help you develop elegant and rock-solid systems.
Matt Zandstra has worked as a web programmer, consultant, and writer for nearly two decades. He is the author of SAMS Teach Yourself PHP in 24 Hours (three editions) and a contributor to DHTML Unleashed. He has written articles for Linux Magazine, Zend.com, IBM DeveloperWorks, and php|architect Magazine, among others. Matt works as a consultant advising companies on their architectures and system management, and also develops systems primarily with PHP, and Java. Matt also writes fiction.
Amazon.com で最も参考になったカスタマーレビュー (beta)
That being said, the Kindle version has one major issue: the code samples. They look like someone printed them out with a dot-matrix printer, then scanned them at 150 DPI, saved as BMPs to preserve all the visual errors on the scan, and pasted them into the book as images. In other words, the code samples are not text at all - they are really, really crappy images and you will often find yourself squinting to make out all the details of the fuzzy "text".
This isn't a dealbreaker - after all, any programming book you buy today has downloadable samples of all code available somewhere on the Internet... but it IS an annoyance. Why they couldn't produce the code in real text with an alternate font I have no idea. Why they couldn't present higher quality images of the code I also have no idea.
Suffice to say, if you buy this for the Kindle, expect 5 star content with 3 star presentation - thereby bringing us to 4 overall.
Really good explanation on why it is necessary to structure PHP using the PHP 5.x OO options
I an a Java developer my self. Therefore the OO stuff is well known.
But I had no clue on how to structure solutions for PHP...
Probably the best OO book about PHP, therefore all 5 stars ***** :-)
Ofcause I could wish some thing else..
I use IntelliJ IDEA for my PHP development. And it has a lot of IDE support.
I would like the domain sections to reflect this.
IDEA will understand the SQL statement (strings) to PDO.
It can color errors, It can try out statements to a concrete database.
But it cannot do this if the distance between PDO and the query string is abstracted to far away. (Then it becomes gray for IDEA ...)
The samples in the book, I would also like to have in a zip
About the "kindle" .. oh I have big troubles getting used to that. I would prefer a PDF file with real pages. These 8000 kindle-pages. It makes no sense to me.
The kindle APP... there is severe room for improvements. I very easy loose where I am in the book. A few un-consentrated clicks.. And you are lost. No history back..
I hope (for Kindle) that there are some things I have not discovered yet in the reader...