4 comments

[ 4.3 ms ] story [ 18.6 ms ] thread
Why would I use this instead of Redwood?
It appears to be using PHP on the server side. So if you’re coming from laravel this may be attractive.
It's actually framework agnostic, but the popular players right now are the "Rails-esque" projects. Ruby, PHP, and Python all have robust adapters, with other maintainers providing ports of the protocol to a dozen other languages.

At the end of the day, Inertia is a standardized way to use your backend as a router in conjunction with a JS driven frontend.

This allows you to use server side features like session auth, job dispatches, and mostly normal form requests, without adding the complexity and duplication of a JS based router.

One of the reasons is that you get a real backend framework. With all the security stuff, authentication, database access, validation, background jobs, command line tasks, translations, emails, caching, etc, etc, etc.