Live data from Hacker News

Ask HN: Web frameworks – which less popular frameworks are you using and why?

news.ycombinator.com

11–20 of 148 posts

Re: Ask HN: Web frameworks – which less popular frameworks are you using and why?

#11
Rust: Warp.

I like Warp because it's akin to a layer on top of Hyper (for HTTP) and Tokio (for async), and can go down into these deeper layers as you wish.

I'm using Warp now because I'm trying all the Rust web frameworks. I like Rust Actix for larger production projects that favor a more-long-term ecosystem. I like Rust Rocket for its user-friendly ideas and superb tutorials for onboarding.

Re: Ask HN: Web frameworks – which less popular frameworks are you using and why?

#12
I've tried FastAPI recently, as the idea matured, I came to regret the decison. It's not bad, in fact it was very pleasant to get started with, yet I found myself missing and reinventing the wheel as compared to django. I develop with Django since 2015 (1.6 or so), to me it is the goto for any web related project.

I used to think my distaste for new and upcoming Javascript frameworks is a sign of getting old and not being as adaptable as I used to. But nowadays my thinking has shifted to seeing it as a instant loss of productivity with little upside.

Just like musicians don't switch instruments every time they see something shiny. Neither should we, or at least without feeling guilty about it. Mastery takes time.

Re: Ask HN: Web frameworks – which less popular frameworks are you using and why?

#14
i used django and odoo previously. now i am working on a project that uses a new common lisp web framework gui called clog [0]. it is websocket based so singlr page applications are no problem. it is awesome because it is very flexible and common lisp has unrivaled repl driven development

[0] https://github.com/rabbibotton/clog

Re: Ask HN: Web frameworks – which less popular frameworks are you using and why?

#15
For SPAs I still use Backbone.js... Yes, I know, 2014 called and it wants its framework back. But... I like it. It's lightweight and doesn't impose any particular style or philosophy. It's well suited to small projects.

On the back end, for small projects, using a full-fledged framework is usually overkill. Writing a simple API that reads and write normalized data is quite trivial, and when one is writing everything it's easier to understand what's going on.

By this I mean that some behaviors come from the framework and can sometimes surprise you. For example, in Backbone, change events on the model are triggered not when an instance is updated, but only if the new version is different from the old. This makes sense, but the problem is that the comparison is only done on a shallow level. When updating deep properties, no change event is triggered. This took me some time to figure out.

Light frameworks have fewer unexpected behaviors, by virtue of being small.

Re: Ask HN: Web frameworks – which less popular frameworks are you using and why?

#16

I've tried FastAPI recently, as the idea matured, I came to regret the decison. It's not bad, in fact it was very pleasant to get started with, yet I found myself missing and reinventing the wheel as compared to django. I develop with Django since 2015 (1.6 or so), to me it is the goto for any web related project. I used to think my distaste for new and upcoming Javascript frameworks is a sign of getting old and not…

I couldnt agree more with this statement. FastAPI was good for the prototype. Then when you want to go and do something a bit more complicated, it becomes a hinderance more than a help.

Re: Ask HN: Web frameworks – which less popular frameworks are you using and why?

#17
I use http://rivetsjs.com/ in a production intranet project. At the time I started using it I wanted a lightweight alternative to angular/vuejs. I didn’t want the junior devs at the customer to have to learn webpack, etc, but I did want two way data binding, and wanted as lightweight as possible. It has met those needs, and more - it supports creating web components so has let me do reusable code bits also. My main gripe is it’s somewhat stagnant, and there isn’t the ecosystem of components and help like vue or angular.

Still, I’d recommend it for small projects where you need binding.

Re: Ask HN: Web frameworks – which less popular frameworks are you using and why?

#18
I'm using Mapless [1] for persistency in Smalltalk. And Svelte for a multi-platform frontend app I'm working on [2]. It's a local or remote native Smalltalk IDE.

[1] https://github.com/sebastianconcept/Mapless [2] https://github.com/sebastianconcept/lobster-ui

Re: Ask HN: Web frameworks – which less popular frameworks are you using and why?

#19
post #15

For SPAs I still use Backbone.js... Yes, I know, 2014 called and it wants its framework back. But... I like it. It's lightweight and doesn't impose any particular style or philosophy. It's well suited to small projects. On the back end, for small projects, using a full-fledged framework is usually overkill. Writing a simple API that reads and write normalized data is quite trivial, and when one is writing everything…

My man! Another backbone.js user. It's so simple to standup an webapp with backbone I don't know why more people don't use it.

Re: Ask HN: Web frameworks – which less popular frameworks are you using and why?

#20

PHP: CakePHP This was the very first framework I learned when I first learned PHP, and it has always just been so incredibly _easy_ to accomplish most common MVC tasks that I've stuck with it. I've become quite the expert in the framework over the years, even managing to make it bend quirky ways that it was not meant to in service of business goals. That has made me an extremely valuable resource for companies using…

The cakePHP website uses (almost) white font on white background, doesn't work in Reader mode, and many links point to 404s (eg: https://api.cakephp.org/4.3/namespace-Controller.html)... Is it still maintained?
Post reply on HN