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
PHP Micro framework comparison
Search
Boynux
April 23, 2014
Technology
1
1.1k
PHP Micro framework comparison
PHP Micro frameworks comparison
Boynux
April 23, 2014
Tweet
Share
More Decks by Boynux
See All by Boynux
Load Balancing
boynux
0
120
VCS - TEST - CI
boynux
0
120
Design Patterns
boynux
2
210
Gearman Intro
boynux
1
64
Avoid Doctrine Memory Leaks
boynux
1
240
Introduction to GNU/Linux
boynux
0
210
Other Decks in Technology
See All in Technology
NgRx Signal Store
rainerhahnekamp
0
150
アクセス制御にまつわる改善 / Improving access control
itkq
0
530
JAWS-UG Bedrock Claude Night
yamahiro
3
560
20240416_devopsdaystokyo
kzkmaeda
1
220
長期運用プロジェクトでのMySQLからTiDB移行の検証
colopl
2
840
AOAI をきっかけに 社内の Azure 管理を見直した話
recruitengineers
PRO
1
260
エンジニアのキャリアをちょっと楽しくする3本の軸/Three Pillars to Make an Engineer's Career More Enjoyable
kwappa
0
2.6k
マルチアカウント環境への発見的統制の導入
ch1aki
1
1.3k
DevOpsDays History and my DevOps story
kawaguti
PRO
9
2.5k
非同期推論システムによるコスト削減と信頼性向上
koki_nishihara
0
220
プラットフォームってつくることより計測することが重要なんじゃないかという話 / Platform Engineering Meetup #8
taishin
1
350
リテール金融(キャッシュレス・ネット銀行・ネット証券)の競争環境と経済圏
8maki
0
620
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
132
6.3k
Building Adaptive Systems
keathley
31
1.9k
How to Ace a Technical Interview
jacobian
272
22k
GraphQLの誤解/rethinking-graphql
sonatard
50
9.2k
Optimizing for Happiness
mojombo
370
69k
Web Components: a chance to create the future
zenorocha
305
41k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
Designing for Performance
lara
601
67k
Learning to Love Humans: Emotional Interface Design
aarron
267
39k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
Into the Great Unknown - MozCon
thekraken
10
990
The Cult of Friendly URLs
andyhume
74
5.7k
Transcript
MICRO Frameworks Tend to be : • Small • Fast
• Easy to use
Candidates • Epiphany • Flight • Fat Free • Silex
• Slim
Epiphany • Pros • Fast • Good API • Modular
• HTTP caching • Separate Configuration file • Error Handling • Cons • Weird Code • Not easy to extend
Flight • Pros • Fast • Good API • Easy
to Extend • Easy to override funcationalities • Error handling • Filtering • Well Documented • Cons : • ?
FatFree (F3) • Pros • Relatively fast • Well Documented
• Its own unit testing (PHPUnit!?) • Feature-rich • Its own template engine • Built-in ORM • Cons • Not easy to extend • No RegExp Support
Silex • Pros • Not very slow ;) • Tons
of features (do we realy need?) • Its own Tempate engine (TWIG) • Error Handling • Cons : • Wierd API • Not easy to extend • Huge (Many dependencies) • Is that really micro?
Slim • Pros • Good API • Good Documentation •
Easy to Extend • Full-Feature • Error Handling • Build-in Logger • Cons : • Very slow
Speed Comparison 1000 requests in 10x100 concurrent batches
Fasten Your Seat belts ...
Winner ? applause
Sample Code
Question ?