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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
yoya
November 10, 2015
Programming
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PHPSagami2
PHP勉強会@相模原#2 のオープニング
yoya
November 10, 2015
More Decks by yoya
See All by yoya
resize_nitpick
yoya
1
180
ImageFluxBinary
yoya
2
3k
HEIF-kaisetsu
yoya
4
3.6k
go-thumber-imagick
yoya
1
210
chokaizomae
yoya
2
610
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
AI駆動開発を妨げる技術的負債の解消アプローチ / ai-refactoring-approach
minodriven
12
5.8k
その問い、本当に正しいですか?AI時代のエンジニアに必要な哲学と認知科学 / ai-philosophy-cognitive-science
minodriven
13
6.2k
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
920
Datadog × OpenTelemetry 入門と実践のあいだ
kn_to_maxpno
1
170
Mujeres en SEO Summit 2026 - Greatest Disaster Hits en Web Performance
guaca
0
200
Observability in Practice:Grafana 與 Edge Device SRE 的那些事
blueswen
0
170
Inside Stream API
skrb
1
770
ローカルLLMでどこまでコードが書けるか -拡張版 / How much code can be written on a local LLM Extended
kishida
12
4.4k
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
290
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
230
OSもどきOS
arkw
0
590
AI時代のUIはどこへ行く?その2!
yusukebe
22
7.5k
Featured
See All Featured
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
330
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
1.8k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.4k
Typedesign – Prime Four
hannesfritz
42
3.1k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
For a Future-Friendly Web
brad_frost
183
10k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
860
Test your architecture with Archunit
thirion
1
2.3k
Designing for humans not robots
tammielis
254
26k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
First, design no harm
axbom
PRO
2
1.2k
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何も知らない ので勉強しに来たとか。 – 僕はよく後者を使う • とりあえず主催者から紹介
• よろしくお願いします。