Jump to content

PHP Programming

75% developed
From Wikibooks, open books for an open world
(Redirected from Programming:PHP)

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. Beginning with "Hello World!" 100% developed  as of 10 Feb 2006 (10 Feb 2006)
  2. Nuts and Bolts 75% developed  as of 14 Jan 2006 (14 Jan 2006)
  3. Commenting and Style 100% developed  as of 14 Jan 2006 (14 Jan 2006)
  4. Comparison operators 75% developed  as of 2016-04-06 (2016-04-06)
  5. Arrays 75% developed  as of 10 Feb 2006 (10 Feb 2006)
  6. Control structures
    1. The if Structure 75% developed  as of 19 Mar 2009 (19 Mar 2009)
    2. The switch Structure 75% developed  as of 14 Jan 2006 (14 Jan 2006)
    3. The while Loop 75% developed  as of 14 Jan 2006 (14 Jan 2006)
    4. The do while Loop 50% developed  as of 14 Jan 2006 (14 Jan 2006)
    5. The for Loop 50% developed  as of 14 Jan 2006 (14 Jan 2006)
    6. The foreach Loop 75% developed  as of 14 Jan 2006 (14 Jan 2006)
  7. Functions 75% developed  as of 10 Feb 2006 (10 Feb 2006)
  8. PHP Include Files
  9. Files 100% developed  as of 12 Feb 2008 (12 Feb 2008)
  10. Mailing 50% developed  as of 14 Jan 2006 (14 Jan 2006)
  11. Cookies 75% developed  as of 14 Jan 2006 (14 Jan 2006)
  12. Sessions 75% developed  as of 2008-05-07 (2008-05-07)
  13. Databases
    1. MySQL 75% developed  as of 14 Jan 2006 (14 Jan 2006)
    2. PostgreSQL 25% developed  as of 18 Apr 2009 (18 Apr 2009)
    3. PHP Data Objects 0% developed  as of 18 Dec 2006 (18 Dec 2006)
    4. Neo4j
    5. DBAL
  14. Integration Methods (HTML Forms, etc.) 75% developed  as of 14 Jan 2006 (14 Jan 2006)
  15. Regular expressions

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

Caching

  1. Caching

Templating

  1. Why Templating
  2. Templates
  3. Smarty templating system
  4. Flat Frog
  5. XML
  6. 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. Building a secure user login system
  4. Cross Site Scripting Attacks (XSS)
  5. Secure HTTP headers
  6. Encryption

See also:

Command-Line Interface (CLI)

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

Appendices