Тёмный

Taking Off The Rose Tinted Glasses 

Theo - t3․gg
Подписаться 310 тыс.
Просмотров 40 тыс.
50% 1

Why did I put myself through this. Drupal and PHP are probably best left in the past, but I decided to modernize them. For no good reason. My head still hurts from this.
Why did I deploy PHP on Vercel lol.
SOURCES
x.com/flaviocopes/status/1806...
github.com/vercel-community/p...
flaviocopes.com/the-aha-stack/
Check out my Twitch, Twitter, Discord more at t3.gg
S/O Ph4se0n3 for the awesome edit 🙏

Наука

Опубликовано:

 

9 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 255   
@sarahwbs
@sarahwbs 18 дней назад
Been doing PHP development for 24 years now, it's not going *anywhere*.
@flogginga_dead_horse4022
@flogginga_dead_horse4022 День назад
i'm so sorry lol
@sparthir
@sparthir 18 дней назад
A framework based on a language isn't the language. PHP has moved on and become a lot better. It's a lazy thing to paint the two with the same brush imho.
@TheRealCornPop
@TheRealCornPop 18 дней назад
Even worse, Drupal isn't a framework. It's a CMS
@SkywalkerWroc
@SkywalkerWroc 17 дней назад
@@TheRealCornPop Even worse, I'm old enough to remember Drupal 5, and even back then it was widely criticised by the PHP community for it's shitty codebase and out-of-date practices.
@FeelAndCoffee
@FeelAndCoffee 16 дней назад
@@TheRealCornPop "Everything can be a framework if you try hard enough" that's more or less PHP community motto. I've seen full web apps that are not blogs powered by Wordpress. They were so preoccupied with whether they could, they didn’t stop to think if they should
@garcipat
@garcipat 18 дней назад
Why does this video feel like an ad?
@CanKorkmazim
@CanKorkmazim 18 дней назад
Because this is actually an advertisement. Recently PHP and Laravel are manipulating all news and video channels. Because its popularity has fallen.
@predragmiletic3078
@predragmiletic3078 18 дней назад
because 80% of his videos are ads
@garcipat
@garcipat 18 дней назад
@@predragmiletic3078 do you refer that hes promoting other things? I there there is a thin line between promoting and advertise.
@Vim_Tim
@Vim_Tim 18 дней назад
@@garcipatTheo crossed that line a long time ago. He takes money from dev tool companies: Vercel, Clerk, Graphite, Sentry, the list is way too damn long for a guy who speaks authoritatively on these topics.
@DouglasWhitcomb
@DouglasWhitcomb 15 дней назад
Because he's here to make money, not to care about his audience, technical matters or anything like that. Wake up and don't give people like this a second of you attention - it's not worth it
@SnowTheParrot
@SnowTheParrot 18 дней назад
Theo PLEASE STOP this. You are a respected developer and influencer. People like that you talk about the industry and typically know what your talking about. But lately you've been making ignorant comments and even whole videos that are just soooo stupid. We know you love React, most of us do as well. But you can promote it without putting other technologies down. You're losing your audience, (at least the people i know and what I've seen) because unlike you, most of us use React AND PHP, and Go, and Rust, and Linux, and etc, etc. So when you put down all these other things (especially when you do it by making false claims and just making stuff up, hoping we dont notice), it makes us not want to even entertain you anymore. I know you benefit from promoting React, that's cool. Say good things about React! But leave other tech out of it (especially if you dont know anything about it. you literally just reacted to a 1day old HN thread with only ONE comment 🤨) I'm only speaking for me, some friends, and the vibe i get from other comments, so if we're the minority then i guess keep doing your thing.... but i have a feeling we're not. i hope you fix this, because i used to love your content.
@dongueW
@dongueW 18 дней назад
Felt
@yungifez
@yungifez 17 дней назад
Preach brother
@SkywalkerWroc
@SkywalkerWroc 17 дней назад
👏👏👏 Also, it's hilarious to see that entire write-up complaining about Drupal 7 and how migrating to JS was such a blessing *when Angular.js exists* and has all the same BS that Drupal 7 had.
@skillit2
@skillit2 17 дней назад
it doesn't feel good how much i agree with this.
@DouglasWhitcomb
@DouglasWhitcomb 15 дней назад
From the thumbnails alone it should be immediately clear to any sane person that this guy is clown, certainly not a "respected developer and influencer"
@marcelmirandaa
@marcelmirandaa 18 дней назад
I’m a typescript developer myself but this video is filled with so much bs. There’s nothing inherent about PHP that ties it into a deployment process that wouldn’t allow previews. Also, actually try updating a Node v4 app to use latest deps, the amount of deprecated and no longer available NodeJS apis is palpable. Updating an old Nodejs app is not trivial, I can say so, since I’ve done it myself.
@InfinityN
@InfinityN 18 дней назад
Theo time and time again shows that he is completely out of touch with anything that isn't React.
@complexity5545
@complexity5545 18 дней назад
Back in the early 2000s, I had watch commands that would trigger rsync and upload files to the PHP server. I still use them today. Theo is blinded by the Node.
@Atmos41
@Atmos41 18 дней назад
Yeah having CI-CD for PHP is the most simple thing. Back then it was even easier: just ssh to your VPS and git pull. Nowadays people panic when they need to click more than one button.
@Winnetou17
@Winnetou17 18 дней назад
Yeah, I was confused about that too. Well, he does say that it's ok in other PHP land, and this is pretty squarely just a Drupal 7 thing. I heard about Drupal 9 several years ago, I'm amazed that Drupal 7 is still a thing on websites that have people working on them. Hopefully all the breaking changes in Drupal 8 are worth it and the next upgrades easier.
@jcon2060
@jcon2060 18 дней назад
​@@InfinityN feels like anything that isn't a shitty hobby front end webapp. Our 12 man startup has 5 different databases and each has its own migration pre-deployment hooks. This alone makes it necessary to have a dedicated cicd pipeline
@owenmelbourne470
@owenmelbourne470 18 дней назад
I don't think you can fairly compare Drupal to the rest of PHP lol
@patricknelson
@patricknelson 17 дней назад
At least he didn’t mention Joomla. (j/k Joomla devs 😅)
@SkywalkerWroc
@SkywalkerWroc 17 дней назад
@@patricknelson For a while, Joomla had an upper hand over Drupal when it comes to the good practices and the overall quality of code. Around Drupal 7, that this video is about Joomla was far easier to work with. (BTW: Drupal 7 was back in 2011 - why in 2024 we're making rant videos about 2011 versions of frameworks?! Especially frameworks that the author of the video clearly has no clue about. Are we going to make a rant about 2011 version of Next.js? OH, NO, WE CAN'T! Because it didn't flippin exist back in 2011! Vercel that he advertises so much didn't exist in 2011!!!)
@Svenlaa
@Svenlaa 18 дней назад
You probably should've mentioned Vercel is a channel sponsor. DeArrow replaces this video title with "A Vercel ad disguised as a Drupal rant"
@DouglasWhitcomb
@DouglasWhitcomb 15 дней назад
100% true. What a clown. Let's not feed these people by giving them visibility, please
@dogoku
@dogoku 18 дней назад
As far as I know, the only time this happened is from D7 to D8 which went from a functional paradigm with hooks to an OOP paradigm, which is why it was such a massive breaking change. I have never heard of anything that major since that. For a framework this old, having one massive rewrite in 20+ years, I think is perfectly normal.
@SkywalkerWroc
@SkywalkerWroc 17 дней назад
JavaScript ecosystem had a similar shock therapy when AngularJS was dropped and people were told to migrate to Angular.
@dogoku
@dogoku 17 дней назад
@@SkywalkerWroc so many more examples than just that. He was lying (or ignorant) about node, not having these issues. Just off the top of my head, I remember npm 7 breaking peer dependencies and causing hell for us who were using a monorepo filled with them?
@marcosrios3626
@marcosrios3626 17 дней назад
Drupal 7-8 was really a major rewrite. But upgrading from 8-11 can be, almost, entirely done through a composer version bump.
@devOnHoliday
@devOnHoliday 18 дней назад
Laravel doing exactly what is required to make php cool again and then we have Wordpress and Drupal. Taylor is driving a Lambo for a reason
@julian_center
@julian_center 18 дней назад
Vercel's auto deploy and preview build stuff is cool and all, but it's neither a unique feature, nor is the result more than AWS Lambda being automated. Most modern applications require more than just an API serving static data. Production-grade apps with real users DO have state that's more than just a function of your codebase. Think databases (+auto migrations), file storage, jobs, queues, schedulers and so on. Sure, you could use a Vercel-provided or other another third-party service for each one of these requirements, but then you'll end up with a crazy level of vendor lock-in that will require you to rewrite your entire application if you ever decide to move your project. Don't get me wrong, FTP sure isn't the solution, but a VPS (+Coolify) for small projects and K8S for big projects is IMO.
@thekwoka4707
@thekwoka4707 18 дней назад
Vercel is mostly on Cloudflare.
@MrXperx
@MrXperx 18 дней назад
Or you write your own pipeline which all companies do.
@SkywalkerWroc
@SkywalkerWroc 17 дней назад
@@MrXperx Theo rushes through his personal projects and some 2-liners to show on RU-vid. I'm not sure, he even is aware that this is the industry-standard.
@MrXperx
@MrXperx 17 дней назад
@@SkywalkerWroc He is a UI developer and probably is not interested in DevOps topics. Unfortunately most companies don't have infinite budget to keep on scaling with serverless. A point comes when it's cheaper to hire a guy and build a proper deployment pipeline.
@radiozradioz2419
@radiozradioz2419 18 дней назад
I'm on the edge with this channel. It's becoming exhausting. When I first found the channel I saw an intelligent senior software guy like the rest of us, and it was great for the first few videos, but after watching a great many of them and I've come to realize how narrow Theo's expertise/experience is. Which is fine, we need specialists, but for me the content loses its entertainment value when he talks about anything outside his comfort zone; primarily I don't like the authoritative tone he has on everything regardless of how much he knows about it. Perhaps he's just very confident, he is young. This video isn't one of the bad ones, he doesn't say anything too silly. It's just not great, which is why I'm getting despondent. This one felt unfocused more than anything - There was an intro about Drupal upgrades, then Theo spent a long time graciously explaining the concept of CI/CD to us. Maybe he was responding to a comment on stream that explicitly linked PHP to lacking CI/CD, I'm not sure, but it seemed pretty odd. There are many, many, JS shops that don't use CI/CD. I guess both of these things are old and that is the connection? There was also an odd part in the middle where he went through really basic git stuff as if it was a difficult technique. This has been more a general comment about the whole channel. This video's not bad, just unremarkable. There have been a few stinkers recently. There was one where he read code from a programming language he was unfamiliar with, can't remember which, you could tell he tried his best to imply that he was following on better than he actually was (fair enough, I've done that too in the past). In that scenario, I would have expected that he would read the code, try and figure out the algorithm, then explain it to the audience. But what he did was go through the lines and read out some of them, including the lanugage-specific operators that likely mean nothing to him or viewers who are unfamiliar with the language. It's just not the advanced video content I thought it was going to be from the first few videos. He's really good at talking about immediately React-related things, but he swings & misses far too often when he talks authoritatively about things outside of that. I'd definitely say to watch this space, Theo in 10-20 years, mellowed out and a bit less cocky with broader experience, I think he's going to do really well.
@skapator
@skapator 18 дней назад
Tell me you don't work in the real world without telling me you do not work in the real world.
@jcon2060
@jcon2060 18 дней назад
He's out of touch. He's a tech bro shill now
@SavaScript
@SavaScript 18 дней назад
When I first found out about PHP (about 13 years) ago, it was godsend and a breath of fresh air. It was a great alternative to Java web apps (built with JSP) which was nightmare to build. The fact that PHP was literally just embedded into your HTML was mindblowing.
@kernsanders3973
@kernsanders3973 18 дней назад
Still is, I've seen PHP/JS/CSS magical html that seems to do things I've never seen done on web applications before or since. React is good, but it has it's limitations, limits that you dont have with PHP/JS/CSS HTML5 unless you really able to change the framework
@enkiimuto1041
@enkiimuto1041 18 дней назад
PHP in general embedded into the HTML is amazing. I really like it for small stuff. I can't for the life of me wrap my head around the frameworks though. Having template languages for the language that mostly works as a template engine, dozens over dozens of lines to set up a few things when in Django it is like. 5 lines. It is too much for me. Maybe I should check smaller frameworks?
@yungifez
@yungifez 17 дней назад
​@@enkiimuto1041Laravel 11 is now slim to address this
@sub-harmonik
@sub-harmonik 17 дней назад
I thought JSP was kind of html? like technically xml but doesn't it use html tags?
@SavaScript
@SavaScript 17 дней назад
@@sub-harmonik You're right. I was thinking more of PHP being that but without the annoying boilerplate 😬
@karenwest6350
@karenwest6350 18 дней назад
Technology discourse be damned, I draw the line at Super Smash Bros Melee slander.
@wlockuz4467
@wlockuz4467 18 дней назад
You couldn't make a less obvious ad lol
@pfqniet
@pfqniet 18 дней назад
I dunno man, when I drag a file into my FTP client, I don't have to sit around for however long it takes for Vercel to build my preview, it just updates instantly. A major plus point of interpreted languages like PHP and JS is fast iteration time, and having to wait 30s just because I missed a comma in my array is unacceptably slow. Presently I just have a WSL terminal in VSCode and develop locally, and my changes are instantly reflected in the output. When I'm done I can push my changes to the git repo, and our update process is a brief maintenance window while the live environment pulls the release in a controlled manner, with human eyes on it to ensure it runs smoothly and allowing us to communicate clearly with our users if (or when) things go wrong. CI makes it far too easy to screw up a live environment, I will never use it outside of a dev or staging or PTB environment.
@dogoku
@dogoku 18 дней назад
@@pfqniet for small teams or individuals, you can do whatever you want and will probably work out. But once you have multiple teams, multiple projects, multiple environments, having a source of truth and building, validating and deploying in a consistent manner is crucial
@ilikecats1234h
@ilikecats1234h 18 дней назад
>using FTP for anything else than Minecraft in 2024
@ES-cf4ph
@ES-cf4ph 18 дней назад
And why exactly is it "easy to screw up"? You always deploy to qa anyways. Also, managing one server like this is one thing. But as soon as you add Load Balancing, DB migrations etc it becomes more than simple with manual deployment (in the bad way).
@pfqniet
@pfqniet 17 дней назад
@@ES-cf4ph Looking at the state of the video game industry (that's where I am) I kinda think qa is a myth at this point XD Maybe I'm overly cautious anyway but while I trust the computer to do what it's told, I don't trust the human who told it what to do.
@tuananhdo1870
@tuananhdo1870 2 дня назад
I guess you are just doing the solo developmeny, not work with a team
@yookoala
@yookoala 18 дней назад
I lived long enough to go through the transition between Drupal 4.7, 5, 6, 7, 8. Each and everyone of these are complete rebuild. Drupal 8 was a huge paradigm shift to modern PHP. Transitions between 8, 9 and 10 are much smoother than before. I've also had the displeasure of using node 4 with sole old react version in one of my older project. Can't imagine how I might rewrite to configs and toolchain to have them work in the latest node and react...
@grinsk3ks
@grinsk3ks 18 дней назад
modern Drupal is pretty awesome. The docs are lacking a bit, but improved a lot in recent years. It's the most flexible system I came across. You have fine grain control over which assets load on a page with it's library system. You can build htmx like stuff with it's ajax api (sadly still running with jquery). The cache api makes page loads very fast. Field UI for modelling content, Views for aggregating content ... The more I work with FE Meta Frameworks, the more I respect Drupal
@marcosrios3626
@marcosrios3626 17 дней назад
I'm excited for the discussion going on about HTMX and Drupal. For me it makes 200% sense to replace the AJAX API with it. The Form API, with Form State and AJAX, is the GOAT.
@fredericoneto1984
@fredericoneto1984 18 дней назад
PHP is old, yes ... but i don't think you need to ask people not to push code via ftp anymore ...
@kernsanders3973
@kernsanders3973 18 дней назад
Exactly, why all of the sudden is old now a bad thing, C# is old now, but still very much valid for enterprise environment development. Unreal Engine is old but still valid for game development. Should React also be dropped in a few years for being "old" regardless of many updates?
@zearthus7089
@zearthus7089 18 дней назад
theo needs to highlight his sponsor so you can ditch the FTP, but FTP has pros and cons same with using a CI/CD process to automate the updating of your file in the server. But don't worry there are still tons of developer still use the FTP because it is much easier to upload and update the files in one click/drag.
@fredericoneto1984
@fredericoneto1984 18 дней назад
​@@zearthus7089 fair .. but not my point .. I've been working in php projects for years now, and setting up git and a CD/CI is as normal as any other js project, i don't really understand the big fuzz, it's probably just because vercel now supports it
@SkywalkerWroc
@SkywalkerWroc 17 дней назад
JavaScript and PHP both emerged in 1995. People pushed JavaScript projects via FTP for as long as they pushed them in PHP And then people pushed PHP projects via CI/CD for as long as they pushed in JavaScript.
@fredericoneto1984
@fredericoneto1984 17 дней назад
@@SkywalkerWroc exacly !
@omgCHopper
@omgCHopper 18 дней назад
Drupal major version upgrades were always difficult, until we got to Drupal 8. Technical docs and guides were fine. Sounds like a skill issue
@twfahey1
@twfahey1 18 дней назад
Long time Drupal dev here. Thanks, this is motivational - I feel like the Drupal project doesn't get enough representation. Once you have a deeper understanding of it, it's a fantastic tool for many applications. There is a lot of skill involved, though, and not enough quality content out there promoting it in a way like you with Next. So again, thanks. I'm going to aim to use this as fuel to drive my own content creation around Drupal, and help show the world how it's actually useful.
@tuananhdo1870
@tuananhdo1870 2 дня назад
But nextjs is the easier route
@aaaa-ig6sc
@aaaa-ig6sc 17 дней назад
Theo decent PHP devs are using PHP 8.3 which is a world away from the PHP you experienced. They have been using Laravel and git for the past decade+. JS and Vercel are late to the party, not PHP catching up with deployment! Drupal is your Gatsby 😂
@marianobarcia
@marianobarcia 17 дней назад
PHP is comparable to Node. Next.js is comparable to Laravel/Symfony. Drupal is a CMS, not comparable to any of these tools (only happens to be built on top of PHP/Symfony). If you have built a fully-fledged enterprise web portal on Next.js, with its data layer and server-side components (usually a monolithic architecture), migrating that custom build to newer versions of Next.js is still a nightmare just like it is migrating from Drupal 7 to Drupal 8. Pick your poison.
@shapelessed
@shapelessed 18 дней назад
Working with Node isn't as bad simply because breaking changes are done only when necessary, not every, oh, I don't know... Every version!?
@EvanBoldt
@EvanBoldt 18 дней назад
You can tell they stopped using Drupal because the painful upgrades didn’t stop there.
@praetorrus
@praetorrus 18 дней назад
It's actually a bad comment and represent exactly the type of people you were joking about- people that do not want to learn. I'm working with drupal since version 5. I was upgrading 5 to 6, 6 to 7, 7 to 8, and right now 7 to 10. It has never been easy to upgrade to a new major drupal version until drupal 8. Because 8 to 9 or 9 to 10 is pretty much painless, requires just minor updates to custom code in some cases (due to php8+ requirements and deprecations mostly). The problem with migration from 7 is due to drupal being rewritten from custom engine to symfony in version 8, template engine was changed to twig. So, if you learned how to program for drupal 7, most of the knowledge became useless, as you have to learn some symfony and twig for 8+. And yes, a lot of companies are still on drupal 7, because you have to rewrite all your custom modules and themes for 8+, only data can be transferred from 7. And quite the contrary, drupal was chaotic in versions 7 and before, but since 8 it's well structured and documented, but lost some developers that never wanted to learn a new code base.
@gFamWeb
@gFamWeb 18 дней назад
Drupal is probably hanging with enterprise contracts. I know Warner Music Group runs a lot of their artists sites off Drupal.
@Aguycalledmax
@Aguycalledmax 18 дней назад
My first job out of university was working in a drupal 7 site that needed to be upgraded to 8. My second job was to upgrade a huge vue 2 codebase to vue 3. Really feels like I’m cursed at this point.
@TomNook.
@TomNook. 18 дней назад
That's hilarious
@stevenstraker5105
@stevenstraker5105 18 дней назад
Hope you also didn't need to migrate an AngularJS project to Angular 2.0
@fifty6737
@fifty6737 18 дней назад
migrating vue 2 with vuetify 2 to vue 3 and vuetify 3 was the most painful migration ive had to go through its hell to get it to the finish line
@SkywalkerWroc
@SkywalkerWroc 17 дней назад
@@fifty6737 You're lucky that you never had to migrate AngularJS into Angular 2, once they abandoned it. Now *that was pure suffering.* It's kinda hilarious that Theo makes a video about 2011 version of a framework he clearly has no clue about, when the same BS was being pulled off in JavaScript more than once. Only Drupal still offers support and security updates, unlike any of those abandoned JS frameworks (support for Vue 2 ended with the end of 2023).
@FabienMeynard-u7e
@FabienMeynard-u7e 18 дней назад
Title of this video should be replaced "Using Drupal to bitch about PHP and promote Vercel without knowing a thing about PHP" Insinuations about PHP devs still using FTP deployments are crazy.. And Drupal is a crazy example too. Comparing Drupal to Next.JS seriously ? Looks like Drupal 7 to 8, was a full-rewrite hence upgrading is not straightforward, same as Angular 1 to Angular 2 ? At least Drupal tried to provide an upgrade path... I really have the feeling its all about getting sponsor $$$ from Vercel ....
@EightNineOne
@EightNineOne 18 дней назад
The whole middle section being a very unsubtle vercel infomercial
@zearthus7089
@zearthus7089 18 дней назад
I just want to make a point that why some people need FTP is due to that the current server setup housing their PHP for example Plesk or cPanel favor FTP or SSH. So technically auto CI/CD is out of the picture. And if ever creating an action in Github to create a CI/CD needs the FTP module to upload changes from github branch.
@alphex-is
@alphex-is 18 дней назад
sooo, you're saying pull requests aren't a thing with PHP? Ok then.
@TheRealCornPop
@TheRealCornPop 18 дней назад
How else could he fit in the vercel ad?
@JohnDoe-jh5yr
@JohnDoe-jh5yr 18 дней назад
Within the Drupal community (at the time when D8 was introduced), there was no ambiguity about it not being backwards compatible and that it pretty much required a rebuild because it completely changed programming paradigms.
@Ardafidanc
@Ardafidanc 18 дней назад
We spent 2 months 3 devs just for upgrading our Drupal 7 project to Drupal 8
@ojCezarFerreira
@ojCezarFerreira 18 дней назад
Skill Issue
@AaronMcHale
@AaronMcHale 14 дней назад
Drupal 7 to 8 was painful, but looking back it was worth it. Going from 8 to 9, 9 to 10, and soon 10 to 11 is incredibly easy in comparison, and where Drupal 10 is compared to 7 is night and day. I’m working on a website for a university that has very complex content workflows, with lots of users, some of the stuff we can do out of the box would take literally months in another framework, and that’s all with CI/CD, I can’t imagine building it in anything else. You’d be surprised just how many government and education institutions use modern Drupal for their websites. For instance, there’s a whole conference just for US government agencies who use Drupal.
@elieobeid77
@elieobeid77 18 дней назад
try upgrading magento to magento 2, or good luck installing a free magento extension, most of them are buggy or broken. Drupal is a peace of cake compared to magento, at least drupal docs are decent.
@darylphuah
@darylphuah 18 дней назад
did some work with magento before... swore never to touch it ever again. I'd work on wordpress before I magento
@fazz
@fazz 18 дней назад
I came here to say this! Magento is the absolute worst.
@Dhalucario
@Dhalucario 18 дней назад
Using AI to figure Magento 1.9 out was somewhat handy (when it doesn't dream up docs or gives you Magento 2 code) I had to read a good amount of Magento 1.9 source code and the ideas behind it are nice but there are so many footguns laying around everywhere it's actually insane and it really makes you appreciate WordPress. Hell I would take the wordpress database structure over magentos entity insanity any day.
@Dhalucario
@Dhalucario 18 дней назад
I had to read through a lot of the magento 1.9 source code and the amount of footguns are horrid especially with the lack of docs. The entity system they use for the DB is nice until you get really big requests. I would take WPs database structure over Magentos any day.
@Dhalucario
@Dhalucario 18 дней назад
Magento has some serious footguns when you work without docs. Doing basic stuff like setting attributes on products can become almost impossible depending on the context you are in.
@friedinand
@friedinand 17 дней назад
This video is sponsored by Vercel.
@PavelTsandev
@PavelTsandev 18 дней назад
for me there is no difference in the complexity, comparing Drupal 7 -> 8 migration and nextjs pages to app dir (or RSC). Both of them requires almost a full rewrite. Talking about large & complex projects, not simple endpoints. Don't get me wrong - I'm not inlove with Drupal. I have a full rights to hate it even more than you can think of. Imagine what the community state will be if they (Drupal) didn't moved to using composer and the Symfony framework. It would be considered as a vintage CMS xD About the CI/CD demo that you did - it's good. Also it's never the case xD Imagine putting a MySQL db into that. What if you want ElasticSearch or any other search (Solr, etc)? Good luck with the feature deployments. It's never that easy as a simple hello world project.
@ericlake2888
@ericlake2888 18 дней назад
Can you concurrently run Drupal 7 and 8 at the same time? Because you can incrementally adopt app dir while still running nextjs pages
@PavelTsandev
@PavelTsandev 18 дней назад
​@@ericlake2888 no, you can't. Because of the database structure, template engine, Symfony, modules structure, etc. It's true that you can incrementally adopt the app dir in most of the cases. However, it doesn't mean that it can't get complex and you can't end up with the conclusion that you have to migrate these 50+ components at once in order to make your single page fully migrated. Imagine having 20 more pages that you have to migrate as well. Imagine a very hot repo with 50+ developers actively introducing changes during that "migration period". It's silly to compare CMS with library/framework. My point was that it can be as complex as migrating from Drupal 7 to Drupal 8. It really depends on the circumstances and the project itself. How about NextJS v8 to v14 update? Or did you remember the times when the function components were introduced? Cmoan... Your question about the concurrently run isn't fair. It's like asking you: can React/NextJS use Drush or can they enable/disable components from the UI out of the box 😀 It's just not fair to compare them like that. Why you can't use your new car's keys on your old car? Why you can't use .exe files on Mac/Linux out of the box? Times are changing, technologies and trends too. There is no perfect CMS/framework/library. The perfect CMS/framework/library is the empty one (0 lines of code). And again: don't get me wrong - I preffer working with React and/or NextJS vs PHP. I'm a huge fan of React and I love doing magic with it. However, I have to use other technologies as well. In the real world sometimes you have to combine React/NextJS with something else. That's why it's good idea to have experience with more than one technology. They will never be perfect.
@nathanbrachotte
@nathanbrachotte 18 дней назад
@@PavelTsandev lol. Admit upgrading drupal is worse and move on with your life. Big L
@PavelTsandev
@PavelTsandev 18 дней назад
​@@nathanbrachotte cannot do that, because they are not comparable. I've seen Drupal 7->8 migrations for 2 months, also saw a pages->app dir migration for 4 months. Seen Drupal 7->8 migration for year and a half. Also nextjs v8 to v14 for an year. You cannot compare them. Just like you cannot compare pushing a car downhill vs pushing a truck uphill. Different conditions & circumstances & sizes
@nathanbrachotte
@nathanbrachotte 18 дней назад
@@PavelTsandev you can gradually migrate Next apps, not Drupal. Case closed.
@MaxPicAxe
@MaxPicAxe 16 дней назад
Bro I want to find out what git add -p does I dont see anything on google
@erroneousbosch
@erroneousbosch 17 дней назад
Tell us you don't know modern PHP and Drupal without telling us you don't know modern PHP and Drupal. Both Theo and the OP on HN.
@Nekroido
@Nekroido 18 дней назад
Migrating from Laravel 4 to 5 was a fucking nightmare.
@SkywalkerWroc
@SkywalkerWroc 17 дней назад
Vue 2 -> Vue 3. or even worse: AngularJS -> Angular 2. Theo should get off his high horse.
@KevinLyda
@KevinLyda 18 дней назад
Wonder how hard it would be to port drupal to Go...
@mikescholz6429
@mikescholz6429 18 дней назад
Remember when you could build a moderately simple local use personal tool in javascript and being able to double click on it without having to spool up an entire webserver back end first?
@sighofman
@sighofman 18 дней назад
Oh there was never a doubt in my mind that Drupal 8 was a new product and Drupal 7 would never die. They are completely different projects. And Drupal literally has a slogan "The Drop is always moving."
@stephenjames2951
@stephenjames2951 18 дней назад
Sounds like it puts react native upgrades to shame
@SkywalkerWroc
@SkywalkerWroc 17 дней назад
It does. But still better than AngularJS -> Angular 2 upgrade.
@stephenjames2951
@stephenjames2951 17 дней назад
@@SkywalkerWroc True That - we just spent a year going from Angularjs to Angular 17
@LoudMouth_
@LoudMouth_ 18 дней назад
I remember when I started in my current place in 2019 they were in the process of moving from Drupal 7 to Drupal 8 and it was essentially a full rebuild. Thankfully we used that as a chance to modernise, moving to a git based deployment and moving our public facing documents to AWS but it still required manually uploading and tagging thousands of documents. Thankfully however I only had to suffer a few months of D7 and managing files via FTP before the rebuild was complete.
@jordandisch6865
@jordandisch6865 18 дней назад
I like Drupal as a click and point your own API + the fact that you can version your configuration changes (the click and point changes). Its gotta some great work flow plugins as well. Also the old migration where a pain, but doing a 7 - 8 is not as bad as previous ones.
@user-op1pp9ju6x
@user-op1pp9ju6x 18 дней назад
Wait what do you mean "open source alternative" to wordpress, wordpress is open source as well
@---we8bx
@---we8bx 18 дней назад
I want to see your dotfiles for that fancy terminal.
@ewmlloyd
@ewmlloyd 8 дней назад
I pushed a module for Drupal 5. Then I found out that Drupal 6 would completely obsolete it. Very dispiriting.
@dytra_io
@dytra_io 18 дней назад
wth , you can deploy php to vercel all this time ?
@sorrynotsorry8224
@sorrynotsorry8224 18 дней назад
When you mentioned the Node 0.4 stuff, I had to look it up because I was unaware. God damn that shit is insane.
@opposite342
@opposite342 17 дней назад
Crazy how I always thought of Jeff Geerling as the raspberry pi guy on YT
@grimm_gen
@grimm_gen 18 дней назад
Vue 2 to vue 3 might be up there with durpal for the worst upgrade experience
@N3m3s7s83
@N3m3s7s83 18 дней назад
I simply don't get the purpose of this video. I've been a fullstack developer for twenty years and i faced similar situations in every language or framework. Try to refactor or update something that has been done with older version of webpack... Man that is painful. I am not a php fan boy (even if i use laravel for 11 years and i know it super well) but i literally refused for 20 years to use something like Drupal or Wordpress simply because if you are a real developer you have the ability to craft your own opinions and research about stacks and solutions and it is was quite clear that wordpress and drupal are great projects but the developer (or the team) have literally no control and that is frustating, but to be fair has really nothing to do with PHP or its current state or the actual ecosystem. If you take a very old crappy project and you rewrite it with a super-modern solution, again, it has nothing to do with both languages. Same results will be similar if you choose django, rails, adonis, fresh deno, etc.. And btw if you use ftp to deploy you are basically not a developer but a scripter, but again this has nothing to do with PHP....
@complexity5545
@complexity5545 18 дней назад
You were lucky not getting pulled into the abyss that was drupal, joomla, and wordpress. Wordpress is the only one that really panned out for success. I too saw how horrible it all was and mysql. So I built my own commercial CMS. I still run that business till this day. People don't care how you get the website up, as long as it looks pretty or functions correctly. Drupal and Joomla tied for the worst of them all (in PHP). Don't get me started with the Java side of things.
@SnowTheParrot
@SnowTheParrot 18 дней назад
i wouldnt say you're not a developer...i would say you're not a "professional" developer. agree with the rest of your comment.
@tuananhdo1870
@tuananhdo1870 2 дня назад
Function cube... Array_map('cube', $array) This make me sad
@not_a_human_being
@not_a_human_being 18 дней назад
for me biggest php problem was those "plugins" (or whatever they were called). Your provider decided which of them are enabled, and that was a major pain. Otherwise, same selling point as javascript - keep your existing HTML but sprinkle some "back-end" here and there.
@SkywalkerWroc
@SkywalkerWroc 17 дней назад
Provider decided it only on VPS. PHP VPSes are *much* cheaper than JS.
@caseygrzecka515
@caseygrzecka515 3 дня назад
Using Drupal 7 does not require use of FTP.
@ivolol
@ivolol 18 дней назад
Sounds like they should've called it a slightly different name if it was a just complete re-write (and without strict api compatibility promises). Then advertised it in a banner on top of the drupal site. Seems almost like the Python 3 situation, but with a much smaller community around the issue.
@stevenstraker5105
@stevenstraker5105 18 дней назад
It's the same project, it was just holding on to a bunch of legacy paradigms. The move to v8+ imho was a necessary improvement. For me, it makes development in Drupal much more straightforward. Sure the migration from 7 to 8 was a painpoint, but no gain without some pain. It's worth it imho, especially when integrated with cicd. We host Drupal with Pantheon, with a great toolbox.
@KevinPfeifer
@KevinPfeifer 18 дней назад
Can definitely confirm, that upgrading any Drupal 7 to Drupal 8+ (now we are on Drupal 10) is basically a rewrite. I am just glad that I already did that years ago for our 10+ Drupal sites when our customers recognised this issue and gave me the ressources to do that painfull upgrade. BUT to be fair every upgrade from Drupal 8 to Drupal 10 now was pretty smooth sailing.
@vorpled
@vorpled 18 дней назад
One thing that may be a workable option for Drupal 7 folks is Backdrop CMS.
@stevenstraker5105
@stevenstraker5105 18 дней назад
I think its worth mentioning that v8 of drupal modernized it to a more mature and stable framework thats based off symfony (like laravel and other acclaimed php frameworks), so making an easier DX for devs from either world. Plus the documentation from v8+ is quite thorough. Becoming a 7 to 8 migration expert may be a great way to land a job tbh. Just beware of some of the silly custom code people created prior to v8 and make sure to implement cicd as early as possible
@ParkRoadGuy
@ParkRoadGuy 15 дней назад
I mean, at least the mustache is nice.
@bjorndelima
@bjorndelima 9 дней назад
I suspect going from NextJS page router to app router would be as painful as upgrading Drupal major versions. Also Drupal is an entire platform and I would think nothing of comparable complexity (not saying thats a good thing) exists in the JS world
@realbigsquid
@realbigsquid 18 дней назад
Oh but the edit made it look so easy 😂. Can't fool me, I was there. I do not miss ftp in the slightest
@nateofthesouth
@nateofthesouth 18 дней назад
@4:07 - this caused me to realize I hadn't subscribed yet! (I've seen and liked at least 20 videos)
@SkywalkerWroc
@SkywalkerWroc 17 дней назад
@2:15 What are you on about? CI/CD is a standard in a modern-day PHP development. I worked on a PHP project with CI/CD a good decade ago, before Next.js even had its initial release. Before Vercel, that you advertise so much, was founded. Yes, configuring it wasn't as simple as nowadays, but saying it wasn't a thing is just... detached. Also: *Why are we making rant videos about 2011 frameworks in 2024?!* Are you going to make a rant about jQuery 1.6 for balance's sake?!
@WilliamWelsh
@WilliamWelsh 17 дней назад
i love the vercel cli so much, dont even have to push, just do vercel --prod
@igorordecha
@igorordecha 17 дней назад
"omg its not getting maintained anymore! Its not gonna get security updates" Be thankful that it even builds. I left my android app unattended for 2 fucking years and I cant even compile it anymore (technically its an ejected Expo app but the problems are only in the Android Studio project part) because it automatically pulls all the newest SDK versions against my will and Google deprecates the entire android API every 6 months. I needed to add a small if in one JS file(js because its expo) and it turned into a major refactor to managed Expo (so much of the native code has been integrated into managed Expo over the years, we dont the ejected env anymore) and EAS. FML.
@shayantriedcoding
@shayantriedcoding 17 дней назад
PHP is awesome
@tysoncodes
@tysoncodes 18 дней назад
Why doesn't someone with a bit of drupal experience just work on a set of codemods and iterate through these companies helping them migrate for lots of $$$
@CodeX-xyxy
@CodeX-xyxy 17 дней назад
a u joking? with basic 10 python code also that live update can be achieved and cron that script
@anfytrion
@anfytrion 18 дней назад
8:48 Hot take: The only devs who complain about the change from Vue 2 to Vue 3 were backend devs that didn't get why Composition API was needed and lazy frontend devs (that eventually lived big changes in updates for React/Next or currently in Svelte), Evan never forced or suggested no one to migrate to Vue 3 as soon as it was released, he even released a more powerful Vue 2 in v2.7 and the full transition lasted 2+ years.
@statuschannel8572
@statuschannel8572 18 дней назад
more migrations i do i feel more love about Go. at first i didn't understand the idea of a language that doesn't change but now i appreciate that more than any other features of a programming language
@bigpod
@bigpod 18 дней назад
yea its same for c# it gets new features but generally old features stay working
@statuschannel8572
@statuschannel8572 18 дней назад
@@bigpod but i had to watch long YT videos to just understand the dotnet version numbers though!
@bigpod
@bigpod 18 дней назад
@@statuschannel8572 wait really its pretty simple nowdays only one that matters is Dotnet which relevantly increases for one number every year(thats a major release) anything else doesnt really matter anymore unless you are in legacy environment
@bigpod
@bigpod 18 дней назад
Ok additional to understand every other one is lts
@kocokan
@kocokan 18 дней назад
Web legends or dinosaurs
@danielmajer1648
@danielmajer1648 18 дней назад
Bashing on old stuff you can find in every trade. The difference is that in the IT and development world every kid thinks that they are genius and their words (heard from another influencer on yt) are absolution
@OnioNode
@OnioNode 18 дней назад
brother saying ANYTHING along the lines of "ftp is worse than git pull for site deployment" is one of the most hipster things i heard. like, ever.
@HorizonHuntxr
@HorizonHuntxr 18 дней назад
notification gang 🫡
@goodbee1
@goodbee1 18 дней назад
recommendation gang
@fernandofarofa
@fernandofarofa 17 дней назад
Anything is simpler than wordpress and drupal. Laravel is a totaly diferent thing
@theburgermancan
@theburgermancan 17 дней назад
Imagine being a dev maintaining any project and complaining about tackling tech debt because you wanted an easy way out just get the work done and make it better so that next time it's that little bit easier.
@nicolascanala9940
@nicolascanala9940 18 дней назад
Be fair. If you're gonna talk about old tech (like drupal) and compare it to new tech (like Vercel and Next), you should at least mention Laravel more. Or at least mention all the shit storm that old JS tools bring about. Hell, even ESM vs CJS is still going on.
@giansantillan6934
@giansantillan6934 18 дней назад
i loved your content i found in short form - which funnelled me to follow and subscribe to gour channel. but recently you have been more focused on being clickbaity - and instigating emotional responses. which is fine. but most of the time your comments are out of touch or too rigid. i love your content about JS, but I smell junior developer nextjs fanboy vibe from your recent content. unsubscribing for now.
@giansantillan6934
@giansantillan6934 18 дней назад
making a screenshot to see if you delete comments
@terdik36
@terdik36 17 дней назад
@@giansantillan6934 he hasn't deleted it yet
@masoudsoroush
@masoudsoroush 18 дней назад
I used Drupal 7 maybe 10 years ago, it was slow as hell so they complatley rewrtie it with symphony and here is why migrate 7 to 8 is liek a complate re write :) and drupal 8 is old am amaze still talk about drupal 7 in 2024
@JeffGeerling
@JeffGeerling 18 дней назад
I still have a few bugs on my Drupal 10 site resulting from the complicated Drupal 7 to 8 upgrade :(
@aaaa-ig6sc
@aaaa-ig6sc 17 дней назад
Trying to join the dots with PHP being Drupal and that devs FTP is like saying "JS dev that's basically Angular isn't it, and lol webpack." Decent PHP devs have been using .git since it was invented and svn before then. JS is incredibly late to the modern deployment party. Actually try Laravel 11, try looking at what PHP 8.3 offers. Take a look at Vapor and Forge to see what modern PHP dev is at before crapping on it for the sake of a quick Vercel advertorial
@zeveroarerules
@zeveroarerules 18 дней назад
Drupal is a Belgian product :)
@ws_stelzi79
@ws_stelzi79 18 дней назад
TBH I was a PHP dev at the times when PHP 6 failed miserably because the language devs didn't knew what they could do wrong even more and knew then that PHP has no productive future left. I was never part of the Drupal world but what it sounds like is that the same kind of devs plagued them. Seems to me that the greater PHP world is stacked with such "Know it all but worse" devs that regularly sink good stuff by there ineptness. They are there own worst enemy!
@kocokan
@kocokan 18 дней назад
Anyone remember google app engine?
@complexity5545
@complexity5545 18 дней назад
LoL.. it is horrible. It needs to be babysat and pacified when the errors^^conflictions hit.
@liftoff3
@liftoff3 18 дней назад
I was once a php developer. I used wordpress, laravel, then yii2 which IMO was a downgrade
@phoenixssbm
@phoenixssbm 18 дней назад
MELEEE WOOOO
@1weiho
@1weiho 18 дней назад
Is there anyone like me who likes the Laravel world and also likes the Next.js world?
@CedLePingouin
@CedLePingouin 18 дней назад
I don't dev with PHP anymore, but hearing that Drupal users, and by extension PHP users, expect their codebase to always work (for 20 years !?), and that they're using PHP because they don't want to "upgrade" and expect consistency, is a little funny. There have been multiple times during the peak use of PHP when you had to deeply modify your codebase because of version changes. The switch from v3 to v4 came with many changes. The switch from v4 to v5 was huge. Then v5.3 pops up and changes things that should only change with major versions. Then the language continued to evolve. And I'm not sure you can leave your v5 (or even v7 ?) codebase as is if you want to host your app on servers with modern versions of PHP.
@weeb3277
@weeb3277 18 дней назад
Drupal was always a mess and a great way to learn PHP.
@SkywalkerWroc
@SkywalkerWroc 17 дней назад
Yep. Kinda hilarious that he's trying to make it a criticism of PHP, *when the entire PHP community was critical of Drupal for as long as I remember.*
@380piotrek
@380piotrek 13 дней назад
I stopped watching when he mentioned Vercel
@SamW-jp3bc
@SamW-jp3bc 18 дней назад
Theo, why are you still using git commands? The Desktop UI is king.
@the_spuky
@the_spuky 17 дней назад
Mostly love your takes.. But this one was really out of touch... Been deploying Drupal sites with git since 10 years... migration between 7 and 8 was not harder than 6 to 7 but 7 was maybe good enough so people never put in the work to do it...
@Hillgrov
@Hillgrov 17 дней назад
bye
@predragmiletic3078
@predragmiletic3078 18 дней назад
i made it to 3 mins
@zcuric
@zcuric 18 дней назад
There is no word "miserable" in first sentence. :) Magento is the worst.
@SnowTheParrot
@SnowTheParrot 18 дней назад
The thread was titled "What is the most painful dev setup guide you've ever experienced?" So im assuming he just added "miserable" for context.. (painful, miserable, same thing really) Other than that, I disagree with most of the video and don't understand why he continues to try to make everything except what HE uses bad. Whether it's Linux, any Framwork except React, or pretty much any language other than TS, he's constantly TRYING to put them down. I'm assuming it benefits him financially to promote React, but he's gotta understand his viewers are typically not idiots. They can see through his bs. We USE the stuff he's trying to put in bad light. Idk why he can't just promote React without attempting to bring everything else down, it's just making him look bad (and ignorant honestly).
@okunamayanad
@okunamayanad 18 дней назад
git add -A vs -p? that would be a video i'd watch
@FunctionGermany
@FunctionGermany 18 дней назад
it's literally just selecting some files/patches to be staged. if you're using VSCode or another tool with a git GUI, you might have done this for years already by clicking plus on some files to stage them but not all files. "don't use -A" is a stupid simplification - if you want to commit all your changes, it's the correct flag to use. if you want to pick patches (in your terminal), use -p.
@RandomGeometryDashStuff
@RandomGeometryDashStuff 18 дней назад
error: unknown switch `a'
@okunamayanad
@okunamayanad 18 дней назад
@@RandomGeometryDashStuff whoops..
@okunamayanad
@okunamayanad 18 дней назад
@@FunctionGermany ah, I was using -A to commit all but after @t3dotgg saying that i thought maybe -p flag has some implications for committing all
@FunctionGermany
@FunctionGermany 18 дней назад
@@okunamayanad nah it's just a matter of your intention. committing every working space change "by default" is probably bad practise for most projects. that's all. but if you know your changes and you intend to stage everything, -A is the correct flag, no downsides.
@kernsanders3973
@kernsanders3973 18 дней назад
The Drupal hate is fine and shared here, but the PHP hate shows how out of touch you are with the modern development echo system. a Few dev companies around me still use PHP perfectly fine. Sure they use Laravel mostly, but that is still PHP. Your description which say Drupal AND PHP are best left in the past shows you are very limited in your knowledge of current dev companies. Although agree with the Drupal part, the PHP part is next.js fanboy bashing other languages
@Ligma_Shlong
@Ligma_Shlong 18 дней назад
You think he doesn't know that Laravel is PHP and that PHP is still used? Be for real. You're basically just crying that he has an opinion that doesn't align with yours.
@N3m3s7s83
@N3m3s7s83 18 дней назад
​@@Ligma_Shlongno I don't think so. It has been proved that Theo is a great developer and RU-vidr but when he speaks about Laravel it is very clear that he does not know what is talking about. And by the way no one will write PHP as he did in this video. Even in node you need something like express or similar. Different opinions are good and constructive but we need to know the topics at least.
@bigpod
@bigpod 18 дней назад
@@N3m3s7s83 not that long ago i had to write something in PHP laravel and honestly its the "same" as every other programming language except every other language does it better(i hate JS and even basic get and post api was nicer in JS)
@richsoftwareguy
@richsoftwareguy 18 дней назад
What did you expect from a hipster freak - California baby
@TomNook.
@TomNook. 18 дней назад
Laravel is super elegant.
@RadTwin
@RadTwin 18 дней назад
I was in dc government for many years and drupal is the go to cms. 7 to 8 gave me nightmares
@handmadegamesdev
@handmadegamesdev 18 дней назад
I've been enjoying your content more and more lately. Thanks for all the effort.
@yungifez
@yungifez 17 дней назад
This is one of his most ignorant videos yet
@RasmusSchultz
@RasmusSchultz 12 дней назад
I don't get it. Drupal? why is this even worth talking about. Drupal (specifically hooks) is the worst framework for software development ever created. Being super extensible is the only redeeming quality, but it comes at the cost of ignoring every type safety feature in PHP - Drupal barely benefits from anything added to PHP over the past 10 years, and never will. Unless you're intentionally trying to make PHP look bad, please never mention Drupal again.
Далее
HTMX Sucks
25:16
Просмотров 112 тыс.
I Parsed 1 Billion Rows Of Text (It Sucked)
39:23
Просмотров 113 тыс.
ФОКУС С БАНАНОМ🍌
00:32
Просмотров 362 тыс.
ВОТ ЧТО МЫ КУПИЛИ НА ALIEXPRESS
09:35
Просмотров 475 тыс.
Я КУПИЛ САМЫЙ МОЩНЫЙ МОТОЦИКЛ!
59:15
How Paris Pulled Off One Of The Cheapest Olympics
12:25
$25,000 vs. $25,000,000
29:58
Просмотров 1,2 млн
Osu!'s Biggest Cheater Was Finally Caught
20:36
Просмотров 1,2 млн
researchers find an unfixable bug in EVERY ARM cpu
9:48
The moment we stopped understanding AI [AlexNet]
17:38
Просмотров 790 тыс.
We Need to Rethink Exercise - The Workout Paradox
12:00
Every Framework Sucks Now
24:11
Просмотров 119 тыс.
НОВЫЕ ФЕЙК iPHONE 🤯 #iphone
0:37
Просмотров 258 тыс.
Новодельный ноутбук Pocket386
1:16:17
How to Soldering wire in Factory ?
0:10
Просмотров 4,8 млн