「PHP Programming」の版間の差分
M編集の要約なし |
M編集の要約なし |
||
75 行 | 75 行 | ||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|- |
||
| [http://www.cakephp.org/ CakePHP] || [http://codeigniter.com/ CodeIgniter] || [http://www.drupal.org/ Drupal] |
| align="center" | [http://www.cakephp.org/ CakePHP] || align="center" | [http://codeigniter.com/ CodeIgniter] || align="center" | [http://www.drupal.org/ Drupal] || align="center" | [http://kohanaframework.org/ Kohana] |
||
|- |
|- |
||
| [http:// |
| align="center" | [http://www.laravel.com/ Laravel] || align="center" | [http://nette.org/ Nette] || align="center" | [http://www.qcodo.com/ Qcodo] || align="center" | [http://www.silverstripe.com/ Silverstripe] |
||
|- |
|- |
||
| [http://www. |
| align="center" | [http://www.solarphp.com/ Solar] || align="center" | [http://www.symfony-project.org/ Symfony] || align="center" | [http://www.yiiframework.com/ Yii] || align="center" | [http://framework.zend.com/ Zend] |
||
|- |
|||
| [http://www.symfony-project.org/ Symfony] || [http://www.yiiframework.com/ Yii] || [http://framework.zend.com/ Zend] |
|||
|} |
|} |
||
2015年1月23日 (金) 13:54時点における版
PHP is a scripting language designed to fill the gap between SSI (Server Side Includes) and Perl, intended for the Web environment. Its principal application is the implementation of Web pages having dynamic content. PHP has gained quite a following in recent times, and it is one of the frontrunners in the Open Source software movement. Its popularity derives from its C-like syntax, and its simplicity. The newest version of PHP is 5.5 and it is heavily recommended to always use the newest version for better security, performance and of course features.
If you've ever been to a website that prompts you to login, you've probably encountered a server-side scripting language. Due to its market saturation, this means you've probably come across PHP. PHP was designed by Rasmus Lerdorf to display his resume online and to collect data from his visitors.
Basically, PHP allows a static webpage to become dynamic. "PHP" is an acronym that stands for "PHP: Hypertext Preprocessor". The word "Preprocessor" means that PHP makes changes before the HTML page is created. This enables developers to create powerful applications that can publish a blog, remotely control hardware, or run a powerful website such as Wikipedia or Wikibooks. Of course, to accomplish something such as this, you need a database application such as MySQL.
Before you embark on the wonderful journey of Server Side Processing, it is recommended that you have a basic understanding of the HyperText Markup Language (HTML). But PHP can also be used to build GUI-driven applications for example by using PHP-GTK.
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.
- Start a PHP Beginner Tutorial テンプレート:Stage
- Beginning with "Hello World!" テンプレート:Stage
- Nuts and Bolts テンプレート:Stage
- Commenting and Style テンプレート:Stage
- Arrays テンプレート:Stage
- Control structures
- Functions テンプレート:Stage
- Files テンプレート:Stage
- Mailing テンプレート:Stage
- Cookies テンプレート:Stage
- Sessions テンプレート:Stage
- Databases
- 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
Object Oriented Programming (OOP)
Templating
- Why Templating
- Templates
- Caching
- SMARTY templating system
- PRADO Component Framework
- Flat Frog templating system テンプレート:Stage
- XSL
Libraries
Frameworks
CakePHP | CodeIgniter | Drupal | Kohana |
Laravel | Nette | Qcodo | Silverstripe |
Solar | Symfony | Yii | Zend |
Security
- Configuration: Register Globals
- SQL Injection Attacks
- Cross Site Scripting Attacks
- Building a secure user login system
See also the section on avoiding session fixation in the Sessions chapter.