Laravel, Django, Next.js ... which framework would I use for building a SaaS?
Вставка
- Опубліковано 20 сер 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
Have been working on Next and Laravel simultaneously.. Laravel is 🔥 on the Web based software solutions.
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.
@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
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!
PHP and Laravel course, Max??
I did ask... No reply as yet...
Laravel Is 🔥
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. 💪
Django has all batteries includes. It has everything baked in and a lot of great packages like DRF.
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
Laravel my lovely 😍 Framework. I left the MERN Stack because if that fragmentation which suck 😅😅
I would really love to see you do a tutorial on NestJS.
No, NestJS sucks ass. He should be looking at Deepkit instead.
Hello Max,
First of all, I want to thank you for this amazing video!👍
I agree with you regarding the things that bother me in the JavaScript work environment, especially with Express.js.
Most of the time, you're forced to use external libraries, and each of these libraries has its own dependencies.
This puts you at the mercy of the developer, who might wake up one morning and change the library structure, forcing you to rewrite your code.
Also, there are frequent conflicts during updates, where some libraries work and others don't, which is really exhausting!
It's the first time I've heard about the "adonisjs" project. It seems to do everything a developer needs. I really appreciate you mentioning it!
Honestly, I'm not sure if this project is stable and suitable for large projects or if it's still under development.
Of course, I hope you create a course on this framework "adonisjs." Despite its strange name, it might solve a problem in the JavaScript community by allowing for headache-free programming 😄
Best regards,
Waiting on that Laravel course!! 🔥
Django, alphine, htmx gives me peace of mind from refactoring breaking changes every month
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.
I love your content. Please consider making a course on AdonisJS.
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,
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.
Chose Django & Rest Framework with NextJS and never looked back.
Absolutely 💯
That stack deserves an award 🏆
I alway choose Django + DRF & Ember
Obviously Laravel 🔥
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)
The true mentor ... This is one that make sense on tech
People are seemingly exhausted on anything Javascript and I see a lot of pivoting to php/laravel and Django
Waiting for the PHP and Laravel course !!! Hoping to create separate course for PHP and Laravel 💕💕🥳🥳💯💯💯💯
The best framework is no framework, levels would say that! Finally, getting the job done is the best framework!
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.
I think django rest framework DRF with next js is best as django provides admin panel and next js is for SEO
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.
Easy, Rails is the best!
Used to use next.js but choose “remix run” now every time… never looked back 😊
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
Symfony is another great php framework
Spring Boot is the best choice 😀
Django is suitable for Fintech and e-commerce where I am majorly.
You can build this with any framework. I prefer laravel
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
Welcome to Laravel guys!
You'll love it 👌
Tried em all, Laravel is the GOAT!
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.
Nest has 65k stars and nobody talks about it, why?
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.
How can you ignore the competency of Django.
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
Spring boot + Hilla is 🔥
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.
I'm addicted to Laravel l use it even for small project
Next course LARAVEL ??
And about Nuxt.js?
Its really good Nuxt3 btw.
So build SaaS course in laravel hopefully coming soon. Let's go!!!!
Angular + Nest.js ❤
The world is strange. Everyone says php is dead but are all secretly using it.
What you think about NextJS, Typescript, Mongo DB?
just one question: spring boot or laravel?
I prefer laravel and I don't mind use javascript as well for the frontend. Laravel is just so solid for backend, and for just simple interactivity, I can use alpine and livewire.
The eternal never ending question
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 is the greatest framework ever made! Roast me for that. 😆
before i watch the video, here is my take
the best framework is the one that gives you job and money to support your life / family
Dear maximilian plz prepare a full next js 14 course , please, with greate thanks
Why not sveltekit?
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.
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, UA-cam etc. for 10 years at least. You should search on Google before write a meaningless comment.
This is the first time I hear about adonisjs
Nest.js & React.js
I would be interested in the adonis course
Hey maximilian :)
We love you courses and the way you teach. (from a geography no-one can think of :D "IRAN" )
We love to see your courses on Laravel topic ASAP.
laravel is best, but vanilla php and symfony is underrated :) in many cases I would pick symfony.
I would welcome an 🌟 Academind 🌟 Laravel/PHP course, and I reckon there's a good demand for it as well. 😎
lavarel is php. it may be problem, introducing new language to stack
Ruby on Rails ❤
I don’t understand this take that JS has too many options. You cannot avoid JavaScript if you are working on the web. You will have to make JS choices regardless. The question is do you also want to make Python, Ruby and PHP choices as well? Choosing an ORM for JS is much easier than trying to be good at 2 languages at the same time
yeah i dont understand these guys. use java then losers
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
Any recommendation for nextjs course please ?
The dad from Enico Man is teaching to code too I see
Do you have a course of hosting nodejs, MySQL using aws?
I like Nuxt (Vue) amazing DX
We need a Qwik course, there are no good ones out there that build real portfolio projects.
Very good to see you coments Maximilian, i'm from Brazil and all courses that i have i study with you. For me i Love Laravel and i will never change for any framework out there, i have all the features that i want and of course i need a good JS for the front, so i just choose Vue.js because of the easy sintax.
For me is
I need SSR? Inertia with Vue.js or Nuxt 3 with Laravel on backend
I need only back? Laravel
And is just simple as that!
My current favorite thing is Go with react or HTMX.
Dear max please provide a course on udemy for laravel also updated php and my sql
i just use jquery
Adonis is super underrated
I'll check adonis! I'll give it a chance!
Definitely Laravel, for simplicity sake
LARAVEL
What about NestJS?
Nextjs is garbage for backend. I can't use it for backend I only use it for front end
You just nail it
Do a blazor course pls
hell nah
Why would you want a Blazor course from a person that probably never heard of Blazor?
Use IMO one more time in the comments! I dare you!
Laravel ist eine Komplettlösung
use nuxt
Waiting for rust course and laravel course!!!!
Nodejs?
Javascript is great until you see the php guys(Taylor Otwell) with Lambo
Laravel with Livewire anytime best combo
You forgot .Net Core from Microsoft. Which is also best
Phoenix is also unpopular
For me if i want build a big saas app i will use ruby on rails, for a small app i will use Laravel
Love the ideas of Laravel, but hate PHP 😢. Its such an akward language