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
“We like to hate PHP" or bittersweet lessons le...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Yevhen "Eugene" Kuzminov
September 03, 2016
Programming
140
1
Share
“We like to hate PHP" or bittersweet lessons learned from the Ruby ecosystem
Yevhen "Eugene" Kuzminov
September 03, 2016
More Decks by Yevhen "Eugene" Kuzminov
See All by Yevhen "Eugene" Kuzminov
A year (+½) with Hanami in production: the Good, the Bad and some Recipes
ijackua
1
2.3k
Hanami - нова надія Ruby чи "імперія ходить по тим самим граблям"?
ijackua
0
150
What Is The Best Programming Language For Your Web Product?
ijackua
0
170
Organizing an architecture of your Ruby on Rails app with Trailblazer 2.0
ijackua
4
430
Railway Oriented Programming in PHP
ijackua
0
570
Uploaded Evolve Your Web Product With A New Technology Stack
ijackua
0
66
MobiDev Meetup Intro
ijackua
0
150
Ruby Web Dev: The Other Way. Architecture aspects
ijackua
0
920
What Is The Best Programming Language For Your Web Product
ijackua
0
290
Other Decks in Programming
See All in Programming
AI 時代のソフトウェア設計の学び方
masuda220
PRO
28
10k
Stage 3 Decorators でできること / できないこと / TSKaigi 2026
susisu
1
1.2k
分析エージェント精度向上における データアナリストの役割
oura_shoya
0
130
[KCD Czech] eBPF Meets the GPU: Future of AI Infra Observability
doniacld
0
110
Inside Stream API
skrb
1
230
GitHub Copilot CLIのいいところ
htkym
2
1.1k
TypeSpec で繋ぐ複数プロダクトの型安全
maroon8021
1
250
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
1
390
誰も頼んでない機能を出荷した話
zekutax
0
140
CLIであることを活かしたGitHub Copilot CLI活用術 / GitHub Copilot CLI Pro Tips & Tricks
nao_mk2
1
1.1k
横断組織出身のQAEがインプロセスQAEでつまずいたこと・活かせたこと
ty89
0
400
LLM Plugin for Node-REDの利用方法と開発について
404background
0
130
Featured
See All Featured
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
140
The SEO identity crisis: Don't let AI make you average
varn
0
470
How GitHub (no longer) Works
holman
316
150k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.5k
Designing Powerful Visuals for Engaging Learning
tmiket
1
380
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
220
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.3k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
920
Between Models and Reality
mayunak
4
300
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.8k
My Coaching Mixtape
mlcsv
0
130
The Spectacular Lies of Maps
axbom
PRO
1
770
Transcript
or bittersweet lessons learned from the Ruby ecosystem “We like
to hate PHP” Ievgen Kuzminov. MobiDev. Kharkiv, Ukraine.
PHP is bad/slow/wrong/ugly… ? http://phpsadness.com/ Unexpected T_PAAMAYIM_NEKUDOTAYIM (╯°□°)╯︵ ┻━┻
Ruby is not better It is just a different mindset
Ievgen Kuzminov http://stdout.in @iJackUA 6 years in PHP 2 years
in Ruby Currently: Ruby Team Lead in MobiDev Author of http://rwdtow.stdout.in
How to start a rant? http://stdout.in/en/post/ruby-ecosystem-bitte rsweet-or-we-like-to-hate-php
Healthy ecosystem: ▣ Frameworks pluralism ▣ Libraries agnosticism ▣ Tools,
that just work
Recent decade of The Web Dev
‘’ Vicious circle of demand
1) Symfony 2) Laravel 3) Yii 4) Slim ... How
many framework are in production? 1) Ruby on Rails ¯\_(ツ)_/¯
Frameworks are cheating! ▣ Do not teach to write better
code ▣ Teach to use the framework only ▣ “In which folder should I put this class?”
What is it ? (Uncle Bob)
▣ Framework ▣ CMS ▣ Library Have you ever written
your OWN...
▣ Learn the other language to get better view on
your “native” one ▣ Traits/mixins are not “composition” ▣ Now I consider OOP as an “issue” I thought I knew OOP
▣ Not an end in itself, but the criterion ▣
Harder to follow with dynamic composition ▣ Dependency Injection. WAT ? SOLID
None
...or they don't have a chance because people can't look
further the Rails monster. (C)
Evolution and Performance
PHP FIG Community and Standards
▣ Composer ▣ The League of Extraordinary Packages ▣ Aura
for PHP Packages ▣ Bundler / Gems ▣ Dry-Web
Monkey-patching What is it? Example: 5.minutes.ago vs TimeMath.minutes.decrease(Time.now, 5)
Ruby or Rails? Array ▣ first ▣ second ▣ last
▣ second_to_last ▣ third_to_last ▣ forty_two
Syntax, DSL, metaprogramming Ruby has less parenthesis and formatting issues.
Can handle DSL and metaprogramming. PHP has less possibilities… and that’s fine! Who cares when your IDE has autocomplete.
▣ PSR-4 rules! Modules and Namespaces ▣ Constants autoload hell
▣ Zend Expressive ▣ Slim ▣ Laravel ▣ ... Middlewares
Architecture inspiration Sandi Metz Nick Sutterer
The Clean Architecture by Uncle Bob
Trailblazer
Business logic architecture in PHP ▣ MVC is not enough
▣ Dependency Injection is not a silver bullet ▣ DCI ▣ CQRS (https://github.com/qandidate-labs/broadway) ▣ ?
Learn SQL. I mean it! ORM vs SQL
Where Ruby outperforms PHP Background jobs and queues
Where PHP outperforms Ruby Code debug
▣ PHPUnit ▣ Codeception ▣ Just recently became “a must”
▣ Who write tests? Automated testing ▣ Minitest / RSpec ▣ Capybara ▣ Propagated by Rails ▣ “TDD is dead” © DHH
Ideal PHP world for me ▣ Simple and reliable frameworks
▣ Agnostic middlewares ▣ Architectural framework ▣ Loosely-coupled tools/libs
“Haters gonna hate” (C) Break bad! Change the paradigm! Elixir,
Go, Closure…
Thank you!
[email protected]
http://stdout.in @iJackUA Questions ?