More Related Content Similar to Php初心者セッション2014ppt (20) More from Hideo Kashioka (7) Php初心者セッション2014ppt3. PHPとは
PHP is a popular general-purpose scripting language
that is especially suited to web development. Fast,
flexible and pragmatic, PHP powers everything from
your blog to the most popular websites in the world.
http://php.net/より
9. <html>
<?php
echo “hello”;
?>
</html>
<html>
hello
</html>
Hello
PHPがそのまま表示
されるわけではない
15. 開発環境
LV1 XAMP, MAMP, レンタル・VPSサー
バ
LV2 EC2, Microsoft Azure, engineyard
LV3 VirtualBOX, vagrant, docker
16. 好きなエディタを使う
古典
日本
トレンド
Eclipse
Vim
Emacs
PHPStorm
Netbeans
Notepad++
Komodo Edit
jEdit
Atom
Sublime Text
秀丸
TextMate
http://en.wikipedia.org/wiki/List_of_PHP_editors
32. array(‘キー名’ => ‘値);
array(0 => array(‘name’ => ‘柏岡’, ‘sex’ => ‘男’));
array[0] = array(‘name’ => ‘柏岡’, ‘sex’ => ‘男’);
34. Array
(
[0] => Array
(
[name] => 柏岡
[sex] => 男
)
[1] => Array
(
[name] => 池田
[sex] => 女
)
[2] => Array
(
[name] => 佐藤
[sex] => 男
)
Editor's Notes ホスト名ベース WEBサーバはコンテンツを返します。静的なHTMLでも必要です。
IISでも動きます。 GoogleのBigTable、アマゾンのAmazon DynamoDBなどがある。オープンソースの実装も数多く存在し、例えばMongoDB、 Redis、Apache HBase、Apache Cassandraなどがある。 1.キーバインド
2.プラグイン機能
3.デバッグや、コード管理 マニュアルの見方
http://php.net 3つのルール
閉じなければいけないときと閉じなくてもいい時 今度は2つのルール 但し、なるべくつけるようにしましょう。 POSTはフォームで
GETはURLから取得 echo.php
include
for
foreach Wordpress,EC-cubeのカスタマイズ 自分で書いてみよう 他人のコードを読む 実際やって、マニュアルみて、書いて、デバッグして
以上のエフェクトは後で