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
Laravel on Hack
Search
nunulk
February 11, 2017
Programming
390
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Laravel on Hack
nunulk
February 11, 2017
More Decks by nunulk
See All by nunulk
Laravelでテストしやすいコードを書く5 / 5 tips of building testable modules in Laravel
nunulk
0
350
Design It! in a nutshell
nunulk
1
300
PHP Getting Faster
nunulk
0
290
How does learning English broaden your world?
nunulk
0
420
Testing on Laravel
nunulk
1
1.6k
Vue.js + TypeScript + Firebase
nunulk
0
970
Nuxt.js in TypeScript
nunulk
1
460
A startup meets Laravel + Vue.js
nunulk
1
2.1k
Unit Testing Laravel
nunulk
0
510
Other Decks in Programming
See All in Programming
php-fpmのプロセスが枯渇した日-調査・対処・そして本当にやるべきだったこと-
shibuchaaaan
0
180
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
150
jsmini JavaScript Engine を作ってみた話
yosuke_furukawa
PRO
0
280
Lean は証明の正しさを確認するためだけのツールって思ってませんか?
inoueasei
1
130
【やさしく解説 設計編・中級 #6】良いアーキテクチャとは ~ 一本の登り道の、行き先 ~
panda728
PRO
0
200
Claude Team Plan導入・ガイド
tk3fftk
0
250
自動化したのに回らないテスト運用の壁ーAI時代の品質責任と生産性
mfunaki
0
120
Build-to-own AI: Agentic Development for Humans
inesmontani
PRO
0
160
今さら聞けない .NET CLI
htkym
0
170
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
2
340
What's New in Android 2026
veronikapj
0
240
Terraform標準の組織で AWS CDKをどう使うか
mu7889yoon
1
450
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
650
Chasing Engaging Ingredients in Design
codingconduct
0
250
Optimizing for Happiness
mojombo
378
71k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
390
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Mobile First: as difficult as doing things right
swwweet
225
10k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Building Applications with DynamoDB
mza
96
7.1k
Balancing Empowerment & Direction
lara
6
1.2k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
650
Transcript
Laravel on Hack @nunulk Laravelもくもく会 2017/02/11
ご存知ですか?Hack/HHVM
PHP7の登場によってすっかり下火になって しまった感がありますが
PHP7にない機能、まだまだありますよ
というわけで、Laravel と一緒に 使ってみます
Generics
class SomeClass<T> { private Vector<T> $collection; public function __construct() {
$this->collection = Vector {}; } public function add(T $element) { $this->collection[] = $element; } }
Tuples
newtype HttpState = (int, string); HttpState $state = tuple(200, “OK”);
Pipe Operator
function index(SomeRequest $request) { return $request->all() |> $this->doSomething($$) |> view(‘index’)->with($$);
}
callable type hinting
public function apply((function(int, bool): int) $callback) { return $callback($this->value, $this->isDefered);
}
(Demo)
まだまだ面白い機能あります
興味ある方は一緒にやりましょう!
ご静聴ありがとうございました。