Front-End Focus - 🔥 What is a full-stack framework?
There's been a lot of discussion in the web space lately on what a full-stack framework actually is. On one side there's the "traditional" full-stack frameworks like Laravel (PHP), Ruby on Rails (Ruby) and Django (Python). These frameworks come with batteries included, and an opinionated way to manage your database, render templates with SSR using a built-in templating language and much more. I'd say they started with a focus on the heavy backend stuff, and have had many years to grow and mature. Then there's the alternative approach, where you use a JS-based framework like NextJS or NuxtJS to build your entire application. These frameworks have started the other way around, with a focus on the UI and then added more and more support for doing serverside work. This includes stuff like API routes and server components, which are basically different ways to run code on the server so you can access your DB and perform other serverside tasks. This is how I like to think about the different approaches all of these frameworks are coming from: The SSR frameworks started from the backend and got really good at all of that. They’ve then later embraced tools like InertiaJS to allow rich client-side interactivity with JavaScript. Frameworks like Next and Remix instead started from the frontend, like how we can build high fidelity web apps with awesome UX first - and then started worrying about solutions to authentication and databases afterward. Both obviously have their own advantages and disadvantages. Tools like Laravel and Rails are more feature complete, and generally adhere to certain design patterns within the framework. This means that almost every Laravel or Rails app will seem familiar - making it easier for devs to jump between projects. It also makes it easier to build stuff as a single developer because you don’t have to make a lot of decisions on the “boring” stuff (like setting up authentication and your basic database structure) because the framework has already made those for you. On the other hand, frameworks like Next or Nuxt or Remix come with fewer “batteries included”. They allow you to run code on the server (making them technically “full-stack”), but they don’t have an opinion on which database you choose, how you communicate with it, what you do about authentication or how you send out emails. This can be a good thing, because the developer is free to select the tools that he or she most enjoy working with and that solve their individual problems the best. But it also means there’s a lot more variety, and two different Next apps can look vastly different. Being a front-end developer myself, I love how easy it is to build really good UI’s with JavaScript using tools like React and Vue. But I also see a lot of value in starting with something like Rails or Laravel if your goal is to ship a fully functioning product as soon as possible. Because that’s where the opinionated approach really shines and enable developers to build cool stuff much faster. I don’t really have a solid conclusion to leave you with, other than that you should absolutely, 100% of the time pick the tool you most prefer and that solve your problems most effectively. There’s not a “right” or “wrong” choice in this debate - at least once you understand where both sides are coming from. Though I’m personally super excited to see how the JS-based metaframeworks continue to evolve and tackle the remaining set of problems in order to build great full-stack experiences. It does feel like Next, Nuxt, Remix etc. are just getting started, and they’ve obviously had way less time to mature than their Rails or Laravel counterparts. So if you’re coming at it from that side and enjoy these tools, I think the future looks very bright. And if you’re curious to learn more, this podcast episode features the creators of Laravel and Remix and is a great listen to really understand the nuance and where these different frameworks are coming from: That's all for now - thanks for reading! See you in 2 weeks 👋 If you enjoyed today’s newsletter, why not share it with your friends! Either by forwarding this email, or by posting about it on LinkedIn, X or Facebook. You can also simply copy/paste the link mads.fyi/fef on other platforms. It really helps to keep me motivated and let the newsletter grow 🙌 — Mads Brodt |
Older messages
🔥 The Modern Front End Developer
Wednesday, May 1, 2024
Front-end development has evolved a lot over the years. In the earlier days of the web you only really had to understand HTML and CSS to be a hireable front-end developer. Then we started adding more
🔥 How to: Land a front-end job
Wednesday, March 27, 2024
Landing a front-end job is hard. We've had an open position at my company for about 3 weeks now, and it's gotten almost 100 applicants. That's a lot of competition, no matter how good of a
🔥 TailwindCSS v4
Wednesday, March 13, 2024
If you've been following the newsletter for awhile, you know that I'm a big fan of TailwindCSS. And I'm not alone. In the 2023 State of CSS survey, Tailwind scored in the very top on both
🔥 Escaping "Tutorial Hell"
Wednesday, March 6, 2024
If you're just starting out on your coding journey, it's tempting to follow a lot of tutorials. They show you what to code, they teach you the concepts, and you get to code along with them.
🔥 Learning how to learn
Wednesday, March 6, 2024
Development is one of the fastest changing industries on the planet. There's always new languages, frameworks, libraries or tools coming out. Of course you're not expected to know all of these,
You Might Also Like
🤝 The Biz Buyer’s Guide to Risk (Without Going Insane)
Tuesday, October 29, 2024
Inside: 1 awesome event, 1 key lesson for biz buyers to know, and 1 great meme Main Street Minute Newsletter Header (4) (1) Biz Buyers, This is where we share some of the best tips, tools, and ideas
Ebook Many Devices: A Second Chance with My Grumpy Detective: A Next Door - Lovers Romance
Tuesday, October 29, 2024
Contemporary Romantic Suspense Welcome to ContentMo's Book of the Day "This book isn
A Brief History of Art Collecting
Tuesday, October 29, 2024
Your weekly 5-minute read with timeless ideas on art and creativity intersecting with business and life͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
The Batman of Baltimore
Tuesday, October 29, 2024
This actually isn't a Halloween story.
Don’t Wait for the Breakup
Tuesday, October 29, 2024
Write your exit options now. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
🧙♂️ 3 surprising truths about breaking free from the 9-5 grind
Tuesday, October 29, 2024
Why I gave this "creator thing" my best shot ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
For Authors: Audio Book Promos 🔊 Tweets & FB group posts • 60 Day orders save 15% +
Monday, October 28, 2024
Affordable Audio Book Promos Enable Images Audiobook Promos for Authors & Publishers CHOOSE
Connect GA4 to BigQuery for greater insight and analysis📈
Monday, October 28, 2024
Fred Pike walks you through a tutorial for how to set up a free BigQuery account and connect it to GA4. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ Learn How to Set Up a
An exclusive invitation: ⭐ Deal Analysis & Evaluation With Codie ⭐
Monday, October 28, 2024
Don't miss this! Happy Monday Crew! Who's up for a little Deal Analysis tomorrow night? It's all going down @6pm CT tomorrow night and I want YOU to be there! We're doing something we
🧙♂️ Do you need a "signature" talk?
Monday, October 28, 2024
Prepping for a podcast tour ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏