「PHP Programming」の版間の差分

出典: フリー教科書『ウィキブックス(Wikibooks)』
削除された内容 追加された内容
ROOTBOOKNAME
BOOKNAME (new-style)
8 行 8 行


== Setup and Installation ==
== Setup and Installation ==
* [[{{ROOTBOOKNAME}}/Setup_and_Installation|Setup and Installation]]
* [[{{BOOKNAME}}/Setup_and_Installation|Setup and Installation]]
** [[{{ROOTBOOKNAME}}/Setup_and_Installation#Windows|Installation on Windows]]
** [[{{BOOKNAME}}/Setup_and_Installation#Windows|Installation on Windows]]
*** '''[[{{ROOTBOOKNAME}}/Setup_and_Installation#Easy_Windows_Setup_Instructions|Easy Windows Setup Instructions]]'''
*** '''[[{{BOOKNAME}}/Setup_and_Installation#Easy_Windows_Setup_Instructions|Easy Windows Setup Instructions]]'''
** [[{{ROOTBOOKNAME}}/Setup_and_Installation#Linux|Installation on Linux]]
** [[{{BOOKNAME}}/Setup_and_Installation#Linux|Installation on Linux]]
** [[{{ROOTBOOKNAME}}/Setup_and_Installation#Mac_OS_X|Installation on Mac OS X]]
** [[{{BOOKNAME}}/Setup_and_Installation#Mac_OS_X|Installation on Mac OS X]]
* [[{{ROOTBOOKNAME}}/Uses_of_PHP|Uses of PHP]]
* [[{{BOOKNAME}}/Uses_of_PHP|Uses of PHP]]


Note: Before contributing, check out the [[{{TALKPAGENAME}}|discussion]] page. [[{{TALKPAGENAME}}#The_newline_.22operator.22|How to write your examples]].
Note: Before contributing, check out the [[{{TALKPAGENAME}}|discussion]] page. [[{{TALKPAGENAME}}#The_newline_.22operator.22|How to write your examples]].
21 行 21 行
:This section is about things that are important for any type of PHP development. Useful for a PHP programmer of any level.
:This section is about things that are important for any type of PHP development. Useful for a PHP programmer of any level.


# [[{{ROOTBOOKNAME}}/Start_a_PHP_Beginner_Tutorial|Start a PHP Beginner Tutorial]] {{stage|100%|10 Feb 2006}}
# [[{{BOOKNAME}}/Start_a_PHP_Beginner_Tutorial|Start a PHP Beginner Tutorial]] {{stage|100%|10 Feb 2006}}
# [[{{ROOTBOOKNAME}}/Beginning_with "Hello World!"|Beginning with "Hello World!"]] {{stage|100%|10 Feb 2006}}
# [[{{BOOKNAME}}/Beginning_with "Hello World!"|Beginning with "Hello World!"]] {{stage|100%|10 Feb 2006}}
# [[{{ROOTBOOKNAME}}/Nuts_and_Bolts|Nuts and Bolts]] {{stage|75%|14 Jan 2006}}
# [[{{BOOKNAME}}/Nuts_and_Bolts|Nuts and Bolts]] {{stage|75%|14 Jan 2006}}
# [[{{ROOTBOOKNAME}}/Commenting and Style|Commenting and Style]] {{stage|100%|14 Jan 2006}}
# [[{{BOOKNAME}}/Commenting and Style|Commenting and Style]] {{stage|100%|14 Jan 2006}}
# [[{{ROOTBOOKNAME}}/Comparison|Comparison operators]] {{stage|75%|2016-04-06}}
# [[{{BOOKNAME}}/Comparison|Comparison operators]] {{stage|75%|2016-04-06}}
# [[{{ROOTBOOKNAME}}/Arrays|Arrays]] {{stage|75%|10 Feb 2006}}
# [[{{BOOKNAME}}/Arrays|Arrays]] {{stage|75%|10 Feb 2006}}
#Control structures
#Control structures
## [[{{ROOTBOOKNAME}}/The_if_Structure|The if Structure]] {{stage|75%|19 Mar 2009}}
## [[{{BOOKNAME}}/The_if_Structure|The if Structure]] {{stage|75%|19 Mar 2009}}
## [[{{ROOTBOOKNAME}}/The_switch_Structure|The switch Structure]] {{stage|75%|14 Jan 2006}}
## [[{{BOOKNAME}}/The_switch_Structure|The switch Structure]] {{stage|75%|14 Jan 2006}}
## [[{{ROOTBOOKNAME}}/The_while_Loop|The while Loop]] {{stage|75%|14 Jan 2006}}
## [[{{BOOKNAME}}/The_while_Loop|The while Loop]] {{stage|75%|14 Jan 2006}}
## [[{{ROOTBOOKNAME}}/The_do_while_Loop|The do while Loop]] {{stage|50%|14 Jan 2006}}
## [[{{BOOKNAME}}/The_do_while_Loop|The do while Loop]] {{stage|50%|14 Jan 2006}}
## [[{{ROOTBOOKNAME}}/The_for_Loop|The for Loop]] {{stage|50%|14 Jan 2006}}
## [[{{BOOKNAME}}/The_for_Loop|The for Loop]] {{stage|50%|14 Jan 2006}}
## [[{{ROOTBOOKNAME}}/The_foreach_Loop|The foreach Loop]] {{stage|75%|14 Jan 2006}}
## [[{{BOOKNAME}}/The_foreach_Loop|The foreach Loop]] {{stage|75%|14 Jan 2006}}
# [[{{ROOTBOOKNAME}}/Functions|Functions]] {{stage|75%|10 Feb 2006}}
# [[{{BOOKNAME}}/Functions|Functions]] {{stage|75%|10 Feb 2006}}
# [[{{ROOTBOOKNAME}}/Files|Files]] {{stage|100%|12 Feb 2008}}
# [[{{BOOKNAME}}/Files|Files]] {{stage|100%|12 Feb 2008}}
#* [[{{ROOTBOOKNAME}}/Images|Images]]
#* [[{{BOOKNAME}}/Images|Images]]
# [[{{ROOTBOOKNAME}}/Mailing|Mailing]] {{stage|50%|14 Jan 2006}}
# [[{{BOOKNAME}}/Mailing|Mailing]] {{stage|50%|14 Jan 2006}}
# [[{{ROOTBOOKNAME}}/Cookies|Cookies]] {{stage|75%|14 Jan 2006}}
# [[{{BOOKNAME}}/Cookies|Cookies]] {{stage|75%|14 Jan 2006}}
# [[{{ROOTBOOKNAME}}/Sessions|Sessions]] {{stage|75%|2008-05-07}}
# [[{{BOOKNAME}}/Sessions|Sessions]] {{stage|75%|2008-05-07}}
#Databases
#Databases
## [[{{ROOTBOOKNAME}}/MySQL|MySQL]] {{stage|75%|14 Jan 2006}}
## [[{{BOOKNAME}}/MySQL|MySQL]] {{stage|75%|14 Jan 2006}}
##* [[/php and mySQL/]]
##* [[/php and mySQL/]]
## [[{{ROOTBOOKNAME}}/PostgreSQL|PostgreSQL]] {{stage|25%|18 Apr 2009}}
## [[{{BOOKNAME}}/PostgreSQL|PostgreSQL]] {{stage|25%|18 Apr 2009}}
## [[{{ROOTBOOKNAME}}/PHP_Data_Objects|PHP Data Objects]] {{stage|00%|18 Dec 2006}}
## [[{{BOOKNAME}}/PHP_Data_Objects|PHP Data Objects]] {{stage|00%|18 Dec 2006}}
## [[{{ROOTBOOKNAME}}/Neo4j|Neo4j]]
## [[{{BOOKNAME}}/Neo4j|Neo4j]]
# [[{{ROOTBOOKNAME}}/Integration_Methods_(HTML_Forms,_etc.)|Integration Methods (HTML Forms, etc.)]] {{stage|75%|14 Jan 2006}}
# [[{{BOOKNAME}}/Integration_Methods_(HTML_Forms,_etc.)|Integration Methods (HTML Forms, etc.)]] {{stage|75%|14 Jan 2006}}


=== Advanced PHP ===
=== Advanced PHP ===
52 行 52 行


====Data Structures====
====Data Structures====
# [[{{ROOTBOOKNAME}}/Data_Structures|Data Structures]]
# [[{{BOOKNAME}}/Data_Structures|Data Structures]]


====Object Oriented Programming (OOP)====
====Object Oriented Programming (OOP)====
# [[{{ROOTBOOKNAME}}/Classes|Classes]]
# [[{{BOOKNAME}}/Classes|Classes]]
# [[{{ROOTBOOKNAME}}/Special_Methods|Special Methods]]
# [[{{BOOKNAME}}/Special_Methods|Special Methods]]
# [[{{ROOTBOOKNAME}}/Overriding_and_Overloading|Overriding and Overloading]]
# [[{{BOOKNAME}}/Overriding_and_Overloading|Overriding and Overloading]]
# [[/Inheritance/]]
# [[/Inheritance/]]
# [[/SSH Class/]]
# [[/SSH Class/]]


==== Templating ====
==== Templating ====
# [[{{ROOTBOOKNAME}}/Why_Templating|Why Templating]]
# [[{{BOOKNAME}}/Why_Templating|Why Templating]]
# [[{{ROOTBOOKNAME}}/Templates|Templates]]
# [[{{BOOKNAME}}/Templates|Templates]]
# [[{{ROOTBOOKNAME}}/Caching|Caching]]
# [[{{BOOKNAME}}/Caching|Caching]]
# [[{{ROOTBOOKNAME}}/SMARTY_templating_system|SMARTY templating system]]
# [[{{BOOKNAME}}/SMARTY_templating_system|SMARTY templating system]]
#* [[/smarty/functions/]]
#* [[/smarty/functions/]]
#* [[/smarty/tutorials/]]
#* [[/smarty/tutorials/]]
#* [[/smarty/tutorials/simple/]]
#* [[/smarty/tutorials/simple/]]
# [[{{ROOTBOOKNAME}}/PRADO_Component_Framework|PRADO Component Framework]]
# [[{{BOOKNAME}}/PRADO_Component_Framework|PRADO Component Framework]]
# [[/Flat Frog/]]
# [[/Flat Frog/]]
# [[/XML/]]
# [[/XML/]]
# [[{{ROOTBOOKNAME}}/XSL|XSL]]
# [[{{BOOKNAME}}/XSL|XSL]]
#* [[/XSL/registerPHPFunctions/]]
#* [[/XSL/registerPHPFunctions/]]


==== Libraries ====
==== Libraries ====
# [[{{ROOTBOOKNAME}}/PHP_PEAR|PHP PEAR]]
# [[{{BOOKNAME}}/PHP_PEAR|PHP PEAR]]
# [http://php.net/manual/en/funcref.php PHP Manual Function Reference]
# [http://php.net/manual/en/funcref.php PHP Manual Function Reference]
# [http://www.w3schools.com/php/ PHP 5 Functions]
# [http://www.w3schools.com/php/ PHP 5 Functions]
91 行 91 行


==== Security ====
==== Security ====
# [[{{ROOTBOOKNAME}}/Configuration:_Register_Globals|Configuration: Register Globals]]
# [[{{BOOKNAME}}/Configuration:_Register_Globals|Configuration: Register Globals]]
# [[{{ROOTBOOKNAME}}/SQL Injection| SQL Injection Attacks]]
# [[{{BOOKNAME}}/SQL Injection| SQL Injection Attacks]]
# [[{{ROOTBOOKNAME}}/Cross Site Scripting| Cross Site Scripting Attacks]]
# [[{{BOOKNAME}}/Cross Site Scripting| Cross Site Scripting Attacks]]
# [[{{ROOTBOOKNAME}}/User login systems|Building a secure user login system]]
# [[{{BOOKNAME}}/User login systems|Building a secure user login system]]


''See also the [[{{ROOTBOOKNAME}}/Sessions#Avoiding Session Fixation|section on avoiding session fixation]] in the [[{{ROOTBOOKNAME}}/Sessions|Sessions chapter]].''
''See also the [[{{BOOKNAME}}/Sessions#Avoiding Session Fixation|section on avoiding session fixation]] in the [[{{BOOKNAME}}/Sessions|Sessions chapter]].''


==== Command-Line Interface (CLI) ====
==== Command-Line Interface (CLI) ====

2018年1月24日 (水) 15:51時点における版

テンプレート:Book search テンプレート:Print version テンプレート:PDF version

Introduction

Setup and Installation

Note: Before contributing, check out the discussion page. How to write your examples.

Learning the Language

The Basics

This section is about things that are important for any type of PHP development. Useful for a PHP programmer of any level.
  1. Start a PHP Beginner Tutorial テンプレート:Stage
  2. Beginning with "Hello World!" テンプレート:Stage
  3. Nuts and Bolts テンプレート:Stage
  4. Commenting and Style テンプレート:Stage
  5. Comparison operators テンプレート:Stage
  6. Arrays テンプレート:Stage
  7. Control structures
    1. The if Structure テンプレート:Stage
    2. The switch Structure テンプレート:Stage
    3. The while Loop テンプレート:Stage
    4. The do while Loop テンプレート:Stage
    5. The for Loop テンプレート:Stage
    6. The foreach Loop テンプレート:Stage
  8. Functions テンプレート:Stage
  9. Files テンプレート:Stage
  10. Mailing テンプレート:Stage
  11. Cookies テンプレート:Stage
  12. Sessions テンプレート:Stage
  13. Databases
    1. MySQL テンプレート:Stage
    2. PostgreSQL テンプレート:Stage
    3. PHP Data Objects テンプレート:Stage
    4. Neo4j
  14. Integration Methods (HTML Forms, etc.) テンプレート:Stage

Advanced PHP

Advanced PHP includes high level programming and PHP techniques designed to make PHP even more useful and powerful.

Data Structures

  1. Data Structures

Object Oriented Programming (OOP)

  1. Classes
  2. Special Methods
  3. Overriding and Overloading
  4. Inheritance
  5. SSH Class

Templating

  1. Why Templating
  2. Templates
  3. Caching
  4. SMARTY templating system
  5. PRADO Component Framework
  6. Flat Frog
  7. XML
  8. XSL

Libraries

  1. PHP PEAR
  2. PHP Manual Function Reference
  3. PHP 5 Functions

Frameworks

CakePHP CodeIgniter Drupal Kohana
Laravel Nette Qcodo Silverstripe
Solar Symfony Yii Zend

Security

  1. Configuration: Register Globals
  2. SQL Injection Attacks
  3. Cross Site Scripting Attacks
  4. Building a secure user login system

See also the section on avoiding session fixation in the Sessions chapter.

Command-Line Interface (CLI)

  1. PHP CLI
  2. PHP-GTK
  3. Daemonization

Appendices

テンプレート:Alphabetical テンプレート:Status