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
95
PHPSagami2
PHP勉強会@相模原#2 のオープニング
yoya
November 10, 2015
Tweet
Share
More Decks by yoya
See All by yoya
resize_nitpick
yoya
1
150
ImageFluxBinary
yoya
2
2.8k
HEIF-kaisetsu
yoya
4
3.3k
go-thumber-imagick
yoya
1
180
chokaizomae
yoya
2
570
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
複雑なフォームに立ち向かう Next.js の技術選定
macchiitaka
2
130
ファインディ株式会社におけるMCP活用とサービス開発
starfish719
0
1.5k
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
510
2025 年のコーディングエージェントの現在地とエンジニアの仕事の変化について
azukiazusa1
24
12k
さようなら Date。 ようこそTemporal! 3年間先行利用して得られた知見の共有
8beeeaaat
3
1.4k
Flutter with Dart MCP: All You Need - 박제창 2025 I/O Extended Busan
itsmedreamwalker
0
150
Swift Updates - Learn Languages 2025
koher
2
480
MCPでVibe Working。そして、結局はContext Eng(略)/ Working with Vibe on MCP And Context Eng
rkaga
5
2.3k
「手軽で便利」に潜む罠。 Popover API を WCAG 2.2の視点で安全に使うには
taitotnk
0
860
Performance for Conversion! 分散トレーシングでボトルネックを 特定せよ
inetand
0
860
モバイルアプリからWebへの横展開を加速した話_Claude_Code_実践術.pdf
kazuyasakamoto
0
330
Processing Gem ベースの、2D レトロゲームエンジンの開発
tokujiros
2
130
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
42
2.8k
GitHub's CSS Performance
jonrohan
1032
460k
Automating Front-end Workflow
addyosmani
1370
200k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
Building an army of robots
kneath
306
46k
Making the Leap to Tech Lead
cromwellryan
135
9.5k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Become a Pro
speakerdeck
PRO
29
5.5k
How STYLIGHT went responsive
nonsquared
100
5.8k
Music & Morning Musume
bryan
46
6.8k
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何も知らない ので勉強しに来たとか。 – 僕はよく後者を使う • とりあえず主催者から紹介
• よろしくお願いします。