Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PHPSagami2
Search
yoya
November 10, 2015
Programming
0
97
PHPSagami2
PHP勉強会@相模原#2 のオープニング
yoya
November 10, 2015
Tweet
Share
More Decks by yoya
See All by yoya
resize_nitpick
yoya
1
160
ImageFluxBinary
yoya
2
2.8k
HEIF-kaisetsu
yoya
4
3.5k
go-thumber-imagick
yoya
1
180
chokaizomae
yoya
2
580
wildimagebinary
yoya
1
220
goimagicksyokai
yoya
2
1.1k
GoImagickThumbnail
yoya
0
1.6k
sushigazou
yoya
0
12k
Other Decks in Programming
See All in Programming
Herb to ReActionView: A New Foundation for the View Layer @ San Francisco Ruby Conference 2025
marcoroth
0
130
DartASTとその活用
sotaatos
2
140
無秩序からの脱却 / Emergence from chaos
nrslib
1
2.6k
Rails Girls Sapporo 2ndの裏側―準備の日々から見えた、私が得たもの / SAPPORO ENGINEER BASE #11
lemonade_37
2
180
What’s Fair is FAIR: A Decentralised Future for WordPress Distribution
rmccue
0
190
Vueで学ぶデータ構造入門 リンクリストとキューでリアクティビティを捉える / Vue Data Structures: Linked Lists and Queues for Reactivity
konkarin
1
310
Promise.tryで実現する新しいエラーハンドリング New error handling with Promise try
bicstone
3
480
Web エンジニアが JavaScript で AI Agent を作る / JSConf JP 2025 sponsor session
izumin5210
4
1.8k
スタートアップを支える技術戦略と組織づくり
pospome
6
4k
r2-image-worker
yusukebe
1
170
flutter_kaigi_2025.pdf
kyoheig3
1
340
なぜ強調表示できず ** が表示されるのか — Perlで始まったMarkdownの歴史と日本語文書における課題
kwahiro
12
6.5k
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.3k
Designing for humans not robots
tammielis
254
26k
Embracing the Ebb and Flow
colly
88
4.9k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Typedesign – Prime Four
hannesfritz
42
2.9k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
Git: the NoSQL Database
bkeepers
PRO
432
66k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
192
56k
Building a Scalable Design System with Sketch
lauravandoore
463
33k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
2.9k
Music & Morning Musume
bryan
46
7k
Transcript
PHP 勉強会@相模原#2 2015年11月10日(火) “よや”
[email protected]
会場について • 相模大野駅の横、ボーノのサウスモール3階 • 途中入場 途中退室
いつでも OKです。
PHP勉強会@相模原とは • PHP の知見を話し合う場を相模原に作りたい • 第一回 2004年1月22日(水) – h:ps://atnd.org/events/46944
(18名) • PHP勉強会@東京の真似ごとです – h:ps://phpstudy.doorkeeper.jp/
元祖(?) PHP 勉強会 • 元祖PHP勉強会 – PHP勉強会@東京 • ほぼ毎月開催、最近は渋谷のGMO会場
• h:ps://phpstudy.doorkeeper.jp/ • h:ps://www.facebook.com/pstudy.tokyo • 第一回は 2005年6月15日 – ちなみに PHP5 が2004年公開 – 当時はまだ PHP4 が主流(PHP3 使ってるとこも)
独断と偏見で選ぶ PHP勉強会でよく見るトピック • PHPバージョン • PHP標準機能 •
PHPプロファイラ • PHPフレームワーク (これが一番多い印象) • PHPパッケージング • PHP開発環境
PHP バージョン • レガシー (もう話にも出ないかも。。) – PHP5.2, 5.3, HipHop
• 現行 – PHP5.4 • 先進的 – PHP5.5, 5.6, HHVM • 次世代 – PHP7 (PHPNG)
PHP 標準機能 • Array (配列) – 順序付き連想配列 • String
(文字列操作) – PCRE (正規表現) – MB (マルチバイト文字、主に日本語) • Date (日付処理) • Cookie (クッキー処理) • GD (グラフィック)
PHP プロファイラ • Xdebug (昔からある) • XHprof •
Uprofiler (PHP5.5 ではコレが良いらしい) • 視覚化ツール重要 – Webgrind, Kcachegrind => Xdebug – XHGui > XHprof, Uprofiler
PHP フレームワーク • CakePHP • Laravel |
Lumen • CodeIgniter | FuelPHP • ZendFramework • Slim • BEAR.Sunday • Ethna (昔お世話になったので一応リスト)
PHPパッケージング • PEAR (昔はこれ) – /usr/share/pear 等の共通フォルダに展開 => 共通なので同じホスト上の色んなツールに影響
– 普通に使いたいファイルを require_once する • Composer (今時はこれ) – 依存するファイルをカレントの vendor に展開 ⇒ 共通でないのでツール事にアップデート ⇒ require_once ‘vendor/autoload.php’ 決め打ち
PHP 開発環境 • エディタ: PHPStorm, IntelliJ, Eclipse • レポジトリ:
Github, BitBucket, Gitlab • 継続的インテグレーション(CI): Jenkins • VM環境構築: Vagrant(VirtualBox) • プロビジョニング: Ansible, Chef
なぜ発表するのか • これらトピックに出てくるツールは – 実際に使うとハマりどころがあったり – バージョンによって問題があったり – そもそも使い方が分かりにくかったり
– 新しいツールが出てきたら使ってみたい • 実際に試して気づいた知見の共有は助かる
自己紹介タイム • PHP の何に興味あるとか、PHP何も知らない ので勉強しに来たとか。 – 僕はよく後者を使う • とりあえず主催者から紹介
• よろしくお願いします。