charlieharper
Expert Member
With all the hype being around static frontend framework SPA's like React / Vue and separate backend API's (usually written in Node) these days, does it still make sense to build new web applications with traditional full stack frameworks like Django, Laravel & Rails?
My 2cents:
The last since 2016 I've been building apps mostly in Django and sometimes Rails.
Then came 2018 and I starting learning React + Nodejs and it's absolutely lovely and I almost exclusively used that for every project - I built quite a few applications used internally by businesses (think SaaS) -- Frontend SPA is being served statically with Netlify and backend runs on Heroku. For a few landing pages, I've used GatsbyJS to build SEO friendly static react apps (think blogs).
But then upon starting a new personal project a few weeks ago, whilst staring at the default React page after running
By design, what I'm about to develop would not be internal software, it will have user auth, and it would be great if a good amount of auto generated sub pages got thoroughly crawled by Search Engines (eg Google), even though data can change pretty dynamically, etc.
Initial thought to setup React as a Server Side Rendered (SSR) application... But it looked rather painful and figured learning to set that up + deploying might not be worth the time.... Then I looked at NextJS, which looks like a great React Framework, but from reading the documentation, the server side state management, combined with SSR authentication, also not the smoothest process yet, I figured it might be a bit too much. Probably overkill.
Then I resentfully installed Python and Django, just to play around and see if I can remember how to use Django templates & vanilla javascript and dare me to say, jQuery.... then I ended up building the entire web app in no more than 30 hours and it works absolutely great, no regrets, does exactly what I want it to do, Google picks up all the pages beautifully and it's incredibly stable.
About to deploy it to production.
This totally made me realise that even with all the hype around the SPA's and JAMStack, perhaps, full stack frameworks still have its place - or am I being stupid for thinking that?
My 2cents:
The last since 2016 I've been building apps mostly in Django and sometimes Rails.
Then came 2018 and I starting learning React + Nodejs and it's absolutely lovely and I almost exclusively used that for every project - I built quite a few applications used internally by businesses (think SaaS) -- Frontend SPA is being served statically with Netlify and backend runs on Heroku. For a few landing pages, I've used GatsbyJS to build SEO friendly static react apps (think blogs).
But then upon starting a new personal project a few weeks ago, whilst staring at the default React page after running
npx create-react-app app I was suddenly rethinking Frontend Javascript frameworks. By design, what I'm about to develop would not be internal software, it will have user auth, and it would be great if a good amount of auto generated sub pages got thoroughly crawled by Search Engines (eg Google), even though data can change pretty dynamically, etc.
Initial thought to setup React as a Server Side Rendered (SSR) application... But it looked rather painful and figured learning to set that up + deploying might not be worth the time.... Then I looked at NextJS, which looks like a great React Framework, but from reading the documentation, the server side state management, combined with SSR authentication, also not the smoothest process yet, I figured it might be a bit too much. Probably overkill.
Then I resentfully installed Python and Django, just to play around and see if I can remember how to use Django templates & vanilla javascript and dare me to say, jQuery.... then I ended up building the entire web app in no more than 30 hours and it works absolutely great, no regrets, does exactly what I want it to do, Google picks up all the pages beautifully and it's incredibly stable.
About to deploy it to production.
This totally made me realise that even with all the hype around the SPA's and JAMStack, perhaps, full stack frameworks still have its place - or am I being stupid for thinking that?