今すぐKindleでPHP Cookbook (Cookbooks (O'Reilly))をお読みいただけます。 Kindleをお持ちでない場合、 こちらから購入いただけます。

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

Kindle または他の端末に配信

 
 
 

無料サンプル

冒頭部分を試し読みできます

Kindle または他の端末に配信

Kindle無料アプリをダウンロードして、モバイル端末で読書をお楽しみください。
PHP Cookbook (Cookbooks (O'Reilly))
 
イメージを拡大
 

PHP Cookbook (Cookbooks (O'Reilly)) [Kindle版]

Adam Trachtenberg , David Sklar
5つ星のうち 4.0  レビューをすべて見る (1 件のカスタマーレビュー)

紙の本の価格: ¥ 5,008
Kindle 価格: ¥ 2,009
OFF: ¥ 2,999 (60%)
販売: Amazon Services International, Inc.

フォーマット

Amazon 価格 新品 中古品
Kindle版 ¥ 2,009  
ペーパーバック ¥ 4,714  

商品の説明

内容紹介

When it comes to creating dynamic web sites, the open source PHP language is red-hot property: used on more than 20 million web sites today, PHP is now more popular than Microsoft's ASP.NET technology. With our Cookbook's unique format, you can learn how to build dynamic web applications that work on any web browser. This revised new edition makes it easy to find specific solutions for programming challenges.


PHP Cookbook has a wealth of solutions for problems that you'll face regularly. With topics that range from beginner questions to advanced web programming techniques, this guide contains practical examples -- or "recipes" -- for anyone who uses this scripting language to generate dynamic web content. Updated for PHP 5, this book provides solutions that explain how to use the new language features in detail, including the vastly improved object-oriented capabilities and the new PDO data access extension. New sections on classes and objects are included, along with new material on processing XML, building web services with PHP, and working with SOAP/REST architectures. With each recipe, the authors include a discussion that explains the logic and concepts underlying the solution.

内容説明

When it comes to creating dynamic web sites, the open source PHP language is red-hot property: used on more than 20 million web sites today, PHP is now more popular than Microsoft's ASP.NET technology. With our Cookbook's unique format, you can learn how to build dynamic web applications that work on any web browser. This revised new edition makes it easy to find specific solutions for programming challenges. PHP Cookbook has a wealth of solutions for problems that you'll face regularly. With topics that range from beginner questions to advanced web programming techniques, this guide contains practical examples -- or "recipes" -- for anyone who uses this scripting language to generate dynamic web content. Updated for PHP 5, this book provides solutions that explain how to use the new language features in detail, including the vastly improved object-oriented capabilities and the new PDO data access extension. New sections on classes and objects are included, along with new material on processing XML, building web services with PHP, and working with SOAP/REST architectures. With each recipe, the authors include a discussion that explains the logic and concepts underlying the solution.

登録情報


カスタマーレビュー

星5つ
0
星3つ
0
星2つ
0
星1つ
0
最も参考になったカスタマーレビュー
5つ星のうち 4.0 役に立つレシピ本 2008/12/21
形式:ペーパーバック
PHPは迅速なウェブ開発を助けるためにデザインされた言語であるため、適当に使えるようになるのにそれ程の時間はかからない。しかしその自由度ゆえ、何かをコーディングするにあたり複数の解決方法があることも多く、「最適」な方法を見つけ出すのはなかなか骨が折れる作業だ。要するに、無意識にスパゲッティをつくろうと思えば出来てしまうし、ある程度しっかりしたオブジェクト指向のシステムを作ることも可能だ。そこで、やはり経験や優良な開発者の書いたコードをたくさん読むことが一番の勉強方法なのだが、ヒーコラつぶやきながら納期に終われつつ、大量のコードを書かなければいけない末端の開発者にとって、そうそう時間は余りあるものではない。そこで、このレシピ本は役に立つ。

基本的にウェブ開発に特化した言語なので、この本にあるレシピもXML、セキュリティ、フォームの扱い、国際化やローカリゼーション、データベースなど、色々とウェブ開発に必須な事項が網羅されていて嬉しい。常に新しいリリースでてくるソフトウェアについての本なので、時間と共に使用モジュールなどが陳腐化してくる部分があることも否めないが、クオリティがまちまちなネット上の情報のみでなく、O'Reilly標準の信頼できる著書から学んでおくべきことは多いと思う。

既に他の言語を扱え、一冊かそこらのPHPウェブ開発関連の入門書
... 続きを読む ›
このレビューは参考になりましたか?
Amazon.com で最も参考になったカスタマーレビュー (beta)
Amazon.com: 5つ星のうち 4.4  31 件のカスタマーレビュー
34 人中、34人の方が、「このレビューが参考になった」と投票しています。
5つ星のうち 5.0 A reference every PHP programmer should have 2007/1/4
By Jason - (Amazon.com)
形式:ペーパーバック
This is my first O'Reilly book in the "Cookbook" series. At first I thought this book would probably contain the code and instructions for building a couple of web applications such as a shopping cart or a blog engine. This isn't that book. Rather it provides the reader with code snippets that can be used as building blocks for all kinds of applications. If I had to describe this book in one sentence I would say it is as if the author took down all the "Hmm..., I wonder how that is done?" questions and created an answer key.

One thing I like about this book is that the authors don't waste the first few chapters trying to teach or give an overview of the language. Instead they hop right into the usage of the language that relates to real world stuff.

So here is a brief overview. The book covers PHP 5 and goes over many of the new and improved features. The first six chapters provide recipes for more basic subjects (strings, numbers, dates & times, arrays, variables, and functions. Again, this isn't an intro to PHP, that is another book such as Programming PHP from O'Reilly. This is that book you reach for once you have moved from PHP basics and are ready to build some real world stuff.

By chapter seven the authors are discussing classes and objects. I like using classes when coding in C++, so this is a good chapter for those who like OOP. The next nine chapters go over web stuff starting out with basic things like cookies, forms, and databases. Then the authors go into more advanced areas like session management, XML, automation and web services (REST, SOAP, Mail, FTP, LDAP, and DNS to name a few).

The next chapter [17] is on the topic of graphics. This is a cool chapter if you like to create dynamic images. Things like creating a button image on the fly, or generating charts. Graphics are great to have a knowledge of because everyone likes graphical presentation of data and this chapter can help you get there.

Chapter 18 is on security and encryption which I found rather helpful. No one wants there web application to be the link that allows data to be compromised, and this chapter deals with many of those problem areas. Chapter 19 covers localization, chapter 20 is on debugging and testing. The debugging section does a great job of getting a person setup with the tools they need to properly debug an application including creating your own exception class. This is an outstanding chapter that every programmer can appreciate since every application needs debugging.

The remaining chapters cover performance tuning, regular expressions, files, directories, command line PHP, PERL and PECL. Being a Perl guy I found it interesting to see how the authors utilized regular expressions in PHP. And the chapter on command-line PHP was outstanding; I thought the recipe for creating a PHP command shell was pretty cool.

CONCLUSION

--

This book is like having the answer key to most of the random questions a person comes up with when writing code. I found this book to be very useful, it will be one of those references that I keep close, and gets very little shelf time. It is a solid book. It is hard to say what parts I liked best because this is one of those books that you like and must have, but then as time goes on and you use it more and more its value grows. This is an excellent book and I would strongly recommend it the PHP users that want to move to the next level.
5 人中、5人の方が、「このレビューが参考になった」と投票しています。
5つ星のうち 3.0 Hit AND Miss 2010/3/27
By Darkness' Ally - (Amazon.com)
形式:ペーパーバック
I've owned this book for about 2 years, my PhP coding experience being intermediate both before AND after reading it. It is by no means a lesson book, as implied by another person's review, but instead follows the term "cookbook" very well. A quick explanation of my review's title: "Hit AND Miss". It's mostly "hit" but there are a few aspects that left me feeling as though I was lacking in level of knowledge, something also expressed in another person's review, concerning the book's contents.

For one, for up to intermediate small issues it definitely hits the mark. The code snippets are (mostly) well-commented or explained in the surrounding paragraphs, as well as (from what I can tell) easy on server load. Some are (of course) more processor-intense than others, but that's the nature of any programming/scripting language: some stuff's simple and quick and other stuff is just downright tedious to type-out and (possibly) can become a thorn in the Server's side (forgive my pun).

The book's Problem-into-Solution format is very easy to follow, almost identical to a Q&A format. The table of contents in the book alone is far more extensive than I would ever expect from a book of this size, and it is definitely a wealth of knowledge, technique and guidelines up to a certain point.

If I had to pick one thing to complain about it would have to be some of the solutions themselves. My other complaints are nothing compared to this one. The following is based on my own personal preference and server settings/extensions, so if you have PEAR and like using it (most people do, it seems), then disregard the following.

A bunch of solutions are explained using PEAR. It's been so long since I've read up on PEAR that I've no clue of what it stands for or even if you have to install it a certain way. Be that as it may, I choose not to use frameworks of any kind most of the time. PEAR is at the top of my "do not use" list. I've seen what it can do, and I think it's great, but I want to get my hands dirty, and PEAR can really take that away. Back to it: the PEAR-based solutions more often than not come with no alternative solution. There is one I remember concerning pagination where it gives the pure-PEAR way and an alternative. However the alternative involves other PEAR extensions. The alternative is an alternative to only PEAR's "DB_Pager" class, and not a full alternative. One would need to know what the PEAR was doing (have PEAR) and alter the code to keep it PEAR-free if one were in my shoes. I've since been able to adapt it, it wasn't hard. But there are beginners out there who have poor skills at transposing (correct word?) code from classes or frameworks into something completely customized. When I started out it was the OREILLY PHP Cookbook and the OREILLY Learning PHP & MySQL books I started with, along with some guitar books for learning Christmas songs (I know, unrelated, same box though :P).

All-in-all the book is worth the price. The pros outweigh the cons almost 3 to 1. I still use this book to refresh my memory of techniques long since forgotten or fuzzy, even 2 years after I've purchased more advanced books that cover most of the same things in greater detail and moulded for greater scale. PHP as many know is very unforgiving when it comes to screw-ups, and the little things that you forget can make or break a script. I'll be keeping this book for years and years to come to dust off and refresh my memory. My website is still lacking, but heck, it's a personal website, and wouldn't be nearly as good (??? :P) as it is now without the "cookbook".
5 人中、5人の方が、「このレビューが参考になった」と投票しています。
5つ星のうち 4.0 Must have for all PHP developers. 2007/5/15
By Steven Lee Osborn - (Amazon.com)
形式:ペーパーバック
I find most technical books impossible to read from front to back. I typically just use them as reference books. Unfortuanately most techbooks aren't organized with this in mind. That's why I love the cookbook series. They tend to contain far more example code then typical programming books and are ideal reference books. The PHP Cookbook is an excellent resouce for PHP novices and experts alike. PHP Cookbook (2nd Edition) is exactly what you would expect from a O'Reilly's cookbook. Everyone reguardless of skill level will feel they hit the jackpot with this book because it has tons of sample code and examples that explain how to do just about anything imaginable in PHP.

The chapters are organized according to topic and each subsection is basicly a short how-to comprised of a problem, solution and disscussion section that explains the solution in detail. Topics include XML, form handling, database interaction, session management and a lot more. I find all O'Reilly's cookbooks to be extremely useful and PHP Cookbook is ceartainly the most useful PHP book I own.
12 人中、10人の方が、「このレビューが参考になった」と投票しています。
5つ星のうち 4.0 PEAR DB 2006/12/7
By A. D. Searle - (Amazon.com)
形式:ペーパーバック
This is basically an excellent book. A lot of very useful stuff. Unlike the online PHP manual, it is on this technology called a book. This comes in handy on say a NYC subway train, where you want to brush up on some PHP, or find the solution for something you are working on.

One major warning though: all the database stuff (about 20-30 percent of the book) depends on the PEAR DB class. That is a great thing to use as are many of the PEAR classes. But there is certainly great PHP code that doesn't rely on PEAR DB.

Besides the db stuff the book has great examples with strings, numbers, I/O (files and directories), dates, etc. And being that I used to be a Reptile Biologist - you got to love that Iguana. If nothing else, just buy it for the cover.
4 人中、4人の方が、「このレビューが参考になった」と投票しています。
5つ星のうち 5.0 Dog-eared, tattered & torn 2009/2/9
By d - (Amazon.com)
形式:ペーパーバック|Amazon.co.jpで購入済み
I bought about 25-30 PHP/MySQL books while learning & this was easily one of my top 5 most used. Programming PHP (Oreilly) and PHP 5 in Practice (Developer's Library) are also pretty solid. If you're ready for MySQL, replace the latter with PHP and MySQL Web Development (4th Edition, Developer's Library). I also found the Apress books fairly helpful. Definitely get the Cookbook, though. You'll reference it whenever you code.
これらのレビューは参考になりましたか?   ご意見はクチコミでお聞かせください。
カスタマーレビューの検索
この商品のカスタマーレビューだけを検索する

クチコミ

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

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

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


関連商品を探す


ARRAY(0xb30a0708)