跳轉到內容

PHP 程式設計

75% developed
來自華夏公益教科書
(從 Programming:PHP 重定向)

介紹

設定和安裝

注意:在貢獻之前,請檢視 討論 頁面。 如何編寫你的示例

學習語言

基礎知識

本節介紹任何型別的 PHP 開發都重要的內容。對任何級別的 PHP 程式設計師都有用。
  1. 從 "Hello World!" 開始 100% developed  as of 10 Feb 2006 (2006 年 2 月 10 日)
  2. 基礎知識 75% developed  as of 14 Jan 2006 (2006 年 1 月 14 日)
  3. 註釋和樣式 100% developed  as of 14 Jan 2006 (2006 年 1 月 14 日)
  4. 比較運算子 75% developed  as of 2016-04-06 (2016-04-06)
  5. 陣列 75% developed  as of 10 Feb 2006 (2006 年 2 月 10 日)
  6. 控制結構
    1. if 結構 75% developed  as of 19 Mar 2009 (2009 年 3 月 19 日)
    2. switch 結構 75% developed  as of 14 Jan 2006 (2006 年 1 月 14 日)
    3. while 迴圈 75% developed  as of 14 Jan 2006 (2006 年 1 月 14 日)
    4. do while 迴圈 50% developed  as of 14 Jan 2006 (2006 年 1 月 14 日)
    5. for 迴圈 50% developed  as of 14 Jan 2006 (2006 年 1 月 14 日)
    6. foreach 迴圈 75% developed  as of 14 Jan 2006 (2006 年 1 月 14 日)
  7. 函式 75% developed  as of 10 Feb 2006 (2006 年 2 月 10 日)
  8. PHP 包含檔案
  9. 檔案 100% developed  as of 12 Feb 2008 (2008 年 2 月 12 日)
  10. 郵件傳送 50% developed  as of 14 Jan 2006 (2006 年 1 月 14 日)
  11. Cookie 75% developed  as of 14 Jan 2006 (2006 年 1 月 14 日)
  12. 會話 75% developed  as of 2008-05-07 (2008-05-07)
  13. 資料庫
    1. MySQL 75% developed  as of 14 Jan 2006 (2006 年 1 月 14 日)
    2. PostgreSQL 25% developed  as of 18 Apr 2009 (2009 年 4 月 18 日)
    3. PHP 資料物件 0% developed  as of 18 Dec 2006 (2006 年 12 月 18 日)
    4. Neo4j
    5. DBAL
  14. 整合方法(HTML 表單等) 75% developed  as of 14 Jan 2006 (2006 年 1 月 14 日)
  15. 正則表示式

高階 PHP

高階 PHP 包括旨在使 PHP 更加有用和強大的高階程式設計和 PHP 技術。

資料結構

  1. 資料結構

面向物件程式設計 (OOP)

  1. 特殊方法
  2. 重寫和過載
  3. 繼承
  4. SSH 類

快取

  1. 快取

模板

  1. 為什麼使用模板
  2. 模板
  3. Smarty 模板系統
  4. Flat Frog
  5. XML
  6. XSL

  1. PHP PEAR
  2. PHP 手冊函式參考
  3. PHP 5 函式

框架

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

安全

  1. 配置:註冊全域性變數
  2. SQL 注入攻擊
  3. 構建安全的使用者登入系統
  4. 跨站點指令碼攻擊 (XSS)
  5. 安全 HTTP 頭部
  6. 加密

參見

命令列介面 (CLI)

  1. PHP CLI
  2. PHP-GTK
  3. 守護程序

附錄

華夏公益教科書