4 ms·
There's a clear philosophical difference between a framework like NextJS and Rails/Django/Laravel. The former takes the approach of expecting users to integrate
by vimota 2y ago
There's a clear philosophical difference between a framework like NextJS and Rails/Django/Laravel. The former takes the approach of expecting users to integrate various third party libraries (ie. Prisma, PassportJS, ReactAdmin, etc) while the latter has it a lot of features built in as framework primitives and defaults.
Some of those features:
* ORM and DB migrations
* Auth
* Admin interface
* Form handling and validation
* Email sending
* Background jobs
Which is why you end up needing so many different SaaS templates for Nextjs that tie all these different libraries together into a pre-built package.
- aosaigh 2y ago"Convention over configuration" and it seems to be a dying philosophy unfortunately. Ember.js is probably the closest in the JavaScript world.
- hot_town 2y agoExactly. Wasp, https://wasp-lang.dev https://wasp-lang.dev, is the only framework in the React/Node/Prisma space that's taking this opinionated approach to full-stack development. For example, you get full-stack auth by just adding this to your config file: `auth.methods: { email: {}, google: {} }` Then you on-the-fly Auth UI components and all the necessary hooks