Laravel, Django, Next.js ... which framework would I use for building a SaaS?
HTML-код
- Опубликовано: 28 сен 2024
- Building a SaaS (or any web-based project) has never been easier. There are plenty of frameworks and technologies to pick from.
But which one is best? Can the JavaScript ecosystem keep up with Laravel etc?
All Podcast episodes: maximilian-sch...
Want to become a web developer or expand your web development knowledge?
I have multiple bestselling online courses on React, Angular, NodeJS, Docker & much more!
👉 academind.com/...
I'm a professional C# and .NET Developer. I was looking at options for a small business e-commerce website and I've been very impressed with Laravel and Modern PHP. A far cry from PHP c. 2008.
I’m learning C# simply for job security, I work in the Govermnent sector and they love C#, but I also was thinking of building an e-commerce site. I think I’m going to go with GoLang as my backend language, strictly for performance and how cheap it is on the backend.
@@jiraiyah8941 I am thinking the same as well. But is Golang cheap on the backend? Could you explain further. I have starting learning it and have gone far
@@jiraiyah8941use c#
We are waiting for the Laravel course!
Yes, hopefully they will create...
PHP vanilla is also missing... I agree, laravel or symfony would do well for his portfolio.
He’s not a PHP dev . I think he’s major is Java script
@@omoyenikunle7909 he is loud on javascript but fluent with php
@@omoyenikunle7909 he has done courses on python..django..flutter and go. So i dont think its out the realm of possibility that he could also do a PHP/Laravel course
Laravel Is 🔥
@max really waiting for laravel course. I see a lot of work for freelancers especially in WordPress , laravel. Also All shared hosting provider support managed hosting of these frameorks unlike javascript ecosystem.
Laravel Daily is a great resource
Laravel and wordpress combination is really great
I repent why i left it for the shiny objects like node
One major problem with JS is that it is hype and "influencer" based. Adonis does not get the attention it deserves simply because it has no major influencer, it's outside the JS hype cycle. Many times in JS you don't use or build using the best tool you use the one that everybody is mentioning on Twitter.
I used Adonis to build a few production systems. It is (IMO) best in class for the JavaScript ecosystem.
Adonis didn't get the attention bcuz it's trying to replace PHP in my opinion wkkw
@@mattburgess5697 Have you used Nest, how do they compare?
This isnt even close to true. Most of the time you’re not using cutting edge or new frameworks because most people actually working in this space use tried and tested tech. These obscure frameworks might be cool but no one is really using them outside of the “influencer” space
@@bryptoTips How is a framework/library etc that was released last Tuesday tried and tested? In JS, if you release something shiny today, by next week everybody is looking to migrate to it.
PHP and Laravel course, Max??
I did ask... No reply as yet...
Django, alphine, htmx gives me peace of mind from refactoring breaking changes every month
Some Devs love the JavaScript eco system because of it's modularity. I would even say that because of the competition of other parts like auth and orms are improving the eco system faster then having a Swiss army knife. The problem with a Swiss army knife is that it wouldn't be your first choice to use to cut your stake,
Waiting on that Laravel course!! 🔥
Chose Django & Rest Framework with NextJS and never looked back.
Absolutely 💯
That stack deserves an award 🏆
I alway choose Django + DRF & Ember
My answer to that is: "it depends on the composition and strengths of your team". For example, the company I work on right now, is fully committed to using Java as a back end solution. Every project has always at least 2-3 Spring Boot people - and we are heavily pivoting in always using Next as the front end layer. For us, Django or Laravel or anything else simply doesn't cut it - because the company is committed to specific technologies. Heck, even the push for some exploration into Quarkus / Micronaut / Standard JEE (Jakarta) didn't make it far, simply because *such is the company's expertise* . From that point on, the discussion is moot.
Now, if you are building a project on your own, the sky is the limit of course.
This is the right answer. If your company/team has used a certain stack for last 5 years, you won't all of a sudden migrate for little to no benefit. Because grass might look greener initially on the other side, but once you dive deep into some technology, you will inevitably run into issues or edge cases that you have to solve or work around them. You won't just throw away X years of expertise with a certain technology.
Where I work, we use .NET Core for backend and React (mostly Next.js) for frontend and it has served us well. We never considered using Next.js "backend capabilities" because backend team is just really proficient in C# and honestly, .NET Core is just way more capable out of the box for API related stuff. There are some things we like and dislike about the stack, but we would have our pros and cons no matter what stack we used. In the end, we are most productive using this and won't just randomly switch. We of course upgrade the way we do certain things as time goes on, but no major tech stack shifts because of hype or something like that.
Obviously Laravel 🔥
The true mentor ... This is one that make sense on tech
The best framework is no framework, levels would say that! Finally, getting the job done is the best framework!
Waiting for the PHP and Laravel course !!! Hoping to create separate course for PHP and Laravel 💕💕🥳🥳💯💯💯💯
I think django rest framework DRF with next js is best as django provides admin panel and next js is for SEO
Spring Boot is the best choice 😀
I do wonder if javascript devs know about composer/psr and how with Laravel it is quite easy to extend or replace functionality with other options around.
I use Rails and I dont care about the hype of internet. With Hotwire i can build SPA like any other language.
I find rails so amazing. Once you're into rails you can't consider substituting it with another framework at all. Its simply the best
10:33 I haven't built anything with Adonis or Laravel (so take what I say with a grain of salt), but it seems like their solution to that is Inertia. Which enables you to use React (or any other UI library, like Vue or Svelte) on the frontend without having to build an API. That seems like the best of both worlds, as you can build all the same kinds of dynamic UIs you can with something like NextJS, but with a much more mature and cohesive backend.
And about Nuxt.js?
Its really good Nuxt3 btw.
I'm addicted to Laravel l use it even for small project
What if you start from Laravel and then you need to build a mobile app for ios and android from your web app?
You can build a REST API with Laravel
Django is suitable for Fintech and e-commerce where I am majorly.
You can build this with any framework. I prefer laravel
Tried em all, Laravel is the GOAT!
So build SaaS course in laravel hopefully coming soon. Let's go!!!!
Hi Max, can you refer me to a resource where I can learn how to structure my Nextjs app regarding defining types? LIke I have the form data I send to a server action, which I create a type for and also the response of the server action, which I also create a type for. Also, should I include errors in the action response? Or throw them on the server? If I throw them on the server, is there a way to catch them and present the user with an error message? Thank you.
The eternal never ending question
Nest.js & React.js
Any recommendation for nextjs course please ?
Do you have a course of hosting nodejs, MySQL using aws?
Laravel is the greatest framework ever made! Roast me for that. 😆
Ruby on Rails ❤
Dear maximilian plz prepare a full next js 14 course , please, with greate thanks
Why not sveltekit?
Next js is a pain in the ass
IMO the biggest issue is that it’s sold as a replacement for an API rather than a solid Backend-for-framework.
@@mattburgess5697 they have marketed it as a full-stack framework. and it's nowhere close to that
What about NestJS?
I would welcome an 🌟 Academind 🌟 Laravel/PHP course, and I reckon there's a good demand for it as well. 😎
Use IMO one more time in the comments! I dare you!
You just nail it
Waiting for rust course and laravel course!!!!
Nodejs?
Dear max please provide a course on udemy for laravel also updated php and my sql
Do a blazor course pls
hell nah
Why would you want a Blazor course from a person that probably never heard of Blazor?
Definitely Laravel, for simplicity sake
Laravel is awesome
Rails
i just use jquery
Waiting Your Opinion For RUST.
Laravel is the way 😎
Symfony! :)
FARM stack FTW! However, you didn’t mention it. Plus, your presentation style is somewhat annoying, with frequent stops and starts. I had to stop the video in the first minute. Dingilish?
Laravel does it all.
symfony is the best php framework
Vue x Nuxt
Laravel
Who have tried frappe?
What you really should be asking yourself is "How come I don't know about Deepkit?"
Svelte
Laravel is sexy.
NO. Next.js is not fun to built with.
No one comes to the God Father except through Jesus Christ
Have been working on Next and Laravel simultaneously.. Laravel is 🔥 on the Web based software solutions.
Nodejs ?
Laravel my lovely 😍 Framework. I left the MERN Stack because if that fragmentation which suck 😅😅
After, i could not find a job with react i have tried php and Laravel. This was one of the best experiences i have had!
Nextjs is garbage for backend. I can't use it for backend I only use it for front end
Django has all these things you said about Laravel. I love django ❤
Django ❤
I use Django all the time. It’s cool
@@awusacollins should i learn django, as today everyone is talking about node js
@@devanshdubey4588 If you’re just starting i.e you don’t know Python or Django yet - then go for Node JS. I work with Django and I can do pretty almost anything I want without issues. Some people even use Django and Node JS together cos of SEO. I hope that helps you to make a better decision
@@devanshdubey4588 If you’re just starting i.e you don’t know Python or Django yet - then go for Node JS. I work with Django and I can do pretty almost anything I want without issues. Some people even use Django and Node JS together cos of SEO. I hope that helps you to make a better decision
Symfony is another great php framework
I would really love to see you do a tutorial on NestJS.
No, NestJS sucks ass. He should be looking at Deepkit instead.
Save your time 11mins of water to say -" Ultimately that all comes down to your personal preferences"
What a click bait title, god....
Techfluencers have no content so they resort to topics like this where they don't have to say anything.
@@IvanRandomDude Are you a joke! Max has been generated tones of contents and tons of courses on Udemy, RUclips etc. for 10 years at least. You should search on Google before write a meaningless comment.
People are seemingly exhausted on anything Javascript and I see a lot of pivoting to php/laravel and Django
LARAVEL
Easy, Rails is the best!
Django has all batteries includes. It has everything baked in and a lot of great packages like DRF.
I love your content. Please consider making a course on AdonisJS.
I think like you said that like adonis.js, batteries included, frameworks we need for javascript community. Flexibility is good but after a point it can do more harm than good. In my opinion NestJS is our batteries included backend solution. I wish NextJS had offered a NestJS-like option as a backend solution.
Why not just use Nest for the backend and Next for the frontend?
@lardosian: Because then it‘s not batteries included anymore and you are back gluing things together.
Next course LARAVEL ??
Hey Max, just wanted to thank you for your old course for Nuxt (2), which was a good start for my Nuxt journey back in a days. 👍Which is still framework of choose for a web for me, Nuxt 3 now ofc. 💪
How can you ignore the competency of Django.
Maybe one of the reasons why JavaScript devs never really liked AdonisJS is its rigidly organized structure. After all, JavaScript devs do love their daily dose of messy dependencies that constantly get updated or buried in favor of new frameworks that appear every week 😂
Unlike PHP devs who love consistency and structure hence why they love Laravel so much 😉
Yeah that's why I hate js ecosystem its so unstructured
And so the reason Ember is not loved
The world is strange. Everyone says php is dead but are all secretly using it.
All about business and hosting
One issue with JavaScript is that it's mandatory for web development. While you can choose other languages, you still have to use JavaScript. Previously, I used Laravel, which is an amazing framework. However, as a solo developer, writing in two languages didn't feel efficient. So, I moved fully to Next.js with TypeScript, and using it with tRPC for full-stack type safety has been the best experience I've had.
In my opinion, if you are a solo developer or have a small team, TypeScript is the best choice in the long run. Laravel and other MVC frameworks might be easy to start with, but once you have spent some time in the TypeScript ecosystem, you can move faster than with any other tech stack.
@@d-ioannidis Laravel Inertia Svelte are a great stack
Complete opposite opinion over here, if your a solo dev Laravel is your saving grace! And with Livewire/Volt it’s even better.
@@scott_itall8638 i had the similar opinion before. While Livewire can do the job . If you have to create a modern complex user interactivity and js framework like react will make your life much easier.
Nest has 65k stars and nobody talks about it, why?
what is often ignored, but important on the longer run of the app:
upgrading laravel is too wonky, and it goes too fast in release cycles. (lots of breaking changes each version). constrast that to django, which is slower in new releases, and between versions has far less breaking changes over time. (and more documentation on upgrading, in a more concise manner)
Adonis is super underrated
Adonis is a great option in JavaScript ecosystem I recently stumbled on and it's amazing and have a lot of features built-in and is just like Laravel but for JS. I don't have to start installing a bunch of libraries or anything.
People spend more time debating which framework to use than building things. Here's the thing. If you are good developer you will build awesome things with Vanilla PHP and JQuery (like Levels). But if you are mediocre not even the most batteries included and modern framework will help you.
Javascript is great until you see the php guys(Taylor Otwell) with Lambo
Laravel ist eine Komplettlösung
use nuxt
Back to PHP? Ahhhhhhhhhhhhh. Why do I need to learn so many things to do the same things.
Welcome to Laravel guys!
You'll love it 👌
For blazingly fast backend I personnaly prefer Rust (Axum + SeaORM + ...) . And indeed, Adonis JS
is something that deserve more exposure, at first sight.
what are you doing in your backend that needs rust?
The slowest decide the speed. For an application, it is not the backend framework but DB & DB Queries
How can you ignore the competency of Django.
Yeah he is stupid
No speed comparisons, mentions Django just 5 seconds, just mumbling and mumbling about what you've used and not used. Then starts talking about a goddamn javascript framework while the other 2 in your title are for backend.
You also repeat yourself a lot man. These 11 minutes were a drag and now I still haven't seen any in depth comparisons. What even is the point of this video?
Phoenix is also unpopular
Used to use next.js but choose “remix run” now every time… never looked back 😊
Angular + Nest.js ❤
Laravel is great, as well as Spring and NestJS
Spring is great for backend but it really lacks modern frontend capabilities. It is still stuck with 2000s templating.
Laravel + Filament = Strong! And laravel 74M$ is best!