5 ms·
We've come to the point that being able to run code and render html on a server is considered a new feature (aka SSR and serverless functions). I recently watch
by yagodragon 6y ago
We've come to the point that being able to run code and render html on a server is considered a new feature (aka SSR and serverless functions). I recently watched the Next.js conf and i couldn't help but giggle.
-Do you want functions?
Use our proprietary platform
-Do you want to store content?
Use cloudinary, aws
- Authentication?
Auth0,firebase
- Database?
Use FaunaDb and our super cool new query language that nobody knows and cares about.
> Congratulations. You've built your new webapp on Jamstack. Now you have to manage large bills across hundreds of 3rd party services, vendor lock-ins. Also good luck trying to reproduce all that on a development machine or organize your code.
On the other hand you can just: laravel new project-name --jet and deploy on a single linux machine or heroku and you get:
-Robust and customizable Auth, password reset, 2fa
-A serious db like PostgreSQL and an orm
-SSR by default with 0kb bundle size!
-Any css tool you need
-Easy APIs, tokens and permissions
-Truly open source.You have full control of your code and data
So yeah it's just a command but yikes, who uses PHP in 2020, right?
- bgdkbtv 6y agoExactly! FaunaDB was the recent topic of discussion and I was like oh here we go again... > So yeah it's just a command but yikes, who uses PHP in 2020, right? Lol yeah, but PHP 8 is looking really nice
- gherkinnn 6y ago> Now you have to manage large bills across hundreds of 3rd party services, vendor lock-ins. A nightmare. That said, I don't see any major problems in using Next with a monolithic BE. It's a viable tool to get things done.