5 ms·
> For those who can't live without a framework: What would you miss? The thing I miss the most is a good component and state abstraction. That's it. I would b
by ratww 7y ago
> For those who can't live without a framework: What would you miss?
The thing I miss the most is a good component and state abstraction. That's it.
I would be very happy using ASP.NET WebForms today: components are rendered 100% in the server but the state is persisted by the client using a <input type=hidden> field. The server can be 100% stateless.
Too bad it is impossible to convince anyone to pick up ASP.NET WebForms in 2020 :)
Modern backend frameworks such as Rails and Django have similar "component-ish" helpers, but those always fall short of the capabilities of both React/Vue and ASP.NET WebForms, and you have to worry about state by yourself.
Phoenix Live View is cool, but needs a stateful server, requires JS and polyfills up the wazoo. At this point I'd rather use Vue or React.
- keithnz 7y agopart of our code base is a bunch of webforms, it really does work quite well and surprisingly easy to work with in many cases. Would've been interesting if they had kept innovating around the concept.
- aliswe 7y agoAspnetcore Razor pages is basically web forms with cshtml, if you ask me...
- ratww 7y agoThat's true. I've been out of the MS ecosystem for ages, but I keep forgetting about Razor Pages. Components in Blazor actually look like Svelte, or maybe it's the other way around.