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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
yoya
November 10, 2015
Programming
100
0
Share
PHPSagami2
PHP勉強会@相模原#2 のオープニング
yoya
November 10, 2015
More Decks by yoya
See All by yoya
resize_nitpick
yoya
1
170
ImageFluxBinary
yoya
2
2.9k
HEIF-kaisetsu
yoya
4
3.5k
go-thumber-imagick
yoya
1
200
chokaizomae
yoya
2
600
wildimagebinary
yoya
1
230
goimagicksyokai
yoya
2
1.2k
GoImagickThumbnail
yoya
0
1.7k
sushigazou
yoya
0
12k
Other Decks in Programming
See All in Programming
【26新卒研修資料】TDD実装演習
dip_tech
PRO
0
130
YJITとZJITにはイカなる違いがあるのか?
nakiym
0
260
Explore CoroutineScope
tomoeng11
0
120
[RubyKaigi 2026] Require Hooks
palkan
1
250
GoogleCloudとterraform完全に理解した
terisuke
1
160
ふりがな Deep Dive try! Swift Tokyo 2026
watura
0
250
AIを導入する前にやるべきこと
negima
2
300
JAWS-UG横浜 #100 祝・第100回スペシャルAWS は VPC レスの時代へ
maroon1st
0
190
WebAssembly を読み込むベストプラクティス 2026年春版 / Best Practices for Loading WebAssembly (Spring 2026)
petamoriken
4
860
ハーネスエンジニアリングとは?
kinopeee
13
6.4k
t *testing.T は どこからやってくるの?
otakakot
1
820
運転動画を検索可能にする〜Cosmos-Embed1とDatabricks Vector Searchで〜/cosmos-embed1-databricks-vector-search
studio_graph
1
520
Featured
See All Featured
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
Agile that works and the tools we love
rasmusluckow
331
21k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
520
The Spectacular Lies of Maps
axbom
PRO
1
720
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
530
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
170
Odyssey Design
rkendrick25
PRO
2
580
Statistics for Hackers
jakevdp
799
230k
How to Ace a Technical Interview
jacobian
281
24k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
230
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
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何も知らない ので勉強しに来たとか。 – 僕はよく後者を使う • とりあえず主催者から紹介
• よろしくお願いします。