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
460
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
72
Trying AWS Aurora Serverless.
anchorcable
0
250
Dialogue for Design
anchorcable
1
340
How to manage a good work environment
anchorcable
0
140
TDD is not slowly.
anchorcable
1
650
3日坊主でも勉強したい
anchorcable
5
6k
Design It! is good for architect.
anchorcable
0
160
今だからこそ分かる報連相 / How to do Hou/Ren/Sou!
anchorcable
0
810
TDD supports us all the time.
anchorcable
0
400
Other Decks in Technology
See All in Technology
自主式軟體工廠
philipz
0
260
DGX Spark でどこまでハッキングができるのか?
kash1064
0
820
AI時代のAPI開発を加速する品質ガードレール / API Quality Guardrails in the AI Era
yokawasa
0
190
10年後、Engineering 行為を剥奪されるとして、わたしたちは、どう、何を創ればいいだろうか。 / If Engineering Is Taken Away in 10 Years, How and What Should We Create?
bitkey
PRO
1
120
分析AIエージェントを育てる、動く環境を育てる
codatum
1
1k
OSC2026on_the-world-is-waiting-for-your-voice.pdf
naruoga
0
370
AgentCoreで実践するハーネスエンジニアリング
yakumo
1
300
今さら理解するウェブフォントver.2026
takanorip
3
680
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.5k
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
700
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
8
2.2k
OpenSharing について熱く語る〜AI アセットの共有について〜
kameitomohiro
0
260
Featured
See All Featured
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
500
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
Fireside Chat
paigeccino
43
4.1k
Tell your own story through comics
letsgokoyo
1
1.1k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
440
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
940
Marketing to machines
jonoalderson
1
5.9k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
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