Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
A newbie PHPer wants to get to know PHP well.
Search
Dassimen
July 31, 2019
Technology
470
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
A newbie PHPer wants to get to know PHP well.
Dassimen
July 31, 2019
More Decks by Dassimen
See All by Dassimen
Write code with "Test First"
anchorcable
0
76
Trying AWS Aurora Serverless.
anchorcable
0
250
Dialogue for Design
anchorcable
1
350
How to manage a good work environment
anchorcable
0
150
TDD is not slowly.
anchorcable
1
670
3日坊主でも勉強したい
anchorcable
5
6.1k
Design It! is good for architect.
anchorcable
0
170
今だからこそ分かる報連相 / How to do Hou/Ren/Sou!
anchorcable
0
820
TDD supports us all the time.
anchorcable
0
410
Other Decks in Technology
See All in Technology
AIで選択肢が広がった組織設計の理想と現実
konifar
16
7.7k
bpf_arenaとstruct_opsを使うのが難しかった話
masu_mi
1
120
新米を「売り越さない」、Aurora DSQLで作る在庫ゼロ死守の限定ドロップEC
yama3133
0
170
You Have Agency(サンキュー、Ruby)
snoozer05
PRO
5
680
AWS構成から考えるWebセキュリティ ― WordPressの構築経験から考える公開範囲と更新運用【JAWS FESTA 2026 in AKITA】
cscengineer
PRO
1
170
The future of architectural work
ufried
0
160
AWSを利用する上で知っておきたい名前解決の話 2026
nagisa53
3
1.1k
レガシーコードに対する loop engineering的なAI開発プロセス導入について
kubell_hr
0
220
Content Mapper APIの応用例~CSS Modules、言語ファイル~
uhyo
2
590
Lint の層を組み直した話
bengo4com
3
310
Deep Data Security 機能解説
oracle4engineer
PRO
3
1k
AIエージェント統制はAPIから——押さえるべき5つの要素
nagix
0
120
Featured
See All Featured
Balancing Empowerment & Direction
lara
6
1.4k
Building Applications with DynamoDB
mza
96
7.3k
It's Worth the Effort
3n
188
29k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.3k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
670
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Discover your Explorer Soul
emna__ayadi
2
1.3k
Git: the NoSQL Database
bkeepers
PRO
433
67k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
890
Transcript
新米PHPerは PHPと仲良くなりたい July31, 2019 | #phpstudy Suzuki Tomoya as 脱脂綿
( @anchor_cable )
#phpstudy 2 About Me Suzuki Tomoya @anchor_cable 東京都内に住む脱脂綿(=Twitter名)系エンジニア • 株式会社ゆめみ
◦ サーバーサイドエンジニア ◦ 7月1日入社 • PHP歴は1.5ヶ月 • 前職でJava1年くらい、個人開発Pythonで勉強 • PHP勉強会は今回が初参加 よろしくおねがいします!
3 アジェンダ #phpstudy IDEを使う 普遍的な技術を取っ掛かりに ここに詰まったPHP 1 2 3
ここに詰まったPHP ※他言語の半端な知識が悪く作用した説 1
5 ここに詰まったPHP 都合により一部省略 #phpstudy
6 ここに詰まったPHP 都合により一部省略 #phpstudy
7 ここがわからないPHP構文 ※個人のもの <?php 閉じないの? 開始タグなら終了タグも当然あるだろうと 思ったら「書かないのが推奨です」と言わ れた。 =>と-> 連想配列に値を代入する時に=>を使う事に 驚き。->も馴染みがなく、頭の中で
. に変 換されるまで暫く掛かった。 #phpstudy $って?? 初めてソースを見た時は$ありのローカル変 数と、$なしのクラス変数とがどう使い分け られてるのか分からずに混乱しました。 明らかな時も必要な$this 変数はともかく、メソッドにアクセスする 時にも必要な事に驚き。 今でもよく忘れます。
8 諸々あって #phpstudy 「PHP簡単」って言うけど、 PHPなんも分からんぞ...
IDEを使う ※JetBrains社の回し者ではありません 2
10 PHPなんも分からん私を助けてくれた存在 #phpstudy
11 PHPStormの何が最高か PHPを書くならVSCodeよりもPHPStormが好きだ • 的確で分かりやすいコード補完 • 多用しまくるCmd+B(コードジャンプ) • $を意識しなくても良くなった(最高) •
傍線が出たら確実にダメなソース、typoも指摘してくれる 悪くはないと思うが、コードジャンプのショートカット(F12)が上手くいかなくて自分は使わなく なってしまった。 commit時の差分確認とかは慣れてるVSCodeでやってる。できればPHPStormの方法を覚えたい。 VSCode + PHP IntelliSenseではいかんのか? #phpstudy
12 IDEの助けを経て #phpstudy まあ、ちょっとは分かる気がする まだ分からない事多いけど...
普遍的な技術を取っ掛かりに TDDは良いぞ? 3
14 「分からない」とはどういう状態か? 「知らない」と「分からない」は違う 知らないことはググるか聞けば良い プログラマーは基本文法を丸暗記してなくても働ける 私が「分からない」と口に出す時は、以下のような状態が多い • 方向性(ex.「アプリを作りたい」)くらいは持っている • 何をググるべきかはっきりしない
• 次の1ステップ、あるいは2ステップか3ステップ先を知らない 自分の中でタスクが巨大なひと塊になって分解されていない状態 #phpstudy
15 「分かる」領域と併せて「分からない」を脱出 PHPはよく分からんが、テストコードなら書いてたぞ TDDで開発を進めてみた テストが駆動し始めると、何だか道が拓けて見えてきた気がした 「とりあえず次はこのテストが通るコードを書けば良い」 「次はテストコードを書く。テスト書く上でこの書き方が分からないからググる」 設計、他言語と似た所、知っている領域から広げていけると分かりやすい。 TDDはやることを細分化していけるので、初学者にもおすすめ! #phpstudy
16 IDE、TDD、そして優しい先輩の指導のおかげで #phpstudy なんとかやれる気がしてきた!
17 おまけ:PHPStorm+テスト もうターミナルで’phpunit ...’って打ち込まなくても良い ボタン1回で特定のクラス、 あるいはテストメソッド単位で テストできる まだPHPStormでテストしてないなら、 この機会にぜひ! #phpstudy
18 まとめ #phpstudy • 優れたIDEで些細な行き詰まりを脱却しよう • よく知った技術領域から手を広げていこう • PHP初心者、些細な事で詰まりがち
ご清聴ありがとうございました
#0975cf #987974 #4b4b4b