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
0
390
Laravel on Hack
nunulk
February 11, 2017
Tweet
Share
More Decks by nunulk
See All by nunulk
Laravelでテストしやすいコードを書く5 / 5 tips of building testable modules in Laravel
nunulk
0
320
Design It! in a nutshell
nunulk
1
270
PHP Getting Faster
nunulk
0
280
How does learning English broaden your world?
nunulk
0
370
Testing on Laravel
nunulk
1
1.5k
Vue.js + TypeScript + Firebase
nunulk
0
960
Nuxt.js in TypeScript
nunulk
1
440
A startup meets Laravel + Vue.js
nunulk
1
2k
Unit Testing Laravel
nunulk
0
490
Other Decks in Programming
See All in Programming
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
160
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
170
コントリビューターによるDenoのすゝめ / Deno Recommendations by a Contributor
petamoriken
0
200
CSC307 Lecture 05
javiergs
PRO
0
500
dchart: charts from deck markup
ajstarks
3
990
AI巻き込み型コードレビューのススメ
nealle
1
160
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
170
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
220
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
550
Oxlint JS plugins
kazupon
1
880
Package Management Learnings from Homebrew
mikemcquaid
0
220
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.5k
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
330
40k
The Cost Of JavaScript in 2023
addyosmani
55
9.5k
Practical Orchestrator
shlominoach
191
11k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
6.9k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Odyssey Design
rkendrick25
PRO
1
490
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
How STYLIGHT went responsive
nonsquared
100
6k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
0
1.9k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
440
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
180
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)
まだまだ面白い機能あります
興味ある方は一緒にやりましょう!
ご静聴ありがとうございました。