Would you like to see this page in English? Click here.


または
1-Clickで注文する場合は、サインインをしてください。
または
Amazonプライム会員に適用。注文手続きの際にお申し込みください。詳細はこちら
こちらからもご購入いただけます
この商品をお持ちですか? マーケットプレイスに出品する
PHP Object-Oriented Solutions
 
 
Kindle化リクエスト
このタイトルのKindle化をご希望の場合、こちらをクリックしてください。

Kindle をお持ちでない場合、こちらから購入いただけます。 Kindle 無料アプリのダウンロードはこちら

PHP Object-Oriented Solutions [ペーパーバック]

David Powers

参考価格: ¥ 4,118
価格: ¥ 3,724 通常配送無料 詳細
OFF: ¥ 394 (10%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
在庫あり。 在庫状況について
この商品は、Amazon.co.jp が販売、発送します。 ギフトラッピングを利用できます。
1冊からでも印刷、お届け
オンデマンド印刷技術で注文に応じて印刷、お届けする「プリント・オン・デマンド(POD)」サービス。

フォーマット

Amazon 価格 新品 中古品
ペーパーバック ¥ 3,724  

会員なら、この商品は10%Amazonポイント還元(Amazonマーケットプレイスでのご注文は対象外)。
新規登録で最大4000ポイント キャンペーン実施中。

キャンペーンおよび追加情報

  • 本とまとめ買いで割引 対象商品最大5000円OFF「PCソフト」

  • 掲載画像とお届けする商品の表紙が異なる場合があります。ご了承ください。


商品の説明

内容紹介

With the surge of popularity of PHP 5, object-oriented programming is now an important consideration for PHP developers. This version-neutral book is a gentle introduction to object-oriented programming (OOP) that won't overburden you with complex theory. It teaches you the essential basics of OOP that you'll need to know before moving onto a more advanced level, and includes a series of prepackaged scripts that you can incorporate into your existing sites with the minimum of effort.

It shows how object-oriented programming can be used to create reusable and portable code by walking you through a series of simple projects. The projects feature the sorts of things developers run up against every day, and include a validator for filtering user input, a simple Date class that avoids the need to remember all the esoteric format codes in PHP, and an XML generator.

  • Teaches the fundamentals of OOP
  • Simple projects show how OOP concepts work in the real world
  • Prepackaged scripts can easily be added to your own projects

What you’ll learn

  • PHP features, such as the Standard PHP Library (SPL), that are poorly documented or ignored by existing books
  • How to develop classes of their own
  • OOP in easy-to-understand language without getting bogged down in dense theory
  • Solid foundations for developers wishing to delve more deeply into OOP
  • How to leverage the strengths of OOP as a means for creating reusable code that can be used successfully within a procedural context
  • How to code for both PHP 5 and 6

Who this book is for

This book is aimed at intermediate-level PHP developers who want to take their skills to the next level by exploring object-oriented programming as a way of creating reusable code for a everyday website tasks. A typical reader would be someone who has read one of the author's previous titles, such as PHP Solutions, or one of the PHP books for Dreamweaver and feels ready to tackle something a little more challenging.

著者について

David Powers is an Adobe Community Expert for Dreamweaver and author of a series of highly successful books on PHP, including PHP Solutions: Dynamic Web Design Made Easyand Foundation PHP for Dreamweaver 8. As a professional writer, he has been involved in electronic media for more than 30 years, first with BBC radio and television and more recently with the Internet. His clear writing style is valued not only in the English-speaking world; several of his books have been translated into Spanish and Polish. What started as a mild interest in computing was transformed almost overnight into a passion, when David was posted to Japan in 1987 as BBC correspondent in Tokyo. With no corporate IT department just down the hallway, he was forced to learn how to fix everything himself. When not tinkering with the innards of his computer, he was reporting for BBCtelevision and radio on the rise and collapse of the Japanese bubble economy. Since leaving the BBC to work independently, he has built up an online bilingual database of economic and political analysis for Japanese clients of an international consultancy. When not pounding the keyboard writing books or dreaming of new ways of using PHP and other programming languages, David enjoys nothing better than visiting his favorite sushi restaurant. He has also translated several plays from Japanese.

登録情報


この本のなか見!検索より (詳細はこちら
この本のサンプルページを閲覧する
おもて表紙 | 著作権 | 目次 | 抜粋 | 索引
この本の中身を閲覧する:

カスタマーレビュー

Amazon.co.jp にはまだカスタマーレビューはありません
星5つ
星4つ
星3つ
星2つ
星1つ
Amazon.com で最も参考になったカスタマーレビュー (beta)
Amazon.com: 5つ星のうち 4.2  25 件のカスタマーレビュー
21 人中、19人の方が、「このレビューが参考になった」と投票しています。
5つ星のうち 3.0 Not a beginners book for understanding PHP OOP 2011/1/21
By David Crisler - (Amazon.com)
形式:ペーパーバック|Amazon.co.jpで購入済み
I have learned a lot over the years from David Powers' books on PHP and Dreamweaver. They were the first books on PHP that I purchased and read. I have since read PHP books by other authors and one criticism I have formed is that Mr. Powers, while extremely knowledgeable, has a tendency to get very complicated. He introduces a concept, but then that concept depends on 2 more concepts that contain "gotchas" that need further explanation etc., etc., until the excitement you felt in approaching the original concept gets lost down a spiral of minutia and complexity that - although important - can be detrimental to the shaky confidence of a true beginner. Being thorough is great, but not so thorough that you overload those you are trying to teach. Never is this more apparent than PHP Object-Oriented Solutions. I have completed the first 3 chapters and they were quite a struggle! My brain hurt. I don't understand why there wasn't an attempt to start out with MUCH simpler classes. Maybe a short, easy database connection class or something. Instead, the first class is a Date class and Mr. Powers goes into all manner of complexities, starting with an exhaustive dissection of PHP's DateTime and DateTimeZone classes, then extending the DateTime class and understanding how to deal with leap years, adding dates while accounting for different amounts of days per month, ect., which to me - although a very useful and well thought-out class - just added layers and layers of mental complexity right at the beginning, and made it much more difficult than it should have been for a fledgling OOP fawn struggling to learn syntax, structure, usage, etc.

There are some basic examples in Chpt 2, but there needs to be a smoother transition from those to the intense, tangled complexity of the other chapters.

So in all honesty, I cannot recommend this as a "gentle introduction" to the PHP OOP world. It is more like dropping you into the deep end and hoping you learn to swim. I would love to see a book that starts with a simple, basic class and then extends it through subsequent chapters, while introducing OOP theory along the way. I did not like how all the theory was crammed into one VERY dense chapter at the beginning of the book (chpt 2).

Having said all that, I think if you approach this book as a "solutions" book more than a "gentle introduction" it has some great benefit to those who are able to comprehend the level of complexity and make use of the classes offered. Certainly this is evidenced by the many positive reviews here.

For me, however, it got too complex, too soon. I am still looking for that "gentle introduction". If anyone knows a more basic book on the subject, please let me know.
10 人中、9人の方が、「このレビューが参考になった」と投票しています。
5つ星のうち 5.0 Best way to learn OOP in PHP 2009/10/20
By Maarten v K - (Amazon.com)
形式:ペーパーバック
I have read a few books on OOP (there is always something new to learn), but this one is the best by far.
Good constant level of complexity; not too abstract, not too easy, but something to put your teeth in, sweat a little, but in the end come to a good understanding of the subject without frustrations.
There are many examples following the to the point explanations. It's always a challenge for an author I guess to address the reader at a good adequate level to hold his/her attention. Knowing where the bottlenecks are. Giving a concrete example when it start to become abstract. Offering meaningful cases. The author does al that!
This book is a real must for anybody who wants too start learning OOP from the beginning, although it's recommendable to know a good deal of (procedural) php when starting with this book.
3 人中、3人の方が、「このレビューが参考になった」と投票しています。
5つ星のうち 4.0 If you wanna be sure to get it... here's the way. 2009/10/9
By Maria E. Judge - (Amazon.com)
形式:ペーパーバック|Amazon.co.jpで購入済み
The book is pretty straight foward, and presents the subject matter in a down to earth, understandable way. Plus it's well organized so it makes a rather handy reference as well. If I had to gripe about one thing it's the quantity of information in the book. It's a great book, don't get me wrong, but I would have loved for it to keep going. Help me understand more. Perhaps another volume is on the way?
9 人中、7人の方が、「このレビューが参考になった」と投票しています。
5つ星のうち 5.0 I liked this one alot 2008/10/13
By Lee Thornton - (Amazon.com)
形式:ペーパーバック|Amazon.co.jpで購入済み
This book really covered alot of topics that I work with on a daily basis and showed me step by step how to implement then using OOP. I was really pleased with the lessons and I learned alot from this book. I recomend it to anyone who is trying to move to the Object Oriented PHP way of doing things.
12 人中、9人の方が、「このレビューが参考になった」と投票しています。
5つ星のうち 4.0 Great book to learn PHP OOP and practice OOP 2010/6/28
By Quoc Doan - (Amazon.com)
形式:ペーパーバック|Amazon.co.jpで購入済み
Alright, since amazon kept on complaining about review (slow reader).

Warning:
I've read 7 out of 9 chapters. Chapter 8 and 9 are in the back burner for now, not because it's boring, but I think it's more optional or things to learn later. My background is C/C++/VHDL/MIPS/ and whatever else I forgot to mention.

Codes in the book works!
Almost all of it. There's a small typo on page 159, the code assign a value to an array without specifying the index, so I believe that rewrite the array. Checking it with the source code, which you can download from the website, the author actually have something different. Anyway, took 3 hours to debug 300 lines or so, learned to debug better yay. There are so much codes in the book, that it gives you chances to practice the OOP that the author is trying to teach you, and it's very applicable to real world coding.

Tone and pace:
The tone and the pace the author goes throughout the book is straight forward. Whenever he skipped something he would state that you should have learned it or go research it (the regular expression functions), which is understandable because this isn't a "let's teach you php as if you know nothing about it."

OOP:
You learned to extend/inherit the php's offical date class. Learn how to extend the exception library, neat. You basically learn how to extend and customize php built in libraries or create a class to wrap php functions, facade pattern, and make it tailor to you, so that you can reuse it in your next project, and make your life easy. OOP, ahh such a beautiful concept.

The last three or so chapters are more advance, XML, SPL (standard php library), RSS, and such. What really sweet is the later chapter reuses the classes that you've code in previous chapters. So it shows the strength of OOP (reusability) and such.

On page 195, it's out dated the function does return a message so the if else statement isn't needed but meh.

On page 239 regarding XML namespace, since php 5.3 came out is there another way to do it? Shrug, it doesn't matter that much the way the author does it in the book currently isn't that bad. I wish the author spent his time talking more about the concept of namespace. I ended up googling that.

Oh, the clone subject is mention but isn't use in real world coding. That's a complaint I guess. I wish there was a least a 300 lines code project with the clone keyword in it. I believe it was only mention once about dvd and whatnot code. Oh well. Maybe it's in the last 2 chapters?

Oh debugging is always fun. On the date class when I had to reuse my date class for the XML chapter, the date output had the day and the month together without a space in between it. Ugh... had to debug that 400+ lines -_-. Learned to start debugging all output functions first haha.

Coding Standard and Documentation:
What's also nice is there's a coding standard, the Zend Framework coding standard, so if you don't have a coding style yet, at least you got one now. The phpDocument is pretty sweet, teaches you to document your code so other people can read it. Anyway, the installation of phpDocument isn't exactly there, so google it.

Summary:
This is THE book where I've learned OOP for PHP. It's a great book and I enjoyed it a lot. No book is perfect but this book set out to teach you something, and it does that well enough to get almost ALL of the points across to ya. I recommend this book to any one that knows PHP but knows nothing about OOP. If you want to make your life easy, have maintainable codes, and reusable codes, this book will teach you it.

Update July 19, 2010:
Chapter 8
Basically teaches you how to emulate multiple inheritance with interfaces.
You end up extending a class and at the same time implementing two interfaces (countable & iterator).

Complaints:
-The closing xml tag code explanation could have been better if the author refer to it being similar to a "stack". The most current XML element tag you created is the first thing that you close.

-The last test code to test out your class work or not will always output, "A problem occurred." Because the flush() function returns nothing! It's not in the errata page. A little tweak and you can have it return a bool flag if you wanted to. This isn't reported in the errata page and you can see it's an error because the official source code will do the same thing.

-Even though the author had you implementing the countable interface you don't use it at all. You can however test it out yourself. Just apply the class instance to the function .count(). So it's not that big of a deal.

Anyway, I actually found the errata page. I have to say then most of the code works if it didn't then it's either syntax or the elusive logic error.
これらのレビューは参考になりましたか?   ご意見はクチコミでお聞かせください。
ARRAY(0xa8f64a14)

クチコミ

クチコミは、商品やカテゴリー、トピックについて他のお客様と語り合う場です。お買いものに役立つ情報交換ができます。
この商品のクチコミ一覧
内容・タイトル 返答 最新の投稿
まだクチコミはありません

複数のお客様との意見交換を通じて、お買い物にお役立てください。
新しいクチコミを作成する
タイトル:
最初の投稿:
サインインが必要です
 

クチコミを検索
すべてのクチコミを検索
   


関連商品を探す


フィードバック