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
“We like to hate PHP" or bittersweet lessons le...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Yevhen "Eugene" Kuzminov
September 03, 2016
Programming
150
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
“We like to hate PHP" or bittersweet lessons learned from the Ruby ecosystem
Yevhen "Eugene" Kuzminov
September 03, 2016
Transcript
35 slides
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 ?
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
160
What Is The Best Programming Language For Your Web Product?
ijackua
0
190
Organizing an architecture of your Ruby on Rails app with Trailblazer 2.0
ijackua
4
470
Railway Oriented Programming in PHP
ijackua
0
600
Uploaded Evolve Your Web Product With A New Technology Stack
ijackua
0
79
MobiDev Meetup Intro
ijackua
0
170
Ruby Web Dev: The Other Way. Architecture aspects
ijackua
0
930
What Is The Best Programming Language For Your Web Product
ijackua
0
330
Other Decks in Programming
See All in Programming
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
330
初学者向け 分散トレーシングとDatadog
mtaka1222
0
120
Jujutsu で毎日のバージョン管理に「安心」と「直感性」を
oukayuka
0
130
疎結合とは何か?ソフトウェア設計における結合バランスについて考える #phpcon_niigata
kajitack
2
450
Beyond Chatbots: Agentic UI with Open Standards @W-JAX 2026, München
manfredsteyer
PRO
0
130
Debian JP Projectのサーバー構成
uwabami
1
190
Secure Your Coding Agent Like It’s Malware (v1.5) 🇬🇧 @Code.talks 2026
richargh
0
210
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
120
AIコーディング時代のKotest ユニットテストから APIレベルの仕様固定化テストへ
ooga04
0
360
Compiling Your Language to WasmGC & Friends
tanishiking
0
970
あなたはMCPの機能を、まだ知らない。
4geru
1
760
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
620
Featured
See All Featured
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
410
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.9k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
360
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
620
The Invisible Side of Design
smashingmag
301
52k
A Soul's Torment
seathinner
9
4k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
2
4.1k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
121
130k
Crafting Experiences
bethany
1
460